This course is currently a work in progress. Please join the waitlist to receive regular updates.
ORDER BY Keyword in Apex
ORDER BY keyword is used to sort the results in ascending or descending by a field.
SOQL queries can be executed from apex code, Visual studio code or in the Query Editor of the Developer Console.
Note
SOQL queries can only retrieve records from a single sObject if they meet the specified criteria.
Try It Yourself
Loading...
Try It Yourself
Loading...