Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
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