SQL Error: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as a WHERE 1=1 ' at line 4 at /home/p/pavelb1r/gme.ru/public_html/plugins/contest/classes/modules/contest/mapper/Contest.mapper.class.php line 161
Array ( [code] => 1064 [message] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'as a WHERE 1=1 ' at line 4 [query] => SELECT SQL_CALC_FOUND_ROWS a.contest_id FROM as a WHERE 1=1 GROUP BY a.contest_id ORDER BY contest_date_create DESC LIMIT 0, 2 [context] => /home/p/pavelb1r/gme.ru/public_html/plugins/contest/classes/modules/contest/mapper/Contest.mapper.class.php line 161 )