Pregunta de entrevista de InterSystems

Some SQL questions to answer. Not hard.