You are on page 1of 2

SQL

. SQL stands for Structured Query Language.

. Also called “See – Quell”

. By using we can perform insert, delete, update, retrieve operations in data base

. Databases: MySQL, Oracle, DB2, MySQL Server,…

.SQL is a universal language to perform operations on databases.

Why sql?

1) The basic use of SQL users is to insert, delete and update the from the database

2) It allows the users to retrieve data from the database

3) It allows SQL users to create, drop, and manipulate the database and its tables

4) It also helps in creating views, stored procedures

5) It also allows SQL users to set the permissions or constraints on the table columns.

Advantages of SQL

1) No programming is needed

2) High speed query processing

3) Standardized language

4) Portability

5) Interactive language

SQL Syntax:

1) You can write keywords of SQL in both uppercase and lowercase but we use uppercase only

2) SQL statements are dependent on text lines. We can place single SQL statement on one or multiple
text lines

3) SQL syntax depends on relational algebra

SQL Statement

SQL statement tell the database what operation you want to perform on the data and what information
you would like to access from the data base
The SQL Statements are simple and easy to understand. SQL statements are similar to English language
but with a particular syntax.

Each SQL statements begins with any of the SQL keywords and ends with the semicolon (;)

Ex:

SELECT “column name” FROM “table_name”;

Ex: SELECT age FROM student;

You might also like