Question: Consider the employee table and write down SQL for the following queries. 1 . Show everything from the Employee Table. 2 . Show the SUM
Consider the employee table and write down SQL for the following queries.
Show everything from the Employee Table.
Show the SUM of AGE of all the employees.
Show the Name of the Employee and MAX Salary of the employee.
Show the Name of the Employee and MIN Salary of the employee.
Show the Average AVG Salary of the employee.
Show the Number COUNT of employee.
Show the Number COUNT of employee and Average AVG Salary of the employee in two
columns. Rename the columns using Alias AS
Show the Standard Deviation STD of the AGE of the Employees.
Show the Standard Deviation STD of the Salary of the Employees.
Show the Variance VAR of the AGE of the Employees.
Show the Variance VAR of the Salary of the Employees.
Show the name of the Employee, who is getting the highest salary.
Show the name of the Employee, who is getting the lowest salary.
Show the name of the Employees who are getting Salary higher than their Average Salary.
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
