Pergunta de entrevista da empresa Dunelm

SQL questions, both simple and complicated.