MySQL retrieval operations work with sets of rows known as result sets. The rows returned are all the rows that match a SQL statement zero or more of them. Using simple SELECT statements, there is no way to get the first row, the next row, or the previous 10 rows, for example. Nor is there an easy way to process all rows, one at a time (as opposed to all of them in a batch). Cursors are used primarily by interactive applications in which users need to scroll up and down through screens of data, browsing or making changes.