^_^ error message ^_^
select g.id,g.title,g.pic,c.price from dp_shop_goods as g left join dp_shop_goods_child as c on g.id=c.gid where g.is_deleted=1 and g.id in(6,5,2) group by g.id
Expression #4 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'smshop.c.price' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by