Deliverable 1. Simple SQL Statements

Use the Pine Valley database to answer each of the questions. Each question within deliverable 1 must begin on a new page and be sure to document the question as the title of each item at the top of each page. Also, using a 12-point font, include the SQL statement and then provide a screen shot of each query. The screen shots must include both the SQL statement and the results for each item below based on the data entered in task 1. The screen shots must be large enough for the instructor to clearly read the results without a magnifying glass!

Caution: Read the instructions carefully! Each question is based on a single SQL statement, and the single SQL statement might contain sub-queries (additional SELECT statements) within the statement

A.Provide a list all of the Customer ID, Customer Names, and States and sort the list in alphabetical order by Customer Name.

B.Provide a list of all of the Customer ID, Customer Names, and States, and sort the list by state with the Customer Names in alphabetical order within each state.

C.What is the full address of the customer named Kaneohe Homes? That includes the name, street, city, state, and zip code.

D.Provide a list of the product name, product ID, and unit price for all of the products in the Product table, sorted in alphabetical order by product name.

E.What is the standard price and standard price if increased by 15% for every product? You will need to include identifying information, such as the ProductID and product description too. Be sure that your column headings are informative.

F.What is the average standard price for the products with a product finish of natural ash?

G.Provide a listing of all of the products that includes the difference between its standard price and the overall average standard price of all products. Be sure to include product identifying information, the standard price, the average standard price, and the difference. Be sure the column headings are informative.

H.What is the product name, product ID and price of most expensive product in the product table?

I.Which orders have been placed since October 20, 2016? Be sure to include the Order ID and the order date.

J.List the product name, standard price, and finish for all tables that cost more than $300 and all desks that cost more than $300.

K.Provide a listing of all of the product IDs shown in the Order Line table without repeating any of them

L. Which states have more than one customer? List the states and the number of customers for those states. The list must not include the states that do not have more than one customer.

Academic Honesty!
It is not our intention to break the school's academic policy. Posted solutions are meant to be used as a reference and should not be submitted as is. We are not held liable for any misuse of the solutions. Please see the frequently asked questions page for further questions and inquiries.
Kindly complete the form. Please provide a valid email address and we will get back to you within 24 hours. Payment is through PayPal, Buy me a Coffee or Cryptocurrency. We are a nonprofit organization however we need funds to keep this organization operating and to be able to complete our research and development projects.