Silverchair interview question

There were some technical SQL questions