内容为 1,t,00
2,s,01
表1有,id,xm,dm,xmmx 等字段
内容为 1,a,00,tao
2,f,01,sta
用select语句实现查询返回结果集为:
id,xm,dm
1,t,00
2,s,01
3,a,00,tao
4,f,01,sta
select id+2,xm,dm,xmmx from 表1
union select 1,t,00,null
union select 2,s,01,null
order by 1