Loading

T11 SQL · Lesson 1

Games: Databases and tables

Choose the right option, fill in the blanks, write small pieces of code and fix broken ones. Code runs in a safe box inside this page.

Solved 0 of 46 items in this lesson.

1 / 24

ledger.db holds the gauges table of the lesson: id, name, hall, unit and reading, with boiler (1), pump (2), fan (3), chimney (4, reading NULL) and pendulum (5). What does this print?

bash
sqlite3 -list ledger.db "SELECT typeof(reading) FROM gauges WHERE name = 'fan';"

Back to the lesson