Consider the following database schema for a library. Book (BookID:int, BookTitle:string(unique), Author:string, publisher:string) Borrowing-Record (BookID: int, CustomerCPR: int, Date: date, Time: time, Price: double) Customer (CPR:int, name: String) Is it possible to have a CPR with more than 9 digits? No, violates referential integrity constraint. Yes. No, violates domain constraints. No, violates key constraint. O No, violates entity Integrity constraint
Consider the following database schema for a library. Book (BookID:int, BookTitle:string(unique), Author:string, publisher:string) Borrowing-Record (BookID: int, CustomerCPR: int, Date: date, Time: time, Price: double) Customer (CPR:int, name: String) Is it possible to have a CPR with more than 9 digits? No, violates referential integrity constraint. Yes. No, violates domain constraints. No, violates key constraint. O No, violates entity Integrity constraint
Chapter2: Database Design Fundamentals
Section: Chapter Questions
Problem 11RQ
Related questions
Question
![QUESTION 1
Consider the following database schema for a library.
Book (BookID:int, BookTitle:string(unique), Author:string, publisher:string)
Borrowing-Record (BookID: int, CustomerCPR: int, Date: date, Time: time, Price: double)
Customer (CPR:int, name: String)
Is it possible to have a CPR with more than 9 digits?
O No, violates referential integrity constraint.
O Yes.
O No, violates domain constraints.
No, violates key constraint.
O No, violates entity Integrity constraint](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2Fc840954b-0051-4dd5-96bd-a8b33efcd1ed%2Fc312b964-8322-42b2-aea6-9f4cf306dc46%2Fwjqqp4n_processed.png&w=3840&q=75)
Transcribed Image Text:QUESTION 1
Consider the following database schema for a library.
Book (BookID:int, BookTitle:string(unique), Author:string, publisher:string)
Borrowing-Record (BookID: int, CustomerCPR: int, Date: date, Time: time, Price: double)
Customer (CPR:int, name: String)
Is it possible to have a CPR with more than 9 digits?
O No, violates referential integrity constraint.
O Yes.
O No, violates domain constraints.
No, violates key constraint.
O No, violates entity Integrity constraint
Expert Solution
![](/static/compass_v2/shared-icons/check-mark.png)
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
Knowledge Booster
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
![A Guide to SQL](https://www.bartleby.com/isbn_cover_images/9781111527273/9781111527273_smallCoverImage.gif)
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr
![A Guide to SQL](https://www.bartleby.com/isbn_cover_images/9781111527273/9781111527273_smallCoverImage.gif)
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr