如图,将两张表中的NO 字段和 name字段中所有数据选择出来 分别作为ID 字段和 Name字段··
select no1 as No,name1 as Name from table1
union all
select no2 as No,name2 as Name from table2