No Results
Search Tips:
- Please consider misspellings
- Try different search keywords
Newer Version Available
Salesforce Object Query Language (SOQL)
Use the Salesforce Object Query Language (SOQL) to construct simple but
powerful query strings in the following environments:
Similar to the SELECT command in Structured Query Language (SQL), SOQL allows you to specify the source object (such as Account), a list of fields to retrieve, and conditions for selecting rows in the source object.
SOQL uses the SELECT statement combined with filtering statements to return sets of data, which can optionally be ordered:
For example, the following SOQL
query returns the value of the Id and Name field for
all Account records if the value of Name is Sandy:
For a complete description of the syntax, see SOQL SELECT Syntax.