Computer
Computer
Science
Holiday homework
St.Martin’s Diocesan School
Name: Atharva Tyagi
Class:12-A
Roll.No:8
Case Study For Practical:
Consider the following tables:
2.To list the name and employee number from the above table.
3.To list all names, hiredate and salary of all employees.
4.To display the employee name and incremented value of SAL as SAL + 300.
5.To list the employee name, his annual salary(Annual salary = 12*SAL+100).
6.To convert the designation into lower case.
7.To list the salary where salary is less than the commission.
8.To list all the columns where salary is greater than 4100.
9.To list name and hiredate of all the employees who are hired in 1981.
10.Display the ename and sal where comm is NULL.
12.To list name and salary of all employees who earn commissions.
15.To list the name and salary of all the employees who earn more than 1200 and
are in department 10 or 40.
16.To list the names and job of all he employees who work in department 20 and
their manager is 7788.
19.To display the employee name and job of employees hired between Feb 20,
1981 and May 1 1981.
21.To list the names of all employees where the second letter of their name is an 'a'.
22.Display EName, Salary and dname of those employees whose salary is less than 4000.
25.To list all the columns in the ascending order of deptno and descending order
of salary.
26.Display the ename and deptno of all employees in department 20 and 30 in
alphabetical ORDER BY name.
27.To list the deptno, job and sum of salary group by deptno and job.