结果排序
关键字 ORDER BY #列名(默认升序)
ORDER BY #列名 DESC(降序)
JOIN 语句
INNER JOIN(内连接)
内连接是取两个表的共有部分
用例:
SELECT * FROM table_1
INNER JOIN table_2
ON table_1.common_field=table_2.common_field
关键字 ORDER BY #列名(默认升序)
ORDER BY #列名 DESC(降序)
内连接是取两个表的共有部分
用例:
SELECT * FROM table_1
INNER JOIN table_2
ON table_1.common_field=table_2.common_field