Find out the 3rd highest salary?
Answer Posted / jeevitha
select distinct a.salfrom emp a where &n= (select count
(distinct(b.sal)from emp b where a.sal<= b.sal)
-----
enter the highest sal of n:2,3.....n
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
mention if it is possible to import data directly from t-sql commands without using sql server integration services? If yes, what are the commands? : Transact sql
Why do we use sqlite?
Write a sql select query that only returns each name only once from a table?
What is benefit of creating memory optimized table?
what is the difference between $message and $$message? : Sql dba
How you can copy a file to file content and file to pl/sql table in advance pl/sql?
What is sqlcontext?
What are the commands used in sql?
What is the location of pre_defined_functions.
What is procedure and function?
what are string data types? : Sql dba
Can function return multiple values in sql?
i have a column which may contain this kind of value: 123*67_80,12*8889_5,34*8_874 ,12*7_7 (can contain space before a comma, and this string length can be anything) now i want to split this value into two column like: column1: 123*67,12*8889,34*8,12*7 column2: 80,5,874,7 use function for this
How do I save a stored procedure?
What is a constraint? Tell me about its various levels.