子查詢(嵌套查詢)

即一個select語句中嵌套了另外的一個或者多個select語句 例子: 1.查詢工資比Simth工資高的員工信息 //查Simth的工資 select last_name,salary  from s_emp where lower(last_name)='smith'; //查詢工資比Simth工資高的員工信息 select last_name,salary from s_emp  where
相關文章
相關標籤/搜索