I have a table: id, Group, Status, Subject
.
I need rows where group=2 AND status=2, but I want to skip the first 8 results (ordered by id
). This is what I tried, but it does not skip the first 8 rows:
SELECT TOP 3 [id], LEFT ([subject],30) AS Title
FROM [Katavot]
WHERE (([Status] = @Status) AND ([Group] = @Group))
ORDER BY [id] DESC