select b.name,a.id,a.other
from tableA a inner join tableB b
on a.[id]=b.[id]

解决方案 »

  1.   

    错了,重来。
    select a.name,b.id,b.other
    from tableA a inner join tableB b
    on a.[id]=b.[id]
      

  2.   

    select a.[name],b.[id],b.[other]
    from tableA a inner join tableB b
    on a.[id]=b.[id]
      

  3.   

    SELECT A.name,
           A.id,
           B.other
    FROM   tableA A INNER JOIN tableB B
    ON     A.id = B.id
    GO
      

  4.   

    Name1------->>>name01
    ??????是你 写错了还是要求这样???如果是写错了的话上面的都是可以的
      

  5.   

    select a.name,b.id,b.other
    from tableA a inner join tableB b
    on a.[id]=b.[id]
    where b.id='001' or b.id='002'
      

  6.   

    select name,a.id,other from a left join b on a.id=b.id
      

  7.   

    楼主的other字段要大小写转换?