select * from A where not exists(select 1 from B where username=A.username and point=A.point)

解决方案 »

  1.   

    如果没有主键则按下面写:
    select * from A where not exists(select 1 from B where username=A.username and point=A.point)
    如果有主键则按下面写:
    select * from A where not exists(select 1 from B where 主键=a.主键)
      

  2.   

    select A.* from A,B 
    where A.username  <>B.username  
    and A.point<>B.point
      

  3.   

    select * from A where not exists(select * from B where username=A.username and point=A.point)
      

  4.   

    To: QQMagicer(在IT的路上越走越远) 
    好像这样写没对吧1!
    我是感觉有点怪。