MySQL的SQL语句
JOIN 子句 MySQL 对 SELECT 语句和多表 DELETE 和 UPDATE 语句 table_references 部分支持以下 JOIN 语法: 1. table_references: 2. escaped_table_reference [, escaped_table_reference] ... 3. 4. escaped_table_reference: { 5. table_reference 6. | { OJ table_reference } 7. } 8. 9. table_reference: { 10. table_factor 11. | joined_table 12. } 13. 14. table_factor: { 15. tbl_name [PARTITION (partition_names)] 16. [[AS] alias] [index_hint_list] 17. | [LATERAL] table_subquery [AS] alias [(col_list)] 18. | ( table_references ) 19. } 20. 21. joined_table: { 22. table_reference {[INNER | CROSS] JOIN | STRAIGHT_JOIN} table_factor