CBSE Class 11 Information Practices - Functions in My SQL
CBSE Class 11 Information Practices - Functions in My SQL
Q3. Write the following SQL commands on the basis of above table “Employee”
a) Show all the information of the employees.
b) Display all the employee names, designation and salary.
c) Display all the employee names and their salary in descending order.
d) Display all the different departments in the company.
e) Display all the details of Female Employee.
f) Display the employee name, address and phone number from “HR” department.
g) Display all the details of employee name starting with “a”.
h) Display all the employee details (name, designation , department and gender)
with salary 1000 OR to 2000 OR.
i) Display all the details of the staff that joined from year 2000.
j) Display the names of all the “GM” in the company. (GM- General Manager).
k) Display the names of all the employees from “finance” department with salary
more than 1000
l) Display the names of all the Male employees from “transport” department with
salary less than 1000 .
m) Display the details of the entire employee NOT from “Sales” department.
n) Display the name, address of employee without phone number.
***