Question
Creating Subqueries Using the ALL Keyword In most companies, you can assume that the higher-level job titles have employees that are older than employees with
Creating Subqueries Using the ALL Keyword In most companies, you can assume that the higher-level job titles have employees that are older than employees with a lower-level job title. Using the orion.staff table, determine whether there are any lowerlevel purchasing agents (Purchasing Agent I and Purchasing Agent II) that are older than all the higher-level purchasing agents (Purchasing Agent III). The final report should display Employee_ID, Job_Title, Birth_Date, and a calculated Age column for the employee as of 02FEB2013.
Use the SAS date constant ('02FEB2013'd) in the calculation for Age. If you use the TODAY function to calculate the age, the values will differ from the results below:
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started