Texthelp interview question

They asked me to write a SQL query faster than it currently was