1 Introduction - SQL
1 Introduction - SQL
Server
Definition of Database
A database is a collection of related
information that is organized so that it can
easily be accessed, managed, and updated.
DBA?
Definition of DBMS
The Database Management System, or
DBMS, is a computer software program that
is designed as the means of managing all
databases that are currently installed on a
system hard drive or network.
Definition of RDBMS
Meaning of SQL
SQL stands for Structured Query Language
SQL lets you access and manipulate databases
SQL is an ANSI (American National Standards Institute) standard
What Can SQL do?
SQL can execute queries against a database
SQL can retrieve data from a database
SQL can insert records in a database
SQL can update records in a database
SQL can delete records from a database
SQL can create new databases
SQL can create new tables in a database
SQL can create stored procedures in a database
SQL can create views in a database
SQL can set permissions on tables, procedures, and views
DML
DML is abbreviation of Data Manipulation Language. It is used
to retrieve, store, modify, delete, insert and update data in
database.
Examples: SELECT, UPDATE, INSERT statements
DDL
DDL is abbreviation of Data Definition Language. It is used to
create and modify the structure of database objects in database.
Examples: CREATE, ALTER, DROP statements
DCL
DCL is abbreviation of Data Control Language. It is used to
create roles, permissions, and referential integrity as well it is used
to control access to database by securing it.
Examples: GRANT, REVOKE statements
TCL
TCL is abbreviation of Transactional Control Language. It is
used to manage different transactions occurring within a database.
Year
Release Name
1.0 ()
1989
4.21()
1993
6.0
1995
6.5
1996
7.0
1998
1999
8.0
2000
8.0
2000
9.0
2005
10.0
2008