SQL - Structured Query Language - SQL
2008
Arnab De
28/03/2018
SQL
The full form of SQL is Structured Query Language. It is a language which handles the database, Specially RDBMS (Relational Database Management System) like MySQL, MS Access, Sybase, Oracle, Informix, SQL Server and Postgres. We can manage the following task through SQL –
- Create Database
- Alter Database
- Drop Database
- Insert data
- Update data
- Delete data
- Select data
- Save the action
- Revoke the action
- Grand the permission to a selective user
- Revoke the permission to a selective user
It is a ANSI(American National Standards Institute) standard language.
Types of SQL
Four types of SQL are available for doing different database related task
- DDL – DATA DEFINITION LANGUAGE
- CREATE - Create table
- ALTER - Alter the table structure
- DROP - Delete table
- DML - DATA MANIPULATION LANGUAGE
- INSERT - Insert tupple in a table
- UPDATE- Update the inserted tupple
- DELETE- Delete the inserted tupple
- SELECT- Select the tupple depend on the condition
- TCL
- COMMIT- save the action
- ROLLBACK- undo the action
- DCL
- GRANT - Grant the different permission to a user.
- REVOKE- Revoke the different permission to a user.
SQL TYPES