SQL SELECT Statement

The SQL SELECT Statement

The SELECT statement is used to select data from a database.

Example

Return data from the Customers table :

SELECT CustomerName, City FROM Customers;

Continue reading SQL SELECT Statement

SQL Syntax

SQL Statements

Most of the actions you need to perform on a database are done with SQL statements.

SQL statements consist of keywords that are easy to understand.

The following SQL statement returns all records from a table named “Customers”:

Example

Select all records from the Customers table:

SELECT * FROM Customers;

In this tutorial we will teach you all about the different SQL statements. Continue reading SQL Syntax