Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Complete the following exercise: Using the tables, you created and populated with sample data from Week 8 write SQL queries to answer the following questions.

Complete the following exercise:
Using the tables, you created and populated with sample data from Week 8 write SQL queries to answer the following questions. Bear in mind that you may make changes to your tables and queries as you work your way through this case study to completion.
Here are the SQL queries you are to create:
List the names of the customers who provided bids last month.
List all the customers that have an outstanding balance (amount due to Bob) that is greater than $500.
List all the suppliers where Bob has an outstanding balance that is greater than $1,000.
List all the material that was used for bids where the estimated hours for the bid was greater than 40 hours.
List all the material that Bob purchased from a specific supplier (Note: you can decide on the supplier but there should only be one supplier).
Once you have completed all your DML (select commands) copy and paste your script into a Word document and submit it to the link above.

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

Information Modeling And Relational Databases

Authors: Terry Halpin, Tony Morgan

2nd Edition

0123735688, 978-0123735683

More Books

Students also viewed these Databases questions

Question

=+ (b) Define a set function v, on , by (11.6) "o (f, g] = A(g-f).

Answered: 1 week ago

Question

What is "Tragedy of Commons"? Give a real-life example.

Answered: 1 week ago