Displaying and editing rows in a table

example2 demonstrates how to update a row using a cursor. The program: