Reputation: 3171
select pid from table where pid is not (select top 10 pid from table1)
What is the correct syntax for the above?
Upvotes: 1
Views: 77
Reputation: 4014
select pid from table where pid not in (select top 10 pid from table1)
Upvotes: 2