Question: I need SQL query for these problems. Thank you for your help. 1. Average time that a book is checked out and round by one

I need SQL query for these problems.

Thank you for your help.

I need SQL query for these problems. Thank you for your help.

1. Average time that a book is checked out and round by one decimal & maximum time a book has been checked out.

1. Average time that a book is checked out and round by

2. Displaying all books that are currently checked out

one decimal & maximum time a book has been checked out. 2.

3. Display all books that are OVERDUE (Include Book Title, Patron L name, due date, and days overdue Displaying all books that are currently checked out 3. Display all books

4. Display of authors that have written more than 2 books. (Include first name, last name, # of books written)

that are OVERDUE (Include Book Title, Patron L name, due date, and

CHECKOUT PATRON PK Check Num PK Pat ID FK1 Book Num FK2 Pat _ID Check Out Date Check Due Date Check_ In_Date Pat FName Pat LName Pat_Type BOOK AUTHOR PK Book Num PK Au ID Book Title Book Year Book Cost Book Subject Au FName Au LName Au BirthYear FK1 Pat ID WRITES PK,FK1 Book Num PK,FK2 Au ID

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!