Mphasis interview question

Best way to do SQL performance tunning