Hopin interview question

What would you do if you had a very slow SQL query?