Rohit Salunkhe Interview Question

How to optimize sql queries?