Pregunta de entrevista de InfoObjects

basic question regarding sql, and the programming language of your choice.