Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Attached are the fields and an example of each. I am having trouble with the following: Show orderdate, total daily sales (in $), and total

image text in transcribedAttached are the fields and an example of each. I am having trouble with the following:

Show orderdate, total daily sales (in $), and total quantity (i.e. total number of units) sold in each day for plastic items. Plastic items are items that have the word plastic with any combination of upper and lower case letters in productname

Show product category and total sales (in $) for items sold in each category within the first 3 months of 2016.

Show total profit in each quarter of year 2016. The query must return total profit and quarter (i.e. 1,2,3,4)

Thanks!

orderdate date orderid character (14) 1 CA-2016-152156 shipdate shipmode character varying (15) 2016-11-11 Second Class customernumber smallint IPK integer productid category character (16) character varying (16) 459 FUR-80-1000179. Furniture subcategory character varying (12) productname character varying (150) Home/Omice Personal File unitrice real 26195 quantity smallint discount real real 2016-11-08 Bookcases 2 041 9136

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

Concepts Of Database Management

Authors: Joy L. Starks, Philip J. Pratt, Mary Z. Last

9th Edition

1337093424, 978-1337093422

More Books

Students also viewed these Databases questions

Question

=+j Explain the essential nature of repatriation.

Answered: 1 week ago