courses / sql

learn sql

Three levels, from never written code to writing it like a professional. Ask questions of databases.

from zero to your first real programs.

For people who have never written a line of code. Nothing is assumed: every new word is explained the moment it appears.

1 unit 1 Meet your data Ask a database to show you what it holds. 0 of 4 · 26 min
  1. What a database is5 min
  2. Your first query6 min
  3. Choosing columns7 min
  4. When it goes wrong8 min
2 unit 2 Pick your rows Ask for only the rows you need. 0 of 4 · 31 min
  1. WHERE picks the rows7 min
  2. Text goes in quotes8 min
  3. Bigger, smaller, different8 min
  4. And, or, not8 min
3 unit 3 Sort and trim Put results in order and keep only the bits you want. 0 of 4 · 27 min
  1. Putting rows in order7 min
  2. Only the top few6 min
  3. No repeats6 min
  4. Searching with patterns8 min
4 unit 4 Blanks, maths and text Handle missing values and work out new ones. 0 of 4 · 30 min
  1. When a value is missing8 min
  2. Maths in a query8 min
  3. Naming your columns6 min
  4. Tricks with text8 min
5 unit 5 Sum it up Turn a whole table into one answer. 0 of 4 · 28 min
  1. Counting rows7 min
  2. Totals and averages7 min
  3. Smallest and biggest6 min
  4. Many answers at once8 min
6 unit 6 Change the data Add, change and remove rows. 0 of 4 · 29 min
  1. Adding a row7 min
  2. Naming the columns you fill7 min
  3. Changing rows8 min
  4. Removing rows7 min
7 unit 7 Build your own tables Make your own tables, then put everything together. 0 of 4 · 33 min
  1. Making a table8 min
  2. Rules for columns8 min
  3. Every row gets an id8 min
  4. Putting it all together9 min
end of level 1 level check Build one small project with everything from this level. Pass it and your face levels up. see the check