QUERY: SELECT * FROM prod_tags INNER JOIN prod_tag_rel ON tag_id = tagr_tag WHERE tagr_prod = 242 GROUP BY tag_id
ERROR: Expression #6 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'fotojap1_foto_jp.prod_tag_rel.tagr_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by