HSBC interview question

SQL error codes