Question: what are cursors in mysql?
Answer: Introduction to MySQL cursor To handle a result set inside a stored procedure, you use a cursor. A cursor allows you to iterate a set of rows returned by a query and process each row individually. ... Non-scrollable: you can only fetch rows in the order determined by the SELECT statement.