how to calcuate the second highest salary of he employee
Answer Posted / neetika vardhan
SELECT MAX(sal)
FROM EMP WHERE sal NOT IN (SELECT MAX(sal) FROM emp)
Is This Answer Correct ? | 42 Yes | 3 No |
Post New Answer View All Answers
How run sql*plus commands that are stored in a local file?
Which are the different character-manipulation functions in sql?
Should I use mbr or gpt?
how to create a table index in mysql? : Sql dba
How do I run a program in pl sql?
1) Synonyms 2) Co-related Subquery 3) Different Jobs in Plsql 4) Explain Plan 5) Wrap 6) Query Optimization Technique 7) Bulk Collect 8) Types of index 9) IF primary key is created then the index created ? 10) Foreign Key 11) Exception Handling 12) Difference Between Delete and Trunc 13) Procedure Overloading 14) Grant Revoke 15) Procedure Argument types. 16) Functions. 17) Joins
How do I install sql?
First round ------------------- - Procedure - Packages - Views - Virtual tables - Can we use dcl with in function? - Joins and few scenarios - Triggers and its type - Pragma, type and its functionality - How to create db link in oracle - Materialized view - How to find duplicate values from table? - Cursor and its functionality - Write a script to display friday and its date from a entire year. - Exception Handling Second round ------------------------ Gave a scenario like. Need to write a function to perform. When user try to change a password. It must not be last five password and a given password can be combination of characters, symbols, upper and lower case.
What is a sql profiler?
Is a view faster than a stored procedure?
What is scalar data type in pl sql?
Enlist the data types that can be used in pl/sql?
how to drop an existing index in mysql? : Sql dba
How to avoid duplicate records in a query?
What is difference between inner join and cross join?