Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Create SQL code to create all the tables including primary and foreign keys 2. Create 3 queries and one must include a join.

1. Create SQL code to create all the tables including primary and foreign keys 2. Create 3 queries and one A query to find all items with low inventory A query to find all items in the Central region All suppliers 

1. Create SQL code to create all the tables including primary and foreign keys 2. Create 3 queries and one must include a join. Some ideas include: A query to find all items that cost more than $10. A query to find all items with a name that begins with 'S' A query to find the average number of items on hand A query to find all items with low inventory A query to find all items in the Central region All suppliers from the North region All items supplied by Wallflower These are just some examples - feel free to create any queries you would like. The tables are below: Region RegionID 101 102 103 104 105 Supplier SuppID 2 RegionName North South East West Central SuppName Cost Company Wallflower SuppPhone 111-222-7895 222-333-1236 regionID 101 105 A query to find all items with low inventory A query to find all items in the Central region All suppliers from the North region All items supplied by Wallflower These are just some examples - feel free to create any queries you would like. The tables are below: Region RegionID 101 102 103 104 105 Supplier SuppID 1 2 3 4 Item ItemID 1001 1002 1003 1004 1005 RegionName North South East West Central SuppName Cost Company Wallflower Sam Central Glamazon Item Description Lamp Shoes Shirt Table Socks SuppPhone 111-222-7895 222-333-1236 333-444-4569 444-555-1597 ItemPrice 15.00 30.00 20.00 50.00 5.00 regionID 101 105 105 103 ItemOnHand 10 5 12 13 20 SuppID 1 3 2 4 2

Step by Step Solution

There are 3 Steps involved in it

Step: 1

The images youve provided show the structure of three database tables Region Supplier and a table that isnt fully visible but seems to contain invento... 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

Income Tax Fundamentals 2013

Authors: Gerald E. Whittenburg, Martha Altus Buller, Steven L Gill

31st Edition

1111972516, 978-1285586618, 1285586611, 978-1285613109, 978-1111972516

More Books

Students also viewed these Databases questions

Question

How should Gillette keep its technological lead?

Answered: 1 week ago

Question

What is the purpose of a retaining wall, and how is it designed?

Answered: 1 week ago

Question

How do you determine the load-bearing capacity of a soil?

Answered: 1 week ago

Question

what is Edward Lemieux effect / Anomeric effect ?

Answered: 1 week ago

Question

Define Management by exception

Answered: 1 week ago

Question

Describe your nations worldview (beliefs, values/ethics, rituals).

Answered: 1 week ago