Nokia Interview Question

How do you optimize SQL queries on a database