SELECT column_name(s) FROM table_name1 UNION SELECT column_name(s) FROM table_name2 UNION SELECT column_name(s) FROM table_name3 ...
SELECT column_name(s) FROM table_name1 UNION ALL SELECT column_name(s) FROM table_name2 UNION ALL SELECT column_name(s) FROM table_name3 ...
UNION 内部的 SELECT 语句必须拥有相同数量的列。列也必须拥有相似的数据类型。同时,每条 SELECT 语句中的列的顺序必须相同。