備忘:
可以理解為,供過於求,你或你的表所需要的字段個數小於你通過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);
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。