Under what circumstances can a relation have duplicate rows

Assignment Help Database Management System
Reference no: EM131735938

Assignment

Part 1

- Answer in your own words, and reference sources

1. Describe the characteristics a table must have to be considered a relation.

2. Define the term domain, and explain the significance of the domain integrity constraint to a relation.

3. Using entity-attribute notation, give an original example of a table that is not a proper relation. Explain what makes it not a relation.

4. Under what circumstances can a relation have duplicate rows?

5. Define the term non-unique key and give an original example using entity-attribute notation.

6. Give an original example of a relation with a unique composite key, using entity-attribute notation.

7. What is a surrogate key, and under what circumstances would you use one?

8. Why are the values of surrogate keys often hidden from users on forms, queries, and reports?

9. Explain the term foreign key and give an original example, using entity-attribute notation.

10. Define the term referential integrity constraint and give an example of one.

11. How does a referential integrity constraint contribute to database integrity?

Part 2

1. Explain how entities are transformed into tables.

2. Explain how attributes are transformed into columns. What column properties do you take into account when making the transformations?

3. Why is it necessary to apply the normalization process to the tables created according to your answer to question 1?

4. What is denormalization?

5. When is denormalization justified?

6. Explain the problems that unnormalized tables have for insert, update, and delete actions.

Part 3

Describe in your own words the purpose of the two business rules:

Finally, assume the folowing rules, which are called business rules:

* If an EMPLOYEE row is to be deleted and that row is connected to any

ASSIGNMENT, the EMPLOYEE row deletion will be disallowed.

* If a PROJECT row is deleted, then all the ASSIGNMENT rows that are connected to the deleted PROJECT row will also be deleted.

The business sense of these rules is as follows:

* If an EMPLOYEE row is deleted (for example, if the employee is transferred), then someone must take over that employee's assignments. Thus, the application needs someone to reassign assignments before deleting the employee row.

* If a PROJECT row is deleted, then the project has been canceled, and it is unnecessary to maintain records of assignments to that project.

These rules are typical business rules.

Reference no: EM131735938

Questions Cloud

Define as social relationships and group structure : How would you design a team work environment to minimize job dissatisfaction? Consider factors such as social relationships, group structure
Define the simpsons called lisa the iconoclast : Provide a Works Cited page citation for a website you consulted and referenced. You looked up an episode of The Simpsons called "Lisa the Iconoclast"
Residents from neighborhood b leave the city : A and 10 black residents from neighborhood B leave the city. Which of the following statements is true about the city's dis-similarity index.
What are the factors affecting income inequality : What are the three waves of globalization and discuss the uniqueness of the third wave - Discuss the details behind the Mexican and Russian crisis.
Under what circumstances can a relation have duplicate rows : Under what circumstances can a relation have duplicate rows? What is a surrogate key, and under what circumstances would you use one?
Identify and describe the screen design issues : Considering that most of the users will be senior citizens, identify and describe the screen design issues that must be taken into consideration.
World bank or the international monetary fund : Identify which of the following situations currently faced by the World Bank or the International Monetary Fund are examples of adverse selection.
What minimum amount of annual cash flows must be generated : What minimum amount of annual cash flows must be generated by the project for the company to make the investment
The most essential in developing an input design : Explain what principle you believe is the MOST essential in developing an input design, and justify your choice.

Reviews

Write a Review

Database Management System Questions & Answers

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd