BNP Paribas interview question

.net, oops, sql, advanced sql