Fidelity Investments interview question

Java and SQL based questions