The original version of this language is called SEQUEL (Structured English Query Language) was developed at IBM’s San Jose Research Lab in early 1970s. This language firstly implemented in a experimental relational database system – System R. The name of the language is changed to SQL in late 1970s.
In 1986, the American National Standard Institute (ANSI) and the International Standard Organization (ISO) published the first SQL standard, called SQL-86. An extended standard for SQL was published in 1989 so called SQL-89. In 1992, the revised standard called SQL-92 (or SQL2) was developed. This version is widely supported by most of the commercial relational DBMSs. The other version – SQL-99 has been proposed but not fully endorsed by the industry. Therefore, in this lecture, we will use the SQL -92 standard.
SQL language has several components:
- Data Definition Language (DDL) : provides command for defining relation schemas, views, indices; modifying the schema ; specifying access rights to the relations and views; specifying integrity constraints etc.
- Data Manipulation Language (DML) : SQL DML includes query language based on both relational algebra and tuple relational calculus. It includes also commands to manipulate the data in the database.
- Embedded DML: This form is used within the programming language such as C, Java
In this lecture, we will focus on the SQL commands to creating , modifying database schemas and integrity constraints. Other parts will be discussed in the later lectures.






