Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider the diagram from your previous assignment: First Last Jobs Interests Address Number Amount Name 1 M PERSON takes LOAN Generate SQL script (i.e. create

image text in transcribed

Consider the diagram from your previous assignment: First Last Jobs Interests Address Number Amount Name 1 M PERSON takes LOAN Generate SQL script (i.e. create the necessary tables, including primary/foreign keys) that represents the diagram from your previous assignment. Once you have generated SQL tables, come up with INSERT statements that load the following data into the database: John Smith, 111 N. Wabash Avenue, who worked as a plumber and a bouncer Jane Doe, 243 S. Wabash Avenue, who worked as a waitress and an accountant Mike Jackson, 1 Michigan Avenue, with no record of previous jobs held Mary Who, (no address available), who worked as an accountant and risk analyst Jane Doe has two loans out: #1, 5% interest, $10000 and #2, 12%, $7000 Mike Jackson has three loans out: #2, 10% interest, $1000 and #3, 20%, $25000, #4, 3% interest, $100000. You may make any reasonable assumptions about data domains. Remember that in SQL strings (CHAR and VARCHAR/VARCHAR2) are represented with single quotes. So, for example, 'Plumber' is the way to represent a job (not Plumber). Also remember that all tables must have a primary key

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design Application Development And Administration

Authors: Michael V. Mannino

3rd Edition

0071107010, 978-0071107013

More Books

Students also viewed these Databases questions

Question

What does the start( ) method defined by Thread do?

Answered: 1 week ago