關於子查詢中的order by子句

關於子查詢中可否用order by子句,有如下兩種狀況:sql 第一種例如:oracle select a.col1 from a where a.col2 in (select b.col2 from b order by b.col1);這種狀況下子查詢只是一個集合,並不須要進行order by。 第二種例如:code select a.col1, b.col2 from a left joi
相關文章
相關標籤/搜索