聚合函数不能在where中使用。
差集关键字
minus 差集
并集关键字
union all 不过滤并集
union 过滤并集
ps:mysql没有全连接,通过union关键字实现,中间不用加join
交集关键字
intersect 交集
交叉连接
cross join 笛卡积
等值连接与不等值连接
都是 join on 后面判别条件不同。
聚合函数不能在where中使用。
差集关键字
minus 差集
并集关键字
union all 不过滤并集
union 过滤并集
ps:mysql没有全连接,通过union关键字实现,中间不用加join
交集关键字
intersect 交集
交叉连接
cross join 笛卡积
等值连接与不等值连接
都是 join on 后面判别条件不同。