Q1. What is the difference between SQL and SOQL? A1. SQL is standard ANSI standard query language where as SOQL is a specially optimized version of SQL specially designed for working with Salesforce.com underlying database. it is the abbreviation of Salesforce Object Query Language.