how to find the second highest salary from emp table?
Answer Posted / chiguru&
SELECT MAX(SALARY) FROM EMPLOYEE WHERE SALARY NOT IN
(SELECT MAX(SALARY) FROM EMPLOYEE)
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we create a trigger on view?
Can I call a procedure inside a function?
in oracle 10g sw after compiling procedure how to pass parameter values ,if we (v_empid out number)how to give empid after successful compilation program.This site exact suitable for 10g with respect to question & answer same format , im trying sql browser & sql command prompt using exec procedure name & respective parameters.
How do I start sql from command line?
What is difference between hql and native sql?
Why trigger is used in sql?
Why do we use triggers?
what is schema? : Sql dba
How to run sql commands in sql*plus?
Which join is like an inner join?
What is the difference between microsoft access and sql server?
What is embedded sql in db2?
What is Collation Sensitivity ? What are the various type ?
What is the use of stored procedures?
How to start the command-line sql*plus?