Discover interview question

SQL