Question

Which of the following describes referential integrity? A. A Primary Key of a relational table must...

Which of the following describes referential integrity?

A. A Primary Key of a relational table must not contain a null value

B. One fact must not be in multiple places

C. The value for a foreign key attribute must either be null or match the one of the data value of that attribute in the table in which the attribute is a primary key

D. Referential Integrity is a principle that prevents the use of redundancy, avoids null values and creates a minimal database

E. Multiple facts must not be stored in a single cell

Which of the following is most likely a violation of the one-fact, one-place rule

A. Customer Id is used as a primary key of a sale table table

B. Cash Receipt id is posted as a foreign key in a sale table for a company that requires immediate cash payment in full for each sale

C. A Separate Table is created to represent an association between warehouses and inventory with multiplicities 1..* - 0..* and the attribute "quantity on hand" is assigned to the association table.

D. Customer id posted as a foreign key in a sale table

E. A separate table is created to represent an association between Purchase and Cash, Disbursement with multiplicities 0..1 - 0..1 and the attribute " Amount of Cash Disbursement Applied to a Purchase" is assigned to the association table

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Answer


1) C. The value for a foreign key attribute must either be null or match one of the data values in the table in which the attribute is a primary key

2) A. Customer ID is used as the primary key of a Sale table.

Add a comment
Know the answer?
Add Answer to:
Which of the following describes referential integrity? A. A Primary Key of a relational table must...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Match the following words and explanations Domain Integrity Entity integrity Referential Integrity Explanations: A: All values...

    Match the following words and explanations Domain Integrity Entity integrity Referential Integrity Explanations: A: All values in a single column belong to the same scope of meaning B: Each primary key value must have a matching value in the Foreign Key C: The table has a primary key, which may be NULL D: Each Foreign Key value must have a matching value in the Primary key E: The table has a Primary key, which is never NULL

  • QUESTION 6 Which of the following statements best illustrates the "Key" constraint? The schema MUST be...

    QUESTION 6 Which of the following statements best illustrates the "Key" constraint? The schema MUST be created before tables are added A primary key MUST NOT have duplicate values A foreign key value MUST have a value already present as a primary key in another table (or be NULL) A primary key value MUST have a value QUESTION 7 Which of the following statements best illustrates the "Referential Integrity" constraint? The schema MUST be created before tables are added A...

  • QUESTION 1 What is the most common relationship within a relational database? Select the best answer...

    QUESTION 1 What is the most common relationship within a relational database? Select the best answer from the following. One-To-One relationship. o One-To-Many relationship. Many-To-Many relationship. Zero-To-Zero relationship. QUESTION 2 What is an "entity'? Select the best answer from the following. An entity, for our purposes, is the same as a table in the database. An entity represents one of the columns in an individual table. There are no entities in a relational database. Entities are only part of NoSQL...

  • List the characteristics that a table must have to be considered a relation. List two synonyms...

    List the characteristics that a table must have to be considered a relation. List two synonyms for “file,” two for “record,” and two for “field.” What are the four uses of a primary key? What are the desirable characteristics of a primary key? What is a surrogate key and when do you use them? What is a foreign key? What is referential integrity and why is it important? What are the three possible interpretations of a null value? What is...

  • Please convert figure 9.9 in p305 into relational schemas. In the table, the primary key and...

    Please convert figure 9.9 in p305 into relational schemas. In the table, the primary key and foreign keys (arrows) must be identified. Engin size CAR Vin Price VEHICLE d TRUCK Tonnage Model N Date SUV No seats SALE SALESPERSON CUSTOMER Address City Street Sid Name Ssn State Name Figure 9.9 EER diagram for a car dealer

  • Given the following relational database schema (primary keys are bold and underlined). Answer questions 2.1 to 2.4 Orde...

    Given the following relational database schema (primary keys are bold and underlined). Answer questions 2.1 to 2.4 Orders(orderld, customerld, dateOrdered, dateRequired, status) Customer(customerld, customerLastName, customerStreet, customerCity, customerState, customer Lip OrderDetails(orderld.productld, quantity, lineNumber, amount) Products(productld, name, description, quantity, unitPrice) Account(accountNumber, customerld, dateOpened, creditCard, mailingStreet, mailingCity, mailingState, mailingZip) 2.1 (2 Points) List all possible foreign keys. For each foreign key list both the referencing and referenced relations. 2.2 (2 Points) Devise a reasonable database instance by filling the tables with data of...

  • 1. Which of the following best describes the meaning of the multiplicities next to the number...

    1. Which of the following best describes the meaning of the multiplicities next to the number 1 in the preceding diagram? Stocks are traded in only one exchange. Stocks are traded in at least one exchange. Stocks are traded in a minimum of zero exchanges. Stocks are traded in a maximum of many exchanges. Both c and d are correct. 2. Which of the following best describes the meaning of the multiplicities next to the number 2 in the preceding...

  • The employee is table, the best candidate for primary key is Select one: a. Department ID...

    The employee is table, the best candidate for primary key is Select one: a. Department ID b. Employee hiredate c. Employee ID d. Employee salary Question 2 A primary key can be composed of more than one attribute. Select one: True False Question 3 A foreign key allows you to join two tables. Select one: True False Question 4 Given two tables, department (dept_id, dept_location, dept_name) and EMPLOYEE(emp_id, emp_name, emp_dept_id, emp_name, emp_salary), which attribute (column) is the foreign key? Select...

  • SQL queries and procedures TABLE: Employees Business Rules: EmployeeID is defined as the primary key. Address...

    SQL queries and procedures TABLE: Employees Business Rules: EmployeeID is defined as the primary key. Address has been denormalized to include City and State for performance reasons. DeptNbr is a foreign key that references DeptNbr in the Department table Manager is a foreign key that references EmployeeID in the Employees table Data Structure: (EmployeeId, LastName, FirstName, Street, City, State, Zip, DateOfHire, DateOfBirth, JobTitle, Salary, DeptNbr(fk), Manager(fk)) TABLE: Department Business Rules: DeptNbr is defined as the primary key. Data Structure: (DeptNbr,...

  • Question 4 To represent a one-to-many relationship in a relational database design, _____. Group of answer...

    Question 4 To represent a one-to-many relationship in a relational database design, _____. Group of answer choices the key of the child is placed as a foreign key into the parent the key of the parent is placed as a foreign key into the child an intersection table must be created the key of the table on the "many" side is placed in the table on the "one" side the keys of both tables are joined into a composite key...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT