Fidelity Investments interview question

Basic SQL questions that required live coding