select pid from table where pid is not (select top 10 pid from table1)
上面的正确语法是什么?
select pid from table where pid not in (select top 10 pid from table1)
not in,而不是is not
not in
is not