Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Continue working on your Order database on the following queries using SQL statements. Copy and past 1) query question, 2) SQL statement and 3) SQL

image text in transcribed

Continue working on your Order database on the following queries using SQL statements. Copy and past 1) query question, 2) SQL statement and 3) SQL output to a word file, and print it out.

1. Retrieve the average, highest, and lowest price of each product finish.

2. Display customer names who have made 2 orders.

3. Display the order IDs and the number of products placed for each order.

4. Create a view for customer in Texas and New York.

Example for three output: Query, SQL and output Display the SKU description for the buyer Pete Hansan. SELECT SKU_DESCRIPTION FROM SKU_DATA WHERE Buyer = 'Pete Hansen';

CUSTOMER CustomerlD CustomerName CustomerAddress CustomerCity CustomerState CustomerPostalCode ORDER OrderlD OrderDate CustomerlD ORDER LINE OrderlD ProductID OrderedQuantity PRODUCT ProductID ProductDescription ProductFinishl ProductStandardPrice ProductLinelID

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

DB2 Universal Database V7.1 Application Development Certification Guide

Authors: Steve Sanyal, David Martineau, Kevin Gashyna, Michael Kyprianou

1st Edition

0130913677, 978-0130913678

More Books

Students also viewed these Databases questions

Question

Explain the various techniques of Management Development.

Answered: 1 week ago