2017年12月3日

摘要: x.a必须是唯一的,才能改写成join的语句。 select * from x where a in (select a from y ); select distinct x.* from x join y on x.a=y.a; 已经能满足大多数场景。 二、一对多 only_full_group 阅读全文
posted @ 2017-12-03 16:49 星期六男爵 阅读(1841) 评论(0) 推荐(0) 编辑

导航