备忘:

可以理解为,供过于求,你或你的表所需要的字段个数小于你通过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);

 

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-11-18
  • 2022-12-23
猜你喜欢
  • 2021-08-28
  • 2022-12-23
  • 2021-05-17
  • 2022-12-23
  • 2021-08-10
  • 2022-12-23
相关资源
相似解决方案