Lesson 2 of 60 – History of SQL
3%

History of SQL

SQL has a long history in the development of relational database systems. It was created to provide a practical way to work with data stored in relational databases.

Note: SQL was originally developed at IBM and was influenced by the relational database model proposed by Edgar F. Codd.
The Beginning of Relational Databases

The history of SQL is closely connected with the development of the relational database model.

In 1970, computer scientist Edgar F. Codd published a landmark paper describing the relational model for databases.

The relational model introduced the idea of organizing data into tables and using relationships between data items.

Edgar F. Codd and the Relational Model

Edgar F. Codd worked at IBM Research and proposed the relational model as a new approach to organizing database information.

Instead of organizing information only through complex navigational structures, the relational model represented information using relations, which are commonly represented as tables.

Student
-------------------------
ID | Name | Course
1  | Rahul | Python
2  | Priya | SQL
3  | Amit  | Java
IBM Research and SQL

IBM researchers began developing a relational database system based on the relational model.

At IBM's San Jose Research Laboratory, researchers including Donald D. Chamberlin and Raymond F. Boyce worked on a language for interacting with relational databases.

This work eventually led to SQL.

SEQUEL

The language was initially called SEQUEL, which stood for Structured English Query Language.

It was designed to provide a relatively simple way for users to query and manipulate data in relational database systems.

The name was later changed to SQL.

SEQUEL and System R

IBM developed System R, an important experimental relational database system.

SEQUEL was used as the query language for System R and helped demonstrate that the relational database model could be implemented in a practical database system.

Why Was SQL Created?

SQL was designed to make it easier to interact with relational databases.

Users could write declarative statements describing the data they wanted instead of specifying every low-level step required to retrieve that data.

For example:

SELECT name
FROM students;

This query describes the data that should be returned.

SQL Becomes More Widely Known

As relational database systems became more important, SQL became a widely used language for querying and managing relational data.

Different database products implemented SQL with their own extensions, while the core language continued to develop through standardization.

SQL Standardization

SQL was standardized so that there could be a common language specification across different database systems.

The American National Standards Institute (ANSI) and the International Organization for Standardization (ISO) have been involved in SQL standardization.

This helped establish a common foundation for SQL implementations.

SQL-86

One of the major milestones was the first ANSI SQL standard, published in 1986.

It is commonly referred to as SQL-86.

This standard provided a formal specification for important parts of the SQL language.

SQL-89

The SQL standard was revised in 1989.

This version is commonly called SQL-89 and included additional improvements and integrity-related features.

SQL-92

A major revision was published in 1992 and is commonly known as SQL-92 or SQL2.

It significantly expanded and refined the SQL language and became an important reference point for SQL implementations.

SQL:1999

The SQL standard was further revised in 1999.

This version introduced or expanded features such as recursive queries, triggers and procedural extensions within the standard.

It is commonly referred to as SQL:1999.

SQL:2003

Another major revision appeared in 2003.

SQL:2003 added and refined several features, including improvements related to XML and other database capabilities.

SQL:2008

The SQL standard was updated again in 2008.

The revision continued to improve SQL features and standardize database behavior.

SQL:2011

The SQL standard was revised in 2011.

This revision included important standard features related to temporal data and other database capabilities.

SQL:2016

SQL:2016 continued the development of the SQL standard.

It included additional capabilities, including features related to JSON and row pattern recognition.

SQL:2023

The SQL standard continues to evolve. The SQL:2023 revision added and updated features for modern database requirements.

Different database products may implement different portions of the SQL standard and may also provide their own extensions.

SQL and Database Products

SQL is a language standard, while database systems provide implementations of SQL.

Examples include:

  • MySQL
  • PostgreSQL
  • Microsoft SQL Server
  • Oracle Database
  • SQLite

Each system supports SQL but may have its own features and syntax extensions.

SQL Today

SQL remains an important technology for applications that use relational databases.

It is used in areas such as:

  • Web Development
  • Backend Development
  • Data Analysis
  • Business Applications
  • Banking Systems
  • Education Systems
  • E-Commerce
  • Enterprise Applications
SQL History Timeline
1970
  ↓
Codd's Relational Model

1970s
  ↓
IBM develops SEQUEL

1980s
  ↓
SQL becomes widely used

1986
  ↓
ANSI SQL Standard

1989
  ↓
SQL-89

1992
  ↓
SQL-92

1999
  ↓
SQL:1999

2003
  ↓
SQL:2003

2008
  ↓
SQL:2008

2011
  ↓
SQL:2011

2016
  ↓
SQL:2016

2023
  ↓
SQL:2023
SQL and Modern Development

Modern applications commonly combine SQL with programming languages and frameworks.

Frontend
   ↓
Backend
   ↓
SQL
   ↓
Relational Database

For example, a Python, PHP, Java or C# application can use SQL to retrieve and manage relational data.

Key Points
  • The relational database model was proposed by Edgar F. Codd in 1970.
  • IBM researchers developed the language that became SQL.
  • The language was initially called SEQUEL.
  • SEQUEL later became known as SQL.
  • SQL became an important language for relational databases.
  • ANSI and ISO have standardized SQL through successive revisions.
  • Important standards include SQL-86, SQL-89, SQL-92, SQL:1999, SQL:2003, SQL:2008, SQL:2011, SQL:2016 and SQL:2023.
  • Database products can implement SQL standards and add their own extensions.
  • SQL continues to be widely used for relational database applications.

🧠 Quick Quiz

Question: Who proposed the relational database model in 1970?