How to Returns the number of rows matching the query criteria -in a separate SOQL.
Thanks in Advance
3 answers
Hello Snehal,
You can use the LIMIT command, like this - SELECT Name FROM Account WHERE Type = 'Customer' LIMIT 5
Hope this helps. Thank you