Example 2: Displaying and editing rows in a table

Example 2 demonstrates updating a row through a cursor. The program: