UST interview question

SQL performance tuning