Gloat interview question

SQL syntax