function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
prathap cprathap c 

What is the difference between SQL and SOQL?

can any one expalin?
SQL is used for getting data from one or more tables.They can be either related or not
SOQL is used for getting the data of a particular object and its related objects.You cannot pull data of two un related objects through SOQL.Please read following link for more details and syntax

SQL is standard ANSI  standard query language where as SOQL is specially optimized version of SQL specially designed for working with underlying database. it is the abbreviation of Salesforce Object Query Language.

In addition, SOQL does not support very advance level SQL specific functions like using wild cards, join operations etc...

You can refer to these links for a better understanding of SOQL:
Sai Ram ASai Ram A
Hello Prathap

A quick view for you, also recommend to go through with the Links our Suneel & all550 have Shared
User-added image

Thank you
SQL Is a Query Language to retrive data on Relational Database(Oracle,My SQL).
SOQL is a  Query Language to retrive data from salesforce objects.
Data Loader 5Data Loader 5
Check this article to learn the difference in syntax between SOQL and SQL -