The CIS Department at Tiny College maintains the Free Access to Current Technology (FACT) library of ebooks. FACT is a collection of current technology ebooks for use by faculty and students. Agreements with the publishers allow patrons to electronically check out a book, which gives them exclusive access to the book online through the FACT website, but only one patron at a time can have access to a book. A book must have at least one author but can have many. An author must have written at least one book to be included in the system but may have written many. A book may have never been checked out but can be checked out many times by the same patron or different patrons over time. Because all faculty and staff in the department are given accounts at the online library, a patron may have never checked out a book or they may have checked out many books over time. To simplify determining which patron currently has a given book checked out, a redundant relationship between BOOK and PATRON is maintained.

Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
icon
Related questions
Question

The CIS Department at Tiny College maintains the Free Access to Current Technology (FACT) library of ebooks. FACT is a collection of current technology ebooks for use by faculty and students. Agreements with the publishers allow patrons to electronically check out a book, which gives them exclusive access to the book online through the FACT website, but only one patron at a time can have access to a book. A book must have at least one author but can have many.

An author must have written at least one book to be included in the system but may have written many. A book may have never been checked out but can be checked out many times by the same patron or different patrons over time. Because all faculty and staff in the department are given accounts at the online library, a patron may have never checked out a book or they may have checked out many books over time. To simplify determining which patron currently has a given book checked out, a redundant relationship between BOOK and PATRON is maintained.

(1) Write a query to display the checkout number, patron’s name (collated), book title, author’s name (collated), checkout date, and due date for every checkout that has ever occurred in the system by a faculty patron. Sort the results by checkout date in descending order.

(2) Show query result of question #1

(3) Write a query to display the book number, title, year of publication, subject, and cost for all books that are on the subjects of “Middleware” or “Cloud,” and that cost more than $70.

(4) Show query result of question #3

(5) Write a query to display the subject and the number of books in each subject. Sort the results by the number of books in descending order, then by subject name in ascending order.

(6) Show query result of question #5

(7) Write a query to display the author ID and the number of books written by that author. Sort the results in descending order by number of books, then in ascending order by author ID.

(8) Show query result of question #7

 

 

CHECKOUT
PK Check Num
FK1 Book Num
Pat_ID
FK2
Check Out Date
Check Due Date
Check_In_Date
BOOK
PK Book Num
Book Title
Book Year
Book Cost
Book Subject
FK1 Pat_ID
---H-
PATRON
PK Pat ID
Pat_FName
Pat LName
Pat Type
НО
I
1
1
I
1
I
WRITES
PK,FK1 Book Num
+PK,FK2 AU ID
AUTHOR
PK AU ID
Au_FName
Au_LName
Au_BirthYear
Transcribed Image Text:CHECKOUT PK Check Num FK1 Book Num Pat_ID FK2 Check Out Date Check Due Date Check_In_Date BOOK PK Book Num Book Title Book Year Book Cost Book Subject FK1 Pat_ID ---H- PATRON PK Pat ID Pat_FName Pat LName Pat Type НО I 1 1 I 1 I WRITES PK,FK1 Book Num +PK,FK2 AU ID AUTHOR PK AU ID Au_FName Au_LName Au_BirthYear
Expert Solution
trending now

Trending now

This is a popular solution!

steps

Step by step

Solved in 2 steps with 2 images

Blurred answer
Similar questions
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY