Fidelity Investments Interview Question

Give an example of an SQL query