怎么没人帮我看看这积压SQL语句的写法啊

解决方案 »

  1.   

    根据我的理解:
    select name from tb2 where tb2.name not in (Select DISTINCT(name) from tb1)
      

  2.   

    Select * From tb1 Where name Not In(Select name From tb2)
      

  3.   

    Select * From tb1 Where name Not In(Select name From tb2)
    这句话在语法上是有毛病的
      

  4.   

    只能确定楼主的错误。楼上们的,就不清楚了。照葫芦画瓢就应该是这样:
    select name from tb2 where name not in (Select DISTINCT(name) from tb1)
      

  5.   

    not in (括号中只能是以逗号分开的语句才行,可是现在好象并没有分开啊)