HSBC interview question

General question on database , logical questions