Barclays interview question

Database queries, triggers, cursors etc