Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

SQL, the tables are as follows with the questions below. Thanks for any help! Consumer Table Tb_Consumers Con_ID | Name | City Offers Table Tb_Offers

SQL, the tables are as follows with the questions below.

Thanks for any help!

Consumer Table Tb_Consumers Con_ID | Name | City

Offers Table Tb_Offers Supp_ID | Prod_ID | Price | Quantity

Product Table Tb_Products Prod_ID | Name | MU

Requests Table Tb_Requests Con_ID | Prod_ID | Price | Quantity

Supplier Table Tb_Supplier Supp_ID | Name | City

Transaction Table

Tb_Transactions

Tran_ID | Supp_ID | Con_ID | Prod_ID | Price | Quantity

QUESTIONS:

-- List of names of consumers located in Stevens Point or Chicago or not having Transactions with suppliers from Wausau or Stevens Point?

-- List of names of products for which the total offered quantities exceeds total requested quantities?

-- List of names of consumers having transactions with all suppliers

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_2

Step: 3

blur-text-image_3

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

Refactoring Databases Evolutionary Database Design

Authors: Scott Ambler, Pramod Sadalage

1st Edition

0321774515, 978-0321774514

More Books

Students also viewed these Databases questions