MySQL学习 - 排序与分页
排序 ORDER BY 使用 ORDER BY 语句,写在 WHERE 句子之后,默认升序排序 mysql> SELECT last_name,salary FROM employees ORDER BY salary; +-------------+----------+ | last_name | salary | +-------------+----------+ | Ols
排序 ORDER BY 使用 ORDER BY 语句,写在 WHERE 句子之后,默认升序排序 mysql> SELECT last_name,salary FROM employees ORDER BY salary; +-------------+----------+ | last_name | salary | +-------------+----------+ | Ols