union与 union all
UNION 语句:用于将不同表中相同列中查询的数据展示出来;(不包括重复数据)
SELECT country FROM Websites UNION SELECT country FROM apps ORDER BY country;
UNION ALL 语句:用于将不同表中相同列中查询的数据展示出来;(包括重复数据)
SELECT country FROM Websites UNION ALL SELECT country FROM apps ORDER BY country;