Question: Consider the following Employee table and write down SQL for the following queries. 1 . Show all the rows and all the columns from the

Consider the following Employee table and write down SQL for the
following queries.
1. Show all the rows and all the columns from the Employee Table.
2. Show all the rows and all the columns except for the ID from the
Employee Table.
3. Show the Name of the employee whose AGE is more than 22 but less
than 30.
4. Show the name of the Employee, who is getting the highest salary.
5. Show the name of the Employee, who is getting the lowest salary.
6. Show the Number (COUNT) of employees.
7. Show all the employees information whose Salary is NOT between
40000 and 70000.
8. Show the employees who are NOT from Delhi and Mumbai.
9. Show all the employees name and address of the employee.
10.Show the name of the Employees who are getting Salary higher than their average salary.
 Consider the following Employee table and write down SQL for the

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!