Could not successfully run query (SELECT r.*, fo.hikeid, fo.fb_uid from organizations r, fbuid_to_organization fo where r.rid = fo.rid and fo.fb_uid = '10156187722233485' and r.post_count > 0 group by r.rid ) from DB: Expression #19 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'hike101.fo.hikeid' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by