HSBC Interview Question

Basic Unix and SQl queries