T. Rowe Price interview question

How do you optimize queries?