https://www.techonthenet.com/mysql/cursors/declare.php