查询2个表同一个字段的不同的值A表 NAME字段 目前的值有 1,2,3B表 NAME字段 目前的值有 1,2,4,5我想得到结果 1,2,3,4,5谢谢赐教[解决办法]
select name from A表unionselect name from B表