Error in getAll()
SELECT `2_mercati`.* FROM `2_mercati` WHERE `2_mercati`.`CESTINO` = 'No' AND `2_mercati`.`attivo` = 'Si' AND `2_mercati`.`ID_LINGUA` = '1' 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/ PDO->query('SELECT `2_merca...') #1 /home/www/ workup_class->getAll('SELECT `2_merca...') #2 /home/www/ get_competenze(NULL) #3 /home/www/ get_mercato('brand') #4 {main}