Pergunta de entrevista da empresa Dayal Group

Sql basic questions, with puzzle questions.