语法:

  1. select
  2. from 表1 别名 【连接类型】
  3. join 表2 别名
  4. on 连接条件(92语法是用where)
  5. 【where 筛选条件】
  6. 【group by 分组】
  7. 【having 筛选条件】
  8. 【order by 排序列表】

连接类型:

内连接:inner
外连接
左外:left 【outer】
右外:right【outer】
全外:full 【outer】
交叉连接:crose

详情在子目录…