SOQL (Salesforce Object Query Language)


SOQL:

  • SOQL stands for Salesforce Object Query Language. 
  • SOQL starts with SELECT Keyword
  • We can execute SOQL different tools like Developer Console, Workbench and VS Code.
Syntax:
        
SELECT fields
FROM Object
WHERE Condition
Ordering LIMIT
view raw syntax.soql hosted with ❤ by GitHub

Example:
    
SELECT Id, Student_Name__c, Email__c FROM Student__c
view raw student__c.soql hosted with ❤ by GitHub