Question
Create an ORACLE 11g query displaying last_name, department_id, salary, commission_pct aliased as comm_pct, and the commission amount (salary multiplied by commission_pct, when commission_pct is null,
-
Create an ORACLE 11g query displaying last_name, department_id, salary, commission_pct aliased as comm_pct, and the commission amount (salary multiplied by commission_pct, when commission_pct is null, replace it with a zero) aliased with comm_amt. Show only those records for departments that are located in cities not starting with the letter s. * Note city is not a column in employees table but in locations table and the primary key is not found in the employees table but it is in the departments table. In short l.location_id = d.location_id d_department_id = e.department_id
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