mysql排序查詢

一 查詢格式 SELECT 查詢列表 FROM 表名 [WHERE 查詢條件] ORDER BY 排序列表 ASC/DESC 二 例句 1. select * from employees where department_id>=90 order by hiredate; (按單個字段排序) 2. select *,salary*12*(1+IFNULL(commission_pct,0)) a
相關文章
相關標籤/搜索