Pergunta de entrevista da empresa Citi

SQL question based on picking date in run time