转载:
http://blog.csdn.net/kiqinie/article/details/8132485
select a.Name from Material as a
union
select b.Name from Province as b
Union:将两个(多个)表的查询结果合并显示
Union All:将两个(多个)表的查询结果合并显示(不包括重复)
转载:
http://blog.csdn.net/kiqinie/article/details/8132485
select a.Name from Material as a
union
select b.Name from Province as b
Union:将两个(多个)表的查询结果合并显示
Union All:将两个(多个)表的查询结果合并显示(不包括重复)