Błąd: | sql |
Treść: | You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '\'2013\' AND MONTH(blo_date) = \'1\' GROUP BY b.id_blo ORDER BY blo_date DESC' at line 3 |
Zapytanie: | SELECT b.id_blo, b.id_user, b.blo_name, b.blo_text, b.blo_date , b.blo_show , COUNT(c.id_bcom) as blo_comments, SUM(c.bcom_accepted) as blo_comments_accepted FROM mcms_blog b LEFT OUTER JOIN mcms_blog_comments c USING (id_blo) WHERE 1 AND `blo_show`=1 AND YEAR(blo_date) = \'2013\' AND MONTH(blo_date) = \'1\' GROUP BY b.id_blo ORDER BY blo_date DESC LIMIT 0,10 |
Plik: | /home/ecreo/public_html/dorzeczni.pl/include/libs/www/blog_entries.php |
Linia: | 52 |
Plik zapytania: | blog/select/select_blog_where_oby_limit |