Write a query to display the patron ID and the average number of days that patron keeps

Question:

Write a query to display the patron ID and the average number of days that patron keeps books during a checkout. Limit the results to only patrons who have at least three checkouts. Sort the results in descending order by the average days the book is kept (Figure P7.104).

Figure P7.104 Average Days Kept by Patron PAT_ID Average Days Kept 1160 7 1185 6.67 1165 5.67 1207 5.5 1209

Fantastic news! We've Found the answer you've been seeking!

Step by Step Answer:

Related Book For  answer-question
Question Posted: