Web19 aug. 2024 · 1. Write a query to list the name of all the employees who are working in department number 20. Click me to see the solution 2. Write a query to list the employees name and total salary of a year and yearly salary is … Web27 nov. 2016 · SQL INTERWIEW QUESTIONS ON SUBQUERIES. 1. List the department names that are having no employees at all. 2. Display all the employees whose job is same as scott. 3. Display scott manager’s manager’s department name. 4. List employees whose job is same as scott and their salary greater than smith’s salary.
GitHub - adityaa085/Teradata
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. Web10 sep. 2011 · 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 … oracle allocation rules
SQL: List the employees who joined before 1991 - w3resource
WebList all the employees who joined after year 80 and having salary is between 2500 and 4000 and also calculate their salary after six months. 200. select all the manager whose salary is more than 2500 and department of 20 or 30. 201. select all the employee whose employee no second digit is 8 ... Also date of joining after 01-JAN-82 and before ... WebLIST THE EMPLOYEES WHO ARE HIRED AFTER 82 AND BEFORE 87 WAQTD ALL THE DERTAILS OF EMPLOYEES HIRED IN NOVEMBER AND DECEMBER LIST ALL THE EMPLOYEE NAMES AND COMMISSSIION FOR THOSE EMPLOYEES WITH EARN MORE THA THEIR SALARY WAQT6D NAME, DESIGNATION FOR ALL THE … Web21 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 portsmouth range rover