select *from emp a where 2=(select count (distinct(b.sal))from emp b where a.sal<=b.sal);
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
7788 SCOTT ANALYST 7566 19-APR-87 3000 20
SQL Query to copy only structure of one table to other table in SqlServer
SQL Query to get structure of table in SqlServer
Movie Songs Lyrics
Software Testing-QTP Scripts,Testing Faqs
Showing posts with label sql query for second highest salary in oracle. Show all posts
Showing posts with label sql query for second highest salary in oracle. Show all posts
Subscribe to:
Posts (Atom)