Barclays interview question

puzzles dsa sql language data analytics