BlackRock interview question

Simple SQL queries