https://easyexamnotes.com/cursor-management-nested-and-parameterized-cursors/
Cursor management: nested and parameterized cursors