MySQL: Invalid Query: SELECT * FROM prodotti WHERE categoria='SANTO' AND lin='de' AND vetrina = 0 GROUP BY titolo ORDER BY id_prod DESC SQL error: 1055 (Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'c14_db.prodotti.id_prod' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by)