Question: Consider the library relational database schema in Figure 6.6. Write a program segment that retrieves the list of books that became overdue yesterday and that
Consider the library relational database schema in Figure 6.6. Write a program segment that retrieves the list of books that became overdue yesterday and that prints the book title and borrower name for each. Use embedded SQL with C as the host language.
Figure 6.6

BOOK Book id Title Publisher_name OK AUTHORS Book id Author_name PUBLISHER Name Address Phone OK COPIES Book id Branch_id No_of_copies OK LOANS Book id Branch id Card_no Date_out Due_date LIBRARY_BRANCH Branch_id Branch_name Address BORROWER Card no Name Address Phone
Step by Step Solution
3.39 Rating (165 Votes )
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
