Vantage Point
Home/Glossary/SOQL (Salesforce Object Query Language)
Salesforce Terminology

SOQL (Salesforce Object Query Language)

The language used to query data from the Salesforce database.

Complete Definition

SOQL is Salesforce's proprietary query language similar to SQL, used to retrieve records from the Salesforce database. It supports filtering (WHERE), sorting (ORDER BY), grouping (GROUP BY), and relationship queries. SOQL is used in Apex code, API calls, and developer tools to access and manipulate data programmatically.

Key Points

  • 1Similar syntax to SQL
  • 2Queries Salesforce records
  • 3Supports relationship queries
  • 4Used in Apex and APIs