select group_concat(tpbm.banner_id) banner_id,aa.* FROM
(select tapc.page_title,tapmc.* from t_activity_page_module_conf tapmc left join t_activity_page_conf tapc on tapc.id = tapmc.activity_page_id) aa ,t_page_banner_mapping tpbm
where aa.id = tpbm.module_id GROUP by aa.id
and aa.id = '2008250K702344L8094027TKO6TCRBH2' GROUP by aa.id
mysql多表查询时显示附表多条数据
最新推荐文章于 2022-11-07 08:45:00 发布