Question: PRACTICE EXERCISES Write queries for the following by using the Corporation database. 1 . Display all employees with their commission value. Display 0 commission for
PRACTICE EXERCISES
Write queries for the following by using the Corporation database.
Display all employees with their commission value. Display commission for employees who do not get any commission.
Count the total number of employees.
Count the distinct relation names in DEPENDENT table.
Display all employee names and hire dates. Display hire dates with the format OCTOBER.
Find the average, highest, and lowest employment years for employees.
Display the total number of dependents for each employee for employees who have at least two dependents.
Find average employee commission.
a Ignore nulls.
b Do not ignore nulls.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
