Pergunta de entrevista da empresa HexaView Technologies

Basic pattern questions and questions from SQL, few puzzles.