Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Use SH database for this question Write a select statement that returns Product name, Customer first name, customer last name, Channel description, and amount sold

Use SH database for this question
Write a select statement that returns Product name, Customer first name, customer last name, Channel description, and amount sold for all the sales. Make sure to returns sales even if there is no information on the customer, product, or channel
Write a select statement that returns channel ids that can be found in both sales and costs tables. do not repeat the redundant channel ids
Write a select statement that returns the customer id, first name, last name, and customer income level for the customers who live in a city named 'Farmington'. Make sure to change income level 'K: 250,000-299,999' to 'KV: 250,000-299,999 in the result set
Write a select statement (only one statement) that returns the sum of the sales amount sold for all the customers, for customers in each province, and for customers in each city
Instructions
Deliver one .sql file that contains the questions and the select statements. Also, you need to take a screenshot of your results as pdf file and send them to me.

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

Introductory Relational Database Design For Business With Microsoft Access

Authors: Jonathan Eckstein, Bonnie R. Schultz

1st Edition

1119329418, 978-1119329411

More Books

Students also viewed these Databases questions