DQL語言之排序查詢

1、語法 select 查詢列表 from 表 [where 篩選條件] order by 排序列表 【asc}desc】 1,eg:查詢員工信息,要求工資從高到低排序 select * from employees order by salary desc;函數 2,eg:查詢部門編號>=90員工信息,按入職時間的前後進行排序【添加篩選條件】 select * from employees wh
相關文章
相關標籤/搜索