A Database Error Occurred

Error Number: 1055

Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'freegames4rest.games_category.category' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by

SELECT `game_id`, `category` FROM (`games_category`) WHERE `game_id` IN ('mahjongg_dimensions_deluxe_tiles_time', 'nightmare_on_the_pacific', 'relic_hunt', 'the_mystery_of_the_crystal_portal', 'fishing_craze', 'little_shop_of_treasures', 'super_collapse_puzzle_gallery', 'diamond_detective', 'super_text_twist') GROUP BY `game_id`