Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Advanced PROC SOL Features update Accessibility Mode Creating a Macro Variable from an SQL Query a. Produce a report of Country and a new column

image text in transcribed
image text in transcribed
image text in transcribed
Advanced PROC SOL Features update Accessibility Mode Creating a Macro Variable from an SQL Query a. Produce a report of Country and a new column named Purchases (SUM (Total_Retail_Price)). Group the report by Country. Include only orders placed in 2011. Order the report so that the highest values of Purchases sums are at the top. The data is in the following tables (columns of interest in parenthesis): . Order fact (Customer_ID, Total_Retail_Price) e Customer (Customer_ID, Country) Name the report 2011 Purchases by Country. Label the columns as indicated in the sample report: PROC SQL Output 2811 Purchases by Country Customer Country Purchases uS CA AU $10,655.97 $5,210.5 $3,982.49 Copyright C 2014, SAS Institute Inc., Cary, North Carolina, USA, ALL RIGHTS RESERVED

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

More Books

Students also viewed these Databases questions

Question

Challenges Facing Todays Organizations?

Answered: 1 week ago

Question

=+country competitive advantages? Why? Support your point of view.

Answered: 1 week ago