You need to sign in to do that
Don't have an account?
RongzhongHuang
question about SOQL
Hi guys,
In SOQL, you can do like [SELECT Id, Name FROM Account ORDER BY Name LIMIT 1].
I was wondering what is the sequence of 'ORDER BY' and 'LIMIT 1', does it do 'ORDER BY' or do 'LIMIT 1' firstly?
ORDER BY then the Limit
Read more about SOQL syntax here - http://www.salesforce.com/us/developer/docs/api/index_Left.htm#StartTopic=Content/sforce_api_calls_soql.htm