In Account object I have 1000 records.i need to query first 100 records,next i need to query after 101 records.how it is possible.my first query is like that
[select id,name from Account LIMIt 100];
i want query like this[select id,name from Account LIMIT 101];
Best Answer
Use OFFSET
this will return all the records except starting 100 records
you need to query like [select id,name from Account OFFSET 100 LIMIT 100];