Error in getAll()
SELECT `2_mercati`.* FROM `2_mercati` WHERE `2_mercati`.`CESTINO` = 'No' AND `2_mercati`.`attivo` = 'Si' AND `2_mercati`.`ID_LINGUA` = '2' AND 2_mercati.ID_LIV_SUP = GROUP BY `2_mercati`.`ID_COUNT` ORDER BY `2_mercati`.`ORDINE` ASC
SQLSTATE[42000]: Syntax error or access violation: 1064 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 'GROUP BY `2_mercati`.`ID_COUNT` ORDER BY `2_mercati`.`ORDINE` ASC' at line 1
#0 /home/www/www.euris.it/www/lib/workup_class.php(99): PDO->query('SELECT `2_merca...') #1 /home/www/www.euris.it/www/site-functions.php(458): workup_class->getAll('SELECT `2_merca...') #2 /home/www/www.euris.it/www/site-functions.php(439): get_competenze(NULL) #3 /home/www/www.euris.it/www/source/mercato.php(7): get_mercato('industries') #4 {main}