Web19 aug. 2024 · SQL subqueries on employee Database: Exercise-34 with Solution [An editor is available at the bottom of the page to write and execute the scripts.34. From the … WebList the emps Whose Jobs are same as MILLER or Sal is more than ALLEN. A) select * from emp where job = (select job from emp where ename = ‘MILLER’ ) or sal> (select …
SQL-QUERIES - WordPress.com
Web13 jun. 2012 · 54.List the emps Whose Jobs are same as MILLER or Sal is more than ALLEN. A) select * from emp where job = (select job from emp where ename = … WebList All The Employees Whose Commission Is Null And Working As Clerk List All The Employees Who Don’t Have A Reporting Manager In Deptno 10 Or 30 List All The Salesmen In Dept 30 With Sal More Than 2450 List All The Analyst In Dept Number 20 And Having Salary Greater Than 2500 List All The Employees Whose Name Starts With ‘M’ … fix bed post
ANY BODY CAN LEARN SOFTWARE TESTING: SUB QUERIES WITH …
Web19 aug. 2024 · SQL employee Database: Exercise-46 with Solution. [ An editor is available at the bottom of the page to write and execute the scripts.] 46. From the following table, write a SQL query to find out which employees are working under the managers 63679, 68319, 66564, or 69000. Return complete information about the employees. Sample table: … Web6 feb. 2024 · 1.WAQ TO DISPLAY EMPLOYEE’S DETAILS FROM EMP TABLE WHO ARE WORKING FOR SAME MANAGER. BY USING JOIN AS WELL AS SUB QUERY ANS:> SELECT * FROM EMP WHERE MGR IN (SELECT MGR FROM EMP WHERE MGR IS NOT NULL GROUP BY MGR HAVING COUNT (MGR)>1); >SELECT DISTINCT … WebList the emps whose jobs same as SMITH or ALLEN. SELECT * FROM EMP WHERE JOB IN (SELECT JOB FROM EMP WHERE ENAME IN('SMITH','ALLEN')) Write a … can lisinopril cause orthostatic hypotension