Selecting rows with cursors

Cursors are associated with a select statements, and.consist of:

Two attributes specify the cursor’s behavior:

There are four types of cursors: