SQL & databases
Query, filter and join data with confidence.
About this track
SQL is the language behind almost every application. Learn to read and write it here on Yanjye, with runnable examples against a small student database, then take the exam.
Every lesson is written and hosted here on Yanjye — you never leave the site. Work through them in order, then sit the exam to earn your certificate.
Create a free account or log in to track your progress and earn the certificate.
Lessons
-
1
What SQL is and how tables work
Rows, columns and the shape of a database.
-
2
SELECT and WHERE
Read exactly the rows and columns you need.
-
3
ORDER BY and LIMIT
Sort your results and take only what you need.
-
4
INSERT, UPDATE and DELETE
Change the data, safely.
-
5
Aggregate functions
Count, total and average your data.
-
6
GROUP BY and HAVING
Summarise per category instead of over everything.
-
7
JOINs
Combine related tables into one result.
-
8
Creating tables and keys
Design a table that protects its own data.