I will discuss some of the SOQL statement that helps you in development over force.com Apex.

SOQL is similar to the SELECT statement used in SQL but its specially designed for salesforce data.

Here I will discuss the below List of statements with an example

SOQL SELECT Syntax:

Lets start one by one

SOQL SELECT Syntax:

The SOQL SELECT statement uses the following syntax:

FieldName: Similar table Fileds
ObjectName: Similar SQL Database Table

Example:

SELECT ID,Name,AccountNumber FROM Account

Condition Expression Syntax (WHERE Clause):

Order By:

Syntax:

LIMIT:

Syntax:

I will share all other SOQL statement that will help you to start development on FORCE.COM.