Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Using proc_sql 3. Creating a Table and Inserting Data Using a Complex Query Create a table named direct_compensation in the work library. The table should

Using proc_sql

image text in transcribed

3. Creating a Table and Inserting Data Using a Complex Query Create a table named direct_compensation in the work library. The table should contain the following information for all non-managerial Sales staff (those with a level listed in their titles), formatted as indicated: - Sales information is available in orion.order_fact. - The table orion.sales contains Employee_ID, First_Name, Last_Name,_Job_Title, and Salary information for all Sales staff. - Job_Title contains level information for each employee. Copyright @2015, SAS Institute Inc., Cary, North Carolina, USA. ALL RIGHTS RESERVED. 2 Module 3 - Lesson 2 SOL Creating Tables and Views - To calculate Commission, add the Total_Retail_Price values for all sales made by an employee with an order date in 2011 , and take 15% of that total value as commission. - To calculate Direct_Compensation, add Commission plus Salary. Partial PROC SQL Output

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

SQL For Data Science Data Cleaning Wrangling And Analytics With Relational Databases

Authors: Antonio Badia

1st Edition

3030575918, 978-3030575915

More Books

Students also viewed these Databases questions

Question

=+ Is secondary industrial action common and/or legal?

Answered: 1 week ago

Question

=+What sanctions are available to employers

Answered: 1 week ago

Question

=+ If strikes occur, are they legally regulated?

Answered: 1 week ago