This topic contains a solution. Click here to go to the answer

Author Question: Show the CREATE TABLE statements for HAPPY INSURANCE database for the table AGENT (assume that ... (Read 87 times)

frankwu

  • Hero Member
  • *****
  • Posts: 549
Show the CREATE TABLE statements for HAPPY INSURANCE database for the table AGENT (assume that non-primary key columns can be optional) with the user defined constraint specifying that the agent rating must be between 50 and 150.
 
  What will be an ideal response?

Question 2

As a systems analyst works to understand users, their organization, and its information requirements, it becomes important to examine different types of hard data that offer information unavailable through any other method of data gathering.
 
  Indicate whether the statement is true or false



Related Topics

Need homework help now?

Ask unlimited questions for free

Ask a Question
Marked as best answer by a Subject Expert

kingdude89

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

6CREATE TABLE agent
(agentid CHAR(2),
agentname CHAR(10),
agentarea CHAR(1),
agentrating INT CHECK (agentrating >= 50 AND agentrating <= 150)
agentyearofhire INT,
supervisedby CHAR(2),
PRIMARY KEY (agentid),
FOREIGN KEY (agentarea) REFERENCES area,
FOREIGN KEY (supervisedby) REFERENCES agent);

Answer to Question 2

TRUE




frankwu

  • Member
  • Posts: 549
Reply 2 on: Jul 7, 2018
YES! Correct, THANKS for helping me on my review


carojassy25

  • Member
  • Posts: 299
Reply 3 on: Yesterday
:D TYSM

 

Did you know?

Your chance of developing a kidney stone is 1 in 10. In recent years, approximately 3.7 million people in the United States were diagnosed with a kidney disease.

Did you know?

Adults are resistant to the bacterium that causes Botulism. These bacteria thrive in honey – therefore, honey should never be given to infants since their immune systems are not yet resistant.

Did you know?

About 60% of newborn infants in the United States are jaundiced; that is, they look yellow. Kernicterus is a form of brain damage caused by excessive jaundice. When babies begin to be affected by excessive jaundice and begin to have brain damage, they become excessively lethargic.

Did you know?

Vital signs (blood pressure, temperature, pulse rate, respiration rate) should be taken before any drug administration. Patients should be informed not to use tobacco or caffeine at least 30 minutes before their appointment.

Did you know?

More than 34,000 trademarked medication names and more than 10,000 generic medication names are in use in the United States.

For a complete list of videos, visit our video library