本帖最后由 xzxw1115 于 2010-07-12 10:24:40 编辑

解决方案 »

  1.   

    with tmp as
    (
    select 'GSXSSL','销售数量' from daul
    union all
    select 'GSHSJJJE','含税进价金额' from daul
    union all
    select 'GSXSSR','销售收入' from daul
    )
    select * from tmp
      

  2.   

    with tmp as
    (
    select 'GSXSSL','销售数量' from dual
    union all
    select 'GSHSJJJE','含税进价金额' from dual
    union all
    select 'GSXSSR','销售收入' from dual
    )
    select * from tmp