gsr
03/11/2023, 3:38 PMselect individual_Ratings.*,count(rating) as tRating from individual_Ratings where productID = 99 group by rating
and my query is giving me an error on this
Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'shopzone1.individual_Ratings.individualid' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Daniel Mejia
03/11/2023, 4:12 PMDaniel Mejia
03/11/2023, 4:12 PMDaniel Mejia
03/11/2023, 4:13 PMDavid Belanger
03/17/2023, 1:31 PMsql_mode=only_full_group_by
as from version 8.
The correct answer is to modify your SQL as has been said by the group but if you can change that flag as a temporary workaround.shawnoden
05/13/2023, 4:47 PM