Pregunta de entrevista de FINRA

String reversion, SQL question about table joining and partitioning.