PwC interview question

Tech question about sql for dat analyst role