Rohit Salunkhe interview question

How to optimize sql queries?