PwC interview question

Sql questions e.g. how to identify error