sql查詢教師表中比A部門最低工資高的全部老師

使用自鏈接 使用自鏈接,from teachera, teacherb;而後設置篩選條件(b.dept=’A’ and a.sqlary>b.salary)web select * from teacher a,teacher b where b.dept='A' and a.sqlary>b.salary 使用some或any select name from teacher
相關文章
相關標籤/搜索