DevPath · Learn to code ESPTEN

Introduction to SQL

Relational databases and SQL

Data in tables

A relational database stores information in tables, like a spreadsheet: columns (the fields) and rows (the records).

For example, a products table:

id name category price
1 Keyboard peripherals 25
2 Mouse peripherals 15
3 Monitor displays 150

SQL

SQL (Structured Query Language) is the language for querying and manipulating that data. The most common query is SELECT, which reads rows.

SELECT name, price FROM products;

In these exercises you write the query and run it against a real database (SQLite, inside the browser). You will see the result as a table.

Put this into practice

DevPath is a hands-on course: you read the theory here; in the app you put it into practice with exercises that really run, offline.

Start free in the app →
Filter rows with WHERE →