Fatal error: Uncaught exception 'Exception' with message 'PDO Error: SQLSTATE[42000]: [Microsoft][SQL Server Native Client 11.0][SQL Server]Sintassi non corretta in prossimità della parola chiave 'GROUP'. Query: SELECT g.id_gruppo AS id,gruppo_it AS gruppo, count(*) AS n FROM annunci AS a LEFT JOIN Modelli AS m ON m.id_modello=a.id_modello LEFT JOIN Gruppi AS g ON g.id_gruppo=a.id_gruppo LEFT JOIN Annunci_Veicoli AS av ON av.id_annuncio=a.id_annuncio WHERE a.id_genere=1 AND a.id_tipodelete=0 AND av.v_provincia= GROUP BY g.id_gruppo,gruppo_it ORDER BY gruppo ASC' in F:\inetpub\tinymvc\sysfiles\plugins\tinymvc_pdo.php:502 Stack trace: #0 F:\inetpub\tinymvc\sysfiles\plugins\tinymvc_pdo.php(449): TinyMVC_PDO->_query(' SELECT g.id_g...', NULL, 2, NULL) #1 F:\inetpub\webs\piattaforma.2015\myapp\models\annunci_model.php(467): TinyMVC_PDO->query_all(' SELECT g.id_g...') #2 F:\inetpub\webs\piattaforma.2015\myapp\controllers\annunci.php(708): Annun in F:\inetpub\tinymvc\sysfiles\plugins\tinymvc_pdo.php on line 502