теmber(memb_лo, пате) book(isbn, title, authors, publisher) borrowed(memb_no, isbn, date) Figure 3.20 Library database.

Enhanced Discovering Computers 2017 (Shelly Cashman Series) (MindTap Course List)
1st Edition
ISBN:9781305657458
Author:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Chapter4: Programs And Apps: Productivity, Graphics, Security, And Other Tools
Section: Chapter Questions
Problem 6TF
icon
Related questions
Question

Consider the library database of Figure 3.20. Write the following queries in SQL.
Find the average number of books borrowed per member. Take into account that if a member does not borrow any books, then that member does
not appear in the borrowed relation at all, but that member still counts in
the average.

теmber(memb_лo, пате)
book(isbn, title, authors, publisher)
borrowed(memb_no, isbn, date)
Figure 3.20 Library database.
Transcribed Image Text:теmber(memb_лo, пате) book(isbn, title, authors, publisher) borrowed(memb_no, isbn, date) Figure 3.20 Library database.
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps

Blurred answer
Knowledge Booster
Intermediate SQL concepts
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Recommended textbooks for you
Enhanced Discovering Computers 2017 (Shelly Cashm…
Enhanced Discovering Computers 2017 (Shelly Cashm…
Computer Science
ISBN:
9781305657458
Author:
Misty E. Vermaat, Susan L. Sebok, Steven M. Freund, Mark Frydenberg, Jennifer T. Campbell
Publisher:
Cengage Learning