Answered step by step
Verified Expert Solution
Question
1 Approved Answer
these are database managements past Questions: from last year ineed help trying to solve , my professor gave it to us to go try but
these are database managements past Questions: from last year ineed help trying to solve my professor gave it to us to go try but i have issues with the er diagram part and normilisation Use the relational schema given below to answer the following questions.
BOOK
PUBLISHER
AUTHOR
AUTHORBOOK
REVIEW
a Write a SQL query to return the number of books published in along with the publisher's
name and total price of the published books.
b Suppose that book review ratings are linearly scaled from to According to this, list the names
of all authors along with their book titles who received a point rating for the published books in
c Find the authors of the most expensive book in the database. List the authors ID along with
the name.
d Find the publisher and category of the books that received rating in
Assume that we wish to construct a database from a set of data items and a set of
functional dependencies given by F Start with Relation R containing all attributes, and perform a
lossless decomposition into two relations, and List carefully the keys for each relation and
Finally, show whether and are in or not.
Alice has a large DVD movie collection. Her friends like to borrow her DVDs and she needs a way to
keep track of who has what. She maintains a list of friends, identified by unique FID's friend identifiers
and a list of DVDs identified by DVDID's DVD identifiers With each friend, there are the name and
allimportant telephone numbers that she can call to get the DVD back. Each DVD is kept with the star
actor's name and title. Whenever a friend borrows a DVD Alice will enter that fact into her database
along with the date borrowed. Whenever the DVD is returned, that fact, too, gets noted along with the
date retumed. Alice wants to keep a complete history of her friends' borrowing habits so that she can ask
favours of the heavy borrowers or perhaps refuse to make further loans to those who habitually don't
return them quickly
Draw an ER diagram according to the given description above. Be certain to indicate identifiers a
cardinality constraints.
Production tracking is important in many manufacturing environments eg the pharmaceutica
industry, children's toys, etc. The following ER diagram captures important information in the trackin
of production. Specifically, the ER diagram captures relationships between production lots or batches
individual production units, and raw materials.
a Please convert the ER diagram into a relational database schema. Be certain to indicate primary keys
and referential integrity constraints.
b The current ER diagram has the following relationship, "raw materials are used in to many lots."
Please explain, in the context of the manufacturing environment, how the meaning changed if the
minimal cardinality is changed to ie the relationship becomes "raw materials are used in to
many lots."
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started