Pergunta de entrevista da empresa Deutsche Bank

Write an SQL code based on an ERD