MySQL#查詢_5

/* 排序查詢 結構:select 查詢列表 from 表 where 篩選條件 order by 排序列表 asc升序,desc降序,不寫默認升序asc */ #查詢員工信息,要求工資從高到低排序 SELECT * FROM employees ORDER BY DESC; SELECT * FROM employees ORDER BY ASC;#從低到高 查詢員工編號大於等於90
相關文章
相關標籤/搜索