Question: Write a query to display the patron ID, book number, patron first name and last name, and book title for all currently checked out books.

Write a query to display the patron ID, book number, patron first name and last name, and book title for all currently checked out books. (Remember to use the redundant relationship described in the assignment instructions for current checkouts.) Sort the output by patron last name and book title (Figure P7.93).

Figure P7.93 Currently Checked Out Books PAT_ID BOOK_NUM PAT_FNAME 1229 1229 1228 1212 1172 1207 5252 Gerald

Figure P7.93 Currently Checked Out Books PAT_ID BOOK_NUM PAT_FNAME 1229 1229 1228 1212 1172 1207 5252 Gerald 5238 Gerald 5242 Homer 5240 Iva 5246 Tony 5249 Iva PAT_LNAME Burke Burke Goodman McClain Miles Ramos BOOK TITLE Beyond the Database Veil Conceptual Programming C# in Middleware Deployment iOS Programming Capture the Cloud Starlight Applications

Step by Step Solution

3.38 Rating (148 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Here is an SQL query to display the patron ID book number patron first name an... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Database Systems Design Implementation Questions!