Publicis Sapient interview question

sql tuning