Fisher Investments interview question

SQL related questions live in the coding interview