DML Business Database Management: by SHIVANI SURESH-1828638
DML Business Database Management: by SHIVANI SURESH-1828638
By
SHIVANI SURESH-1828638
Institute of Management
Christ (Deemed to Be University)
Bangalore
February 2019
1. Display all the information of the EMP table
4. List the employees who are working for the Deptno 10 or20.
8. List the employees whose salary is more than 3000 after giving 20% increment.
9. List the grade, EMP name for the deptno 10 or deptno 30 but salary grade is not 4 while they joined
the company before ’31-dec-82’.
10. List the employees those who joined in company before 15th of the month.
12. List the Ename and Salary is increased by 15% and expressed as no.of Dollars.
13.Produce the output of EMP table ‘EMP_AND_JOB’ for Ename and Job.
24. List the employees who have joined in the year 1981.
25. List the employees whose annual salary ranging from 23000 to 40000.
26. List the employees working under the Managers 7369,7890,7654,7900.
27. List the employees who joined in the second half of 82.
29. Find out the names and salaries of all employees earning more than 1000 per One month.
30. Display the names and salaries of all employees except JAMES.
31. Display all the details of the employees whose Comm. Is more than their Salary.
32. List the employees Who Annual salary ranging from 22000 and 45000.
33. List the employee’s name, job that is without manager.
39. List the employee who are clerks who have experience more than 8ys.
40. List the Managers of dept 10 or 20.
41. Find out the details of employees whose names begin with ‘S’.
42. Find out the names of all employees that have ‘A’ anywhere in their name.
43. Find out the names of all employees that have ‘L’ as their third character in their name.
44. Find out the names of the employees whose name begin with ‘A’ or ‘M’.
45. Select the name, job, salary, department number of all employees except
AND
46. SALESMAN from department number 30.
48. List the name and salary of employees who can earn more than 1500 and are in department 10 or 30.
Label the columns Employee and Monthly Salary respectively.
49. List the name and salary for all employees whose salary is not in the range of 1500 and 2850.
Select ename, sal from emp where (sal < 1500 and sal > 2850);
50. Display the name and job of all employees who do not have a MANAGER.
51. Display the name, job, and salary of all the employees whose job is MANAGER or ANALYST and their
salary is not equal to 1000, 3000, or 5000.
52. Display the name, salary and commission for all employees whose commission amount is greater
than their salary increased by 10%
53. Display the name of all employees who have two Ls in their name and are in department 30 or their
manager is 7782.