Question: 2. Create a SQL query that shows the customer_id, customer last name, customer first name, customer street address, city and state, along with the order

2. Create a SQL query that shows the customer_id, customer last name, customer first name, customer street address, city and state, along with the order id, product name and list price.

All of the customer details come from the demo_customers table. You will have to join this table to the demo_orders table usingorder_id and then join the demo_orders table to the demo_products table using product_id.

3. Turn this SQL query into a view, like this:

CREATE VIEW customer_purchases_vw AS(

sql query goes here

);

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!