表A 有一列name
    有一列domain要求导出 name.domain已经尝试select name+'.'+domain from A
结果不是我想要的。请问有谁能帮忙吗?

解决方案 »

  1.   

    select a.name+'.'+b.name from 表A a,表A b where a.name<>b.name
      

  2.   

    select rtrim(ltrim(name))+'.'+domain from A
    举个例子撤
      

  3.   

    ????????
    理解有误!有两列,name,domain,
    select name+'.'+domain from A
    应该是对的啊.具体的数据有哪些,你想要的结果是什么?
      

  4.   


    select name||'.'||domain from A
      

  5.   


    表A 
    ID computername
    1   x
    2   y
    3   z表B 
    ID  domain
    1    test
    2    test
    3    test要求结果result
    x.test
    y.test
    z.test
      

  6.   

    select a.computername+'.'+b.domain as result
    from a
    join b on a.id=b.id