Pregunta de entrevista de PPL

SQL Queries with the difficulties