In this section, we write a program that executes queries against the
COREJAVA database. For this program to work, you must have populated the
COREJAVA database with tables, as described in the preceding section.
When querying the database, you can select the author and the publisher or leave either of them as
You can also change the data in the database. Select a publisher and type an amount. All prices of that publisher are adjusted by the amount you entered, and the program displays how many rows were changed. After a price change, you might want to run a query to verify the new prices.