Pregunta de entrevista de IBM

Some SQL questions where you have to create a query based on their asking