EY interview question

Some coding tests on sql