Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Your assignment is to write and execute the SQL queries that will produce the data ( record sets ) requested below using the Pine Valley
Your assignment is to write and execute the SQL queries that will produce the data record sets
requested below using the Pine Valley Furniture database in Microsoft Access and Teradata SQL
Assistant. Please print out a copy of the Pine Valley Furniture Database Description document
for reference purposes as you work on this assignment. Use Microsoft Access. After you are
able to run your SQL statement and get the desired result, copy your
SQL statement as text and
the Recordset your outputresults from each SQL statement
When you have finished, please submit this Word document including your SQL statements
and output in BBLearn. You may want to use the Snipping Tool to copy the recordset
output
List customer ID customer name, order ID and order date, for all customers who have
placed orders.
Hint: You need to include tables in your FROM clause and you will need JOIN
List customer ID customer name, order ID order date, product ID and the quantity of
each product ordered, for all customers who have placed orders.
Hint: You need to include tables in your FROM clause and you will need JOINS
List customer ID customer name, order ID order date, product name, quantity ordered,
and price of each product, for all customers who have placed orders.
Hint: You need to include tables in your FROM clause and you will need JOINS
List the customer name, city, and state of customers who ordered products or
Hint: You need to include tables in your FROM clause and you will need JOINS
List the customer name, order date, and product description for those customers who
have purchased a Computer Desk.
Hint: You need to include tables in your FROM clause and you will need JOINs
Which products were ordered before List the product name, the quantity
ordered, and the order date for all orders placed before
Hint: Remember to use # sign as a delimiter for the date orderdate ##
Write a query that will list the customername for orders that were placed before
Extra Credit worth pt Now write a nested query that will list the customername for
orders that were placed before
Hint: Your inner query should retrieve customerID from the ordert table and your
outer query should retrieve customername from the customert table. Use the IN
command in the WHERE clause of your outer query. See the class slides for an example.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started