Santander interview question

Sql based questions and competency