Question: Consider the library relational database schema in Figure 6.6. Write a java program segment that retrieves the list of books that became overdue yesterday and
Consider the library relational database schema in Figure 6.6. Write a java program segment that retrieves the list of books that became overdue yesterday and that prints the book title and borrower name for each. You can use SQLJ/JDBC with Java as the host language.

Figure 6.6 A relational database schema for a LIBRARY database. BOOK Book id Title Publisher name BOOK AUTHORS Book id Author name PUBLISHER Name Address Phone BOOK COPIES Book id Branch id No of copies BOOK LOANS Book id Branch id Card_no Date out Due date LIBRARY BRANCH Branch id Branch nameAddress BORROWER Card no Name Address Phone
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
