Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Relational Model representation of the Henry Books Database: Relations and their Attributes are specified below with the identification of the Primary key at the end

image text in transcribed

Relational Model representation of the Henry Books Database: Relations and their Attributes are specified below with the identification of the Primary key at the end of each Relation: a) Author - (author Numumeric, author Last/char, author First/char) PK: author Num b) Book - (bookCode/char, title/char, publisherCode/char, type/char, priceumeric, paperback/char) PK: bookCode c) Branch - (branchNumumeric, branchName/char, branchLocation/char, numEmployeesumeric) PK: branchNum d) Inventory - (bookCode/char, branchNumumeric, onHandumeric) PK: bookCode e) Publisher - (publisherCode/char, publisher Name/char, city/char) PK: publisherCode f) Wrote - (bookCode/char, author Numumeric, sequenceumeric) PK: bookCode,authorNum Sequence refers to the sequence in which this author appears on the cover - first author, second author, etc. g) Copy - (bookCode/char, branchNumumeric, copyNumumeric, quality/char, priceumeric) PK: bookCode, branchNum, copyNum Note: "char" in WinRDBI represents a String enclosed within single quotes. Implement the following relation algebra queries in WinRDBI: 1) For every Artistic book (type is ART'), list the book code, book title, its price, and the name of the author along with the author sequence. 2) Retrieve the names of authors who have written at least one Fiction Book (type is FIC'). 3) Retrieve the names of all authors who have written books published by Jove Publications'. 4) Retrieve the names of authors who have not written any book in the possession of Henry Books. 5) For every book of 'Good quality that the Henry Books possesses at its collection of branches, list the book title, the branch name that carries it, and the name of the author (along with the sequence number) who wrote it. 6) The quality of each book available at Henry Books branches is specified in the "Copy" Relation. If all possible qualities of a specific book are available at the Henry Books branches collectively, then output its title

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions