信管网 > 设供应商供应零件的关系模式为SP(Sno,Pno,Qty),其中Sno表示供应商号,Pno表示零件号 > 网友跟帖  
 

设供应商供应零件的关系模式为SP(Sno,Pno,Qty),其中Sno表示供应商号,Pno表示零件号[查看全文]

 
 

以下网友评论只代表 信管网网友 个人观点,不代表信管网观点 [发表评论]

 
网友最新跟帖 评论共 0[发表评论]

信管网cnitpm606012210***:   [回复]
解析: select sno from sp where sno in (select sno from sp where pno in(select pno from sp where sno=“168“)); 或者: select sno from sp spx where exists (select * from sp spy where spy.sno=1168“ and exists (selectfrom sp spz where spz.sno=spx.sno and spz.pno=spy.pno));

信管网cnitpm606012210***:   [回复]
解析: select *from sp where sno in (select sno from sp where pno in(select pno from sp fromsp where sno=“168“)); 或者: select *from sp spx where exists (select * from sp spy where spy.sno=1168“ and exists (selectfrom sp spz where spz.sno=spx.sno and spz.pno=spy.pno));

共有:0条记录,每页20条,当前第1/0页,首页 上一页 | 下一页 尾页
 
  发表评论  
 
 点击刷新 请输入显示的内容