Deutsche Bank interview question

Database concepts