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

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. List all the desks in the company that cost between $400 and $700 inclusive.

2. List customer names by their state, city and names in all in the ascending order.

3. Retrieve the names of customers who are in Texas and California.

4. Display the total cost for each order that has been placed and rename the output columns.

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

6. Display customer names who have made 2 orders.

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

8. 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';

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

More Books

Students also viewed these Databases questions

Question

To what extent is object recognition viewpoint-invariant?

Answered: 1 week ago