MySql学习记录-2021年2月17日--union 和 插入数据
摘要:union 联合、合并 应用场景:多个表,没有直接的连接关系,要查询的信息一致 特点: ①列数一致 ②类型,顺序一致 ③去重 使用union all 可以实现不去重 select id, name,age from students where age = 18 union select t_id,
阅读全文
posted @ 2021-02-18 23:40
浙公网安备 33010602011771号