If the primary keys of the records are 1,3,4,5,6,8
1,3,4,5,6,8
I want to select the records with pk:1,6
1,6
NOTE
I don\'t
What about something like this?
SELECT * FROM [MyTable] WHERE [MyId] NOT IN ( SELECT [MyId] - 1 FROM [MyTable] )