GSK interview question

difference between cursors and triggers