Gartner interview question

SQL