zoukankan      html  css  js  c++  java
  • 【MySql】语法学习

    【MySql】语法学习

    ==========================================================

    1、join 链接

    ==========================================================

    1、join 链接

    官方文档:https://dev.mysql.com/doc/refman/8.0/en/join.html

    table_references:
        escaped_table_reference [, escaped_table_reference] ...
    
    escaped_table_reference:
        table_reference
      | { OJ table_reference }
    
    table_reference:
        table_factor
      | joined_table
    
    table_factor:
        tbl_name [PARTITION (partition_names)]
            [[AS] alias] [index_hint_list]
      | [LATERAL] table_subquery [AS] alias [(col_list)]
      | ( table_references )
    
    joined_table:
        table_reference {[INNER | CROSS] JOIN | STRAIGHT_JOIN} table_factor [join_specification]
      | table_reference {LEFT|RIGHT} [OUTER] JOIN table_reference join_specification
      | table_reference NATURAL [INNER | {LEFT|RIGHT} [OUTER]] JOIN table_factor
    
    join_specification:
        ON search_condition
      | USING (join_column_list)
    
    join_column_list:
        column_name [, column_name] ...
    
    index_hint_list:
        index_hint [, index_hint] ...
    
    index_hint:
        USE {INDEX|KEY}
          [FOR {JOIN|ORDER BY|GROUP BY}] ([index_list])
      | {IGNORE|FORCE} {INDEX|KEY}
          [FOR {JOIN|ORDER BY|GROUP BY}] (index_list)
    
    index_list:
        index_name [, index_name] ...
  • 相关阅读:
    字符串时间+8个小时
    Django的field字段与参数介绍
    celery+Django
    二分查找
    排序算法
    socket套接字
    网络七层协议简述
    ORM操作mysql数据库多表的增删改查
    ORM操作mysql数据库
    Django框架静态文件配置和URL解析
  • 原文地址:https://www.cnblogs.com/yangchongxing/p/12696223.html
Copyright © 2011-2022 走看看