List the employees who joined after 01/01/82
Web23 jul. 2024 · List the employees who joined in 1981 with the job same as the most senior person of the year 1981. %% sql select * from emp e where 1981 = extract ( year from e … Web29 apr. 2014 · List the emps whose sal is greater than his managers salary A) select * from emp w,emp m where w.mgr = m.empno and w.sal > m.sal; 88. List the grade, EMP name for the deptno 10 or deptno 30 but sal grade is not 4 while they joined the company before ’31-dec-82’. A) select s.grade ,e.ename from emp e,salgrade s where e.deptno in …
List the employees who joined after 01/01/82
Did you know?
Web10 sep. 2011 · 1 Answer Sorted by: 7 The WHERE part goes after the FROM part. select ename, job, hiredate from emp where hiredate between '20-FEB-81' AND '01-MAY-81' Note that your date literals may not always work if the NLS settings change. It is highly recommended to use to_date () instead. Web1 mei 2024 · List the emps who joined in the year 1992 Employees Table EmployeeID LastName Title BirthDate HireDate 1 Davolio Sales Representative 1948-12-08 00:00:00.000 1992-05-01 00:00:00.000 2 Fuller Vice President, Sales 1952-02-19 …
Web18 jan. 2016 · I want to retrieve the records of employees who were joined in first quarter or in the first month. I have tried this but am not getting the right answer... SELECT * … WebDISPLAY NUMBER OF EMPLOYEES WHOSE COMMISSION IS MORE THAN SALARY. LIST THE EMPLOYEES WHOSE DAILY SALARY IS GREATER THAN 1500 AND WHO …
Web13.List the emps along with their Exp and Daily Sal is more than Rs.100. Ans)SELECT EMPNO,SYSDATE-HIREDATE FROM EMP WHERE SAL/30>100. 14.List the emps who are either ‘CLERK’ or ‘ANALYST’ in the Desc order. Ans) SELECT * FROM EMP WHERE LOWER(JOB) = ‘clerk’ OR LOWER(JOB) = ‘analyst’; WebList the employees who joined in 1981 with the job same as the most senior person of the year 1981. A)select * from emp where job in (select job from emp where hiredate in (select min (hiredate) from emp where to_char (hiredate,’YYYY’) =’1981’)); 70. List the most senior empl working under the king and grade is more than 3.
Web17 jan. 2024 · SELECT YEAR (DateofBirth) as Year, Count (1) AS NumberOfEmployees FROM Employee WHERE DateofBirth < '2000-01-01' GROUP BY YEAR (DateofBirth) …
Web19 aug. 2024 · Oracle Operator: Exercise-12 with Solution. Write query to list the name (first and last name), hire date of all the employees who joined on 1-JUL-2006, 24-MAR … lutto a saviglianoWeb13. Display the list of employees who have joined the company before 30th June 90 or after 31st dec 90. select * from emp where hiredate between ‘30-jun-1990’ and ‘31-dec-1990’; 14. Display current date. select sysdate from dual; 15. Display the list of users in your database (using log table). select * from dba_users; 16. lutto a sanremoWeb7 jan. 2024 · If you just need the names (and not the list of different hiring dates), the following rather simple query should do the job: select id, name from employee group by … lutto a sorrentoWeblist the employees who does not directly report to president,have commission and salary more than max salary of all the clerk without using null or not null 30. list the employees who joined after 2 years of first employee of the company and more than blake salary 31. display location of all the employees who reporting to blake 32. lutto a spresianoWeb58.Display all the employees who are joined before the last person 59. 59.Display last but one employee record 60. 60.Find third minimum salary in the employee table 61. 61.Display all the employees who are earning more than any of the manager. 62. List employees who joined after 4 years of 1st employee of the company and less than … lutto argenteroWeb21 jul. 2024 · List all the information of emp with Loc and the Grade of all the emps belong to the Grade range from 2 to 4 working at the Dept those are not starting with char set ‘OP’ and not ending with ‘S’ with the designation having a char ‘a’ any where joined in the year 1981 but not in the month of Mar or Sep and Sal not end with ‘00’ in the asc order of Grades lutto assenteWeb27. Display empno, ename ,sal and grade from emp database where sal lies between losal and hisal ( NON-Equi Join) 28. Find the name of each employees manager. (refer self join). 29. Display empno, ename, deptno and dname, loc … lutto a scuola