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

  Explain what would be the data load and refresh cycles

For an airlines company, identify three operational applications that would feed into the data warehouse. What would be the data load and refresh cycles

  Imagine that you work for a consulting firm that offers

imagine that you work for a consulting firm that offers information technology and database services. part of its core

  1 the appropriate sql statements for each query which

1. the appropriate sql statements for each query which should be copied from your sql code in mysql and pasted into

  Highest average mark

Write a program to calculate and store the average obtained by 20 pupils in 7 subjects. Output the pupil that made the highest average mark in addition to those pupils making 50 marks and over.

  Justification for utalizing database management system

What is the justification for utalizing database management system approach

  Create a database design specification

Create a database design specification (Enhanced Entity Relationship Diagram (EERD) and Relational Data Model (RDM)) from the given business description. The RDM must be in 301 Normal Form.

  Create naming conventions for each entity and attributes

Create naming conventions for each entity and attributes. Describe each step of the process that will enable you to have a 2nd Normal Form data structure.

  Explain what is meant by wear-leveling in flash drives

What is the capacity of a hard drive (in GB) consisting of 120,000 tracks, 4,000 sectors, and 4 surfaces? Assume each block has 512 bytes.

  Task 1 create 3 rows of data for each table ensuring that

task 1 create 3 rows of data for each table ensuring that the referential integrity is valid.task 2 add the 30 rows of

  E-r diagrams are oriented reward which of the data models

Is it possible for two entities to be related to each other in two ways? For example, could entity A be related to entity B both 1:M and 1:1 at the same time?

  Justify a question on database management

When a student has not chosen a major at a university, the university often enters a value of "Undecided" for the major field. Is "Undecided" a way to represent the null value? Should it be used as a default value? Justify your answer carefully.

  Does the design include screens for the entire database

In this assignment you will be given a database and will create a user interface for it using the best practices that you have learned in the course. In industry designing and building a user interface takes months or even years to complete. We do..

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