备忘:
可以理解为,供过于求,你或你的表所需要的字段个数小于你通过sql语句给出的字段个数
--查询,A/B关联 --正常情况: select a.* from A a where a.aid in (select b.aid from B b where 1=1); --报错情况 select a.* from A a where a.aid in (select b.bid,b.aid from B b where 1=1);
备忘:
可以理解为,供过于求,你或你的表所需要的字段个数小于你通过sql语句给出的字段个数
--查询,A/B关联 --正常情况: select a.* from A a where a.aid in (select b.aid from B b where 1=1); --报错情况 select a.* from A a where a.aid in (select b.bid,b.aid from B b where 1=1);
转载于:https://www.cnblogs.com/of-course/p/8572180.html