如何将两个字段的记录变为一个字段的记录?
现有表A
A:
字段 c d
1 2
3 4
2 5
如何通过select语句,得到的结果为:
c或者某个别名
1
2
3
4
5
[解决办法]
select c from a
union
select d from a