A | B | C | D | E | F
我想将其显示如下:
MyColumn | MyColumn2 A | B C | D E | F
正如您所看到的,我希望将列显示为具有自定义列名称的对.这些对是A列和B列,C列和D列以及C和D列.
select A as [Col 1],B as [Col 2] from table union all select C,D from table union all select E,F from table