Pregunta de entrevista de GM Financial

Code a SQL block based on a scenario