子查詢+in+exists/not exists+all+any+多列子查詢

子查詢: 將查詢語句做爲外部sql的條件 注意 1子查詢不能使用order by 2多行子查詢能夠返回多行記錄,外部要使用多行操做符(In,exists,any ,all… )web where 或者 having +in ,not in,>,<,<=等等+跟子查詢 ,from後面+跟子查詢sql where sno>(select …) having >(select …) 內聯視圖: sele
相關文章
相關標籤/搜索