Previously you have to select ids which you want to neglet/omit then push that ids into temp table and then filter records using temp table ids
here sample code
DECLARE @TempTable TABLE (Ids int)
insert into @TempTable(Ids)
select StudentIdid from StudentTable where StudentId<10
select StudentId,StudentName from StudentTable where StudentId not in (select Ids from @TempTable)
i hope you understand...