Nielsen interview question

Sql selection, filtration and sorting