SQL Commands 1.1. SQL (Structured Query Language)
SQL Commands 1.1. SQL (Structured Query Language)
SQL Commands
1.1. SQL (Structured Query Language)
SQL is used to make a request to retrieve data from a Database.
The DBMS processes the SQL request, retrieves the requested data from the
Database, and returns it.
This process of requesting data from a Database and receiving back the results is
called a Database Query and hence the name Structured Query Language.
SQL is a language that all commercial RDBMS implementations understand.
SQL is a non-procedural language
1979 Oracle Corporation introduces the first commercial RDBMS
1982 ANSI (American National Standards Institute) forms SQL Standards
Committee
1983 IBM (International Business Machine) announces DB2 (a Database)
1986 ANSI (American National Standards Institute) SQL1 standard is approved
1987 ISO (International Organization for Standardization) SQL1 standard is
approved
1992 ANSI (American National Standards Institute) SQL2 standard is approved
2000 Microsoft Corporation introduces SQL Server 2000, aimed at enterprise
applications
2004 SQL: 2003 standard is published
1.2. Statements
1.2.1. DDL (Data Definition Language)
Create
Alter
Drop
Truncate
1.2.2. DML (Data Manipulation Language)
Insert
Update
Delete
Select
1.2.3. DCL (Data Control Language)
Grant
Revoke
Commit
Rollback
1.3. Data types
Number
Char
Varchar2
Long
date