Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using the AWLT database write SQL statements USING FUNCTIONS that will address the following questions. PART A . These all use the to _ char

Using the AWLT database write SQL statements USING FUNCTIONS that will address the following questions. PART A. These all use the to_char( function in some way: 1. Find the total sales for all the products for the last full year. 2. Find the total sales for each year. 3. Find the average amount of sales by month. Put in a logical order. 4. Display the toryi amount of profit [(UnitPrice - StandardCost)* Quantity] from sales of products that had "HL" in their product model name for the month of June for each year available. 5.(building on the results in Q4) Only display the models that lost money. 6. What day of the week had the most total sales? ADVENTURE WORKS (LIGHT) DATABASE This database is named AWLT on our Oracle server.

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

Oracle Databases On The Web Learn To Create Web Pages That Interface With Database Engines

Authors: Robert Papaj, Donald Burleson

11th Edition

1576100995, 978-1576100998

More Books

Students also viewed these Databases questions

Question

What is conservative approach ?

Answered: 1 week ago

Question

What are the basic financial decisions ?

Answered: 1 week ago