select a from BT
UNION
select b as a from tb

解决方案 »

  1.   

    select 字段1 from 表名
    union 
    select 字段2 from 表名
      

  2.   

    create table #t(a char(20),b char(20))
    create table xinbiao (a char(20))
    select b from biao insert into #tselect a from biao insert into #tselect * from #t insert into xinbiao 
      

  3.   

    select 字段1 from 表名
    union all
    select 字段2 from 表名
      

  4.   

    select 字段1 from 表名
    union all
    select 字段2 from 表名
      

  5.   

    select 字段1 from 表名
    union all
    select 字段2 from 表名
    ---字段的名称将是第一个表的字段名/别名
      

  6.   

    UP~~~~~~~~
    ----------------------
    《CSDN论坛新助手 CSDN's forum Explorer》
    1、更快速的浏览
    2、更方便地保存
    3、更快捷的收/发短信
    下载地址:http://www.seeyou.com.cn/CoolSlob/CSDNExplorer.exe
    更多说明:http://community.csdn.net/Expert/TopicView.asp?id=3255966
      

  7.   

    select 字段1 from 表名
    union all
    select 字段2 from 表名