Author Question: What are the rules for naming and defining attributes? What will be an ideal ... (Read 47 times)

daltonest1984

  • Hero Member
  • *****
  • Posts: 536
What are the rules for naming and defining attributes?
 
  What will be an ideal response?

Question 2

A ________ is an attribute that appears as a non-primary key attribute in one relation and as a primary key attribute (or part of a primary key) in another relation.
 
  A) Referential integrity
  B) Primary key
  C) Foreign key
  D) Unique key



Sassygurl126

  • Sr. Member
  • ****
  • Posts: 320
Answer to Question 1

Name attributes using the following guidelines:
 An attribute name is a noun.
 An attribute name should be unique.
 To make an attribute name unique and for clarity, each attribute name should follow a standard format.
 Similar attributes of different entity types should use similar but distinguishing names.
 An attribute definition states what the attribute is and possibly why it is important.
 An attribute definition should make it clear what is included and what is not included in the attribute's value.
 Any aliases, or alternative names, for the attribute can be specified in the definition.
 It may also be desirable to state in the definition the source of values for the attribute.
 An attribute definition should indicate if a value for the attribute is required or optional.
 An attribute definition may indicate if a value for the attribute may change once a value is provided and before the entity instance is deleted.
 An attribute definition may also indicate any relationships that attribute has with other attributes.

Answer to Question 2

C



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
 

Did you know?

There used to be a metric calendar, as well as metric clocks. The metric calendar, or "French Republican Calendar" divided the year into 12 months, but each month was divided into three 10-day weeks. Each day had 10 decimal hours. Each hour had 100 decimal minutes. Due to lack of popularity, the metric clocks and calendars were ended in 1795, three years after they had been first marketed.

Did you know?

The highest suicide rate in the United States is among people ages 65 years and older. Almost 15% of people in this age group commit suicide every year.

Did you know?

If you could remove all of your skin, it would weigh up to 5 pounds.

Did you know?

For high blood pressure (hypertension), a new class of drug, called a vasopeptidase blocker (inhibitor), has been developed. It decreases blood pressure by simultaneously dilating the peripheral arteries and increasing the body's loss of salt.

Did you know?

As many as 20% of Americans have been infected by the fungus known as Histoplasmosis. While most people are asymptomatic or only have slight symptoms, infection can progress to a rapid and potentially fatal superinfection.

For a complete list of videos, visit our video library