Amazon interview question

How can you improve efficiency of sql queries.