1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Artemon [7]
3 years ago
9

Consider the LIBRARY relational database schema description provided below which is used to keep track of books, borrowers, and

book loans. The relations are: • BOOK (BookID, Title, PublisherName) • BOOK_AUTHORS (BookID, AuthorName) • PUBLISHER (Name, Address, Phone) • BOOK_COPIES (BookID, BranchID, NumberOfCopies) • BOOK_LOANS (BookID, BranchID, CardNumber, DateOut, DueDate) • LIBRARY_BRANCH (BranchID, BranchName, Address) • BORROWER (CardNumber, Name, Address, Phone) 1. Consider the schema given above: (a) (5 points) Give a primary key for each relation. Are there any relations for which there is an alternate candidate key that you have not chosen as the primary key? If yes, mention the relations, candidate keys and the reason (if any) for your choice of the primary key. (b) (10 points) State all referential integrity constraints that should hold on these relations.
Computers and Technology
1 answer:
sdas [7]3 years ago
8 0

Answer:

1) Yes, Publisher relation should have a publisherID primary key.

2) NOT NULL and UNIQUE for the BookID, BranchID, CardNumber and name of the borrower in the Book, Book_Copies, Library_branch, and Borrower relations respectively. The DueDate field of the book_loan relation must be a time constraint. The BookID of the Book relation must be serial number for automatic addition and update of bookid across the database.

Explanation:

The Publisher relation should have primary key publisherID which should replace the publisherName in the Book relation to easily make a join query and attain a third-level database model.

You might be interested in
Declared inside a function and is only available within the function in which it is declared.
vitfil [10]

Answer:

2b2t

Explanation:

2b2t

3 1
3 years ago
GIVING BRAINLIEST What does output allow a computer to do? Display information Receive information Do complex math problems Do m
kumpel [21]
The answer is display information
4 0
3 years ago
Read 2 more answers
What device did vladimir Zworykin use to develop television technology that resulted in the technology shifting from a mechanica
Viefleur [7K]
Zworykin invented a television transmitting and receiving system employing cathode ray tubes.
6 0
3 years ago
Question 2 If you are deploying applications in your Pods that need persistent storage, which controller type should you use
Ugo [173]

Answer:

"StatefulSet" is the right response.

Explanation:

StatefulSet seems to be an API teaching load instrument that is used to start managing stateful implementations.

  • Maintains or controls the integration as well as balancing of such a series of Pods but mostly generates a sort of assurance on the placing an order but rather distinctiveness of certain Pods.
  • Like some kind of Implementation, a StatefulSet did maintain pods that have been predicated on the same type of receptacle.
6 0
3 years ago
Which of these words does not describe factual data?
aleksklad [387]

Answer:

Opinion.

Explanation:

Opinions are made by what someone thinks. What someone thinks is not nececarrily based on true facts.

8 0
3 years ago
Read 2 more answers
Other questions:
  • What did you include in your response? Check all that
    15·1 answer
  • The entrance facility is the place where the connection to a WAN is located. It is basically the point where the LAN begins and
    9·1 answer
  • In Rizzati Corp, vice presidents in departments such as engineering, manufacturing, IT, and human resources report directly to t
    15·1 answer
  • Although highly accurate navigational information from the GPS constellation is exploitable by adversary forces, it is unlikely
    5·1 answer
  • When performing conflict management, it is important to identify your;
    6·1 answer
  • Strobe lights can become more yellow as they age true or false
    8·1 answer
  • HELP!!!<br> THIS HAPPENS EVERY TIME
    6·2 answers
  • Write a program with class name Digits that prompts the user to input a positive integer and then outputs the number reversed an
    6·1 answer
  • Jettison folk 2007, Magnum opus, be moving, offers poisoned commentary on the film industry.
    7·1 answer
  • How bridges are built over water
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!