function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Neha Kumari 86Neha Kumari 86 

query to fetch 99th record among 100 records in a object?

write a query to fetch 99th record amon 100 records in a object?
Raj VakatiRaj Vakati
SELECT Name FROM Account ORDER BY Name LIMIT 1 OFFSET 98 
Neha Kumari 86Neha Kumari 86
Thanks Raj.
Could you help me with below ?

I have a number field on Account, on this I have written a validation rule saying number should be always < 10,000. Now I have a workflow field update on same and it’s updating with 15,000. Now user is trying to insert 12,000. What is the result??
Raj VakatiRaj Vakati
You will get validation error