← SQL tutorial

SQL

Introduction to SQL

SQL (Structured Query Language) is how you read and write data stored in a relational database. Data lives in tables, think of a table like a spreadsheet, with named columns and one row per record.

Example: the table every lesson in this tutorial reuses

SELECT * FROM students;
id | name  | track         | score
1  | Ada   | Frontend      | 92
2  | Chidi | Cybersecurity | 78
3  | Musa  | Backend       | 85

Every example from here on queries this exact students table, worth remembering its shape (four columns: id, name, track, score), since later lessons will reference it without repeating the setup each time.

Example
SELECT * FROM students;
Output
id | name  | track         | score
1  | Ada   | Frontend      | 92
2  | Chidi | Cybersecurity | 78
3  | Musa  | Backend       | 85
Ready to go further?

These free tutorials are a preview, our Backend Development cohort covers it in depth, with a real project and a cohort alongside you. Active

Enroll in Backend Development
Don't miss out

Ready to build something real?

Create a free account to enroll in a track, and get notified the moment a cohort opens.

Create free account