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 90 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
Gracias!


steff9894

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

 

Did you know?

By definition, when a medication is administered intravenously, its bioavailability is 100%.

Did you know?

For pediatric patients, intravenous fluids are the most commonly cited products involved in medication errors that are reported to the USP.

Did you know?

In Eastern Europe and Russia, interferon is administered intranasally in varied doses for the common cold and influenza. It is claimed that this treatment can lower the risk of infection by as much as 60–70%.

Did you know?

The strongest synthetic topical retinoid drug available, tazarotene, is used to treat sun-damaged skin, acne, and psoriasis.

Did you know?

Approximately one in four people diagnosed with diabetes will develop foot problems. Of these, about one-third will require lower extremity amputation.

For a complete list of videos, visit our video library