J.P. Morgan Interview Question

Data base query optimization