← 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. Closes Nov 30

Enroll in Backend Development

Cookie preferences

Choose what you're comfortable with. You can change this any time from the footer.

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