Skip to content
Theory · Final project: interview tasks · lesson 1 of 8

How to solve an SQL task

Three sheets in a row: a WITH bracket over the first two, and a short answer sheet last

At an interview an SQL task comes in words: "Find the guests whose average check is above the chain's average check." Next to it lies the table schema. You need no new commands to solve it: the course has covered everything. The hard part is different: it is unclear where to start.

In this lesson

  • Four questions to the task
  • Every step can be checked
  • Four edge cases
  • Common mistake
  • After the course
  • Key points