Top

1140 - In aggregated query without GROUP BY, expression #1 of SELECT list contains nonaggregated column 'peake_website.pg.group_id'; this is incompatible with sql_mode=only_full_group_by

SELECT pg.group_id, pg.group_description, pg.group_name, count(*) as total FROM products_to_groups ptg, products_groups pg WHERE ptg.group_id = pg.group_id AND ptg.product_id = 1579

[TEP STOP]