Home
row query error(SELECT n.*, COUNT(c.id) as comment_count , nn.draft as foreign_draft FROM cms_movies n LEFT JOIN cms_comments c ON n.id=c.obj_id AND c.obj_type='cms_movies' AND c.ln='en' LEFT JOIN cms_movies nn ON n.id=nn.id AND n.ln<>nn.ln WHERE n.id='1093' AND n.ln='en' GROUP BY n.id ): Expression #3 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'kinofestivalis.n.draft' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by