如何用SOL SEVER 实现两个表的关联查询,并且只显示其中的一个表

解决方案 »

  1.   

    SOL SEVER 这是什么东东?
      

  2.   

    select * from A where A.某字段 in (select distinct B.某字段 from B)lz能说细致一些么,要不回答会很广泛
      

  3.   

    select * from A where A.某字段 in (select distinct B.某字段 from B)
    select * from A where exists(select * from B where B.某字段=A.某字段)
    select A.* from A left join B on A.某字段=B.某字段
    ……
    ……
    ……
      

  4.   

    select s.* from add1 s,addresses l  where s.country = l.country
    问题自己已解决