example1 demonstrates how to use cursors in an interactive query program. The program:
Displays a list of book types, from which the user selects one
Displays all titles in the selected book type and prompts for a title ID
Displays detailed information about the selected title and continues prompting for title IDs
Exits when Return is pressed at a prompt