Introduction to Databases and SQL

Lesson 1 of 20

Meet the database that powers every app — then watch your first SQL query travel the pipeline and come back as rows.

The big picture

What is SQL?

Databases store data in tables. SQL is the language you use to ask them questions.

Declarative

You describe WHAT you want, not how to fetch it. The database engine figures out the HOW.

Tables & rows

Data lives in tables, like spreadsheets. Each row is one record; each column is one field.

Born in the 1970s

SQL was created at IBM in 1974 and became the worldwide standard for databases.

Everywhere

Apps, banks, games and websites all query their data with SQL.

1974

SEQUEL at IBM

Chamberlin and Boyce design a query language for the System R research project.

1986

ANSI standard

SQL becomes an official standard, portable between vendors and platforms.

Today

Still on top

MySQL, PostgreSQL, SQLite and SQL Server all speak this same 50-year-old language.