You have been employed by Safety First Insurance (SFI) company. SFI is an insurance broker working...
Fantastic news! We've Found the answer you've been seeking!
Question:
Transcribed Image Text:
You have been employed by Safety First Insurance (SFI) company. SFI is an insurance broker working out of Fiji. Based on the Safety First Insurance ERD diagram you have been tasked with creating a database that will capture the basic structure given in the ERD. SFI will also require some reports for strategic decision making and improving efficiency of daily operations. To achieve this you are required to: 1. Use DDL to create the table structures and populate them. 2. Use DML to create queries that will facilitate extraction and presentation of required information. Agent PK agent id first name last_name user_name phone Customer agent PK id PK,FK1 agent id PK,FK2 cust id Policy payment PK id PK,FK2 policy id O PK,FK1 pay id date Payment PK pay id number amount Property PK prop id cost type PK HPK,FK1 Works at HH id agent id PK,FK2 add id Policy PK policy id policy_num type coverage HH term_price deductible issued_date Property policy PK,FK1 policy id Covers property PK id PK,FK1 policy id PK,FK2 prop id Address PK add id #H street_address state city zip Customer PK cust id first_name last_name dob age phone ssn di num HH HO Policy holder PK id PK,FK1 policy id PK,FK2 cust id Auto policy PK,FK1 policy id Covers car PK id PK,FK1 policy id PK,FK2 car id Lives in PK id +PK,FK1 cust id PK,FK2 add id Had accident PK id PK,FK2 acc id FK2 FK1 cust_id is_fault Accident PK acc id report num date Was in accident PK id PK,FK1 acc id car_id damage cost Car HPK car id model plate color year. doors You have been employed by Safety First Insurance (SFI) company. SFI is an insurance broker working out of Fiji. Based on the Safety First Insurance ERD diagram you have been tasked with creating a database that will capture the basic structure given in the ERD. SFI will also require some reports for strategic decision making and improving efficiency of daily operations. To achieve this you are required to: 1. Use DDL to create the table structures and populate them. 2. Use DML to create queries that will facilitate extraction and presentation of required information. Agent PK agent id first name last_name user_name phone Customer agent PK id PK,FK1 agent id PK,FK2 cust id Policy payment PK id PK,FK2 policy id O PK,FK1 pay id date Payment PK pay id number amount Property PK prop id cost type PK HPK,FK1 Works at HH id agent id PK,FK2 add id Policy PK policy id policy_num type coverage HH term_price deductible issued_date Property policy PK,FK1 policy id Covers property PK id PK,FK1 policy id PK,FK2 prop id Address PK add id #H street_address state city zip Customer PK cust id first_name last_name dob age phone ssn di num HH HO Policy holder PK id PK,FK1 policy id PK,FK2 cust id Auto policy PK,FK1 policy id Covers car PK id PK,FK1 policy id PK,FK2 car id Lives in PK id +PK,FK1 cust id PK,FK2 add id Had accident PK id PK,FK2 acc id FK2 FK1 cust_id is_fault Accident PK acc id report num date Was in accident PK id PK,FK1 acc id car_id damage cost Car HPK car id model plate color year. doors
Expert Answer:
Answer rating: 100% (QA)
SQL CREATE TABLE Statement CREATE TABLE tablename column1 datatype column2 datatype column3 datatype ... View the full answer
Related Book For
Smith and Roberson Business Law
ISBN: 978-0538473637
15th Edition
Authors: Richard A. Mann, Barry S. Roberts
Posted Date:
Students also viewed these databases questions
-
Tables for Data Collections CALCULATION OF INITIAL VOID RATIO FOR ONE-DIMENSIONAL CONSOLIDATION TEST Name: Date: Soil: Consolidation Ring No: Consolidation Frame No: Data Taken: Container Number...
-
ConAir (CA) commercial airlines company requires you experience in database design and have approached you to assist in the design of their new airline database system. They urgently need to have...
-
You have been employed to create program to assist the manager of a coffee shop. You decide to make a prototype application in Java to show what you can do, and to be able to ask the manager what...
-
Draw a simple undirected graph G that has 12 vertices, 18 edges, and 3 connected components.
-
What kind of account is Accumulated Depreciation? How is it reported on the financial statements?
-
Construct a stem-and-leaf plot for the following data. Let the leaf contain onedigit. 312 324 289 335 298 314 309 294 326 317 290 3 317 301 316 306 286 308 284 324
-
What are the two primary types of systems associated with system, product, or service development?
-
Kelly Pitney began her consulting business, Kelly Consulting, on April 1, 2016. The accounting cycle for Kelly Consulting for April, including financial statements, was illustrated in this chapter....
-
In 2002, Berkshire Hathaway issued the first bond ever to have a negative coupon rate. Each bond had a face value of $1000, a maturity of 5 years, and paid a negative coupon which was paid annually....
-
Maria has AGI of $100,000. She donated stock to University worth $50,000, which she had a basis of $40,000. She held the stock for three months before making the donation. What are the tax...
-
P18-1A Combat Fire, Inc. manufactures steel cylinders and nozzles for two models of fire extinguishers: (1) a home fire extinguisher and (2) a commercial fire extinguisher. The home model is a...
-
President Donald Trump spent much of his time in office erecting barriers to trade with other nations, but in early 2020 his administration signaled that it wanted to do something different:...
-
The exchange rate and the labor market Suppose the domestic currency depreciates (i.e., E falls). Assume that \(P\) and \(P^{*}\) remain constant. a. How does the nominal depreciation affect the...
-
Discuss the following statements. a. The Phillips curve implies that when unemployment is high, inflation is low, and vice versa. Therefore, we may experience either high inflation or high...
-
When President Abdel Fatah al-Sissi came to power in a 2013 military coup, he promised to fix Egypts mounting economic problems. Three years later, those problems had only intensified. The country...
-
In May 2019, South Koreas two major airlinesKorean Airlines and Asiana Airlines Inc.were hit by foreign exchange losses arising from the weakness of the Korean won against the U.S. dollar. Korean Air...
-
A French company imported a batch of wheat on CIF basis. The contract provides that the landing quality of the goods should be taken as final. However, when the goods arrived at the destination, the...
-
A copper rod of length L =18.0 in is to be twisted by torques T (see figure) until the angle of rotation between the ends of the rod is 3.08. (a) If the allowable shear strain in the copper is 0.0006...
-
Explain the purpose, methods, and requirements of attachment and perfection.
-
This is a stocklist case arising under 220(b) of our [Delaware] General Corporation Law. The issue is whether a shareholder states a proper purpose for inspection under our statute in seeking to...
-
Distinguish between public and private law.
-
What is meant by a cap and floor?
-
What is the impact on interest rate risk of including a cap and/or floor in the coupon structure?
-
The pricing expression for a risky floater can be thought of as possessing two components. Explain.
Study smarter with the SolutionInn App