MYSQL ERROR: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'photocart5.pc_package_items.pack_item_id' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
Query: SELECT *, SUM(pack_item_qty) AS total FROM WHERE pack_item_package='' GROUP BY pack_item_package