PwC interview question

Coding question sql query projects