Question: IN ORACLE SQL LIVE 2 . Create a list of employees names who have the job _ id of AD _ VP , use the
IN ORACLE SQL LIVE
Create a list of employees names who have the jobid of ADVP use the UPPER function in the WHERE statement
Create a list that includes the first initial of every
employee's first name, a space, and the last name of
the employee, call it Employee Names
Create a list of weekly salaries from the employees
table where the weekly salary is between and
The salaries should be formatted to include a $sign
and be rounded to two decimal points like: $
Create a list of lastnames and hiredates for
employees with dates formatted as April th
call date Hire Date
Create Convert the string March to a date
field with the column heading First Day of Spring
Calculate the number of months between today and Christmas, rounded to a whole number
Display each employees name and a calculation of the
date a year from their hiredate call it First Anniversary
Create a list of every employee's first initial and last name, salary, and commission, if they dont make a commission substitute call the column Commission
Show the First last name and the Last last name from the employees table
Produce a list of the earliest hire date as Highest the latest hire date as Lowest and the number of employees as No of Employees from the employees table
Show the highest average salary for the departments in
the employees table
Round the result to the nearest whole number Run for
solution SELECT ROUNDMAXAVGsalary AS "Highest Avg Sal for
Depts" FROM employees GROUP BY departmentid;
Create list of departments and the number of employees in them but only for departments with or more employees
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
