输入banner图图片脚本导航/分类

每天学习SQL

table_name FROM information_schema.tables WHERE table_schema=survey170227_main AND table_name !=manager_log

把 survey170227_main 数据库中所有表的表名都帅选出来。

schema:图表、概要、计划

SELECT column_name(s) FROM table_name1
UNION
SELECT column_name(s) FROM table_name2

把两张表结构相同的 表合并在一起

union 排除重复

union all 不排除重复的数据

每天学习SQL

标签:rom   column   and   union all   form   name   表名   select   nio