How to Select second Maximum salary in a Table ?
Answer Posted / guest
select max(sal) from Table
where sal not in(select max(sal) from Table);
| Is This Answer Correct ? | 20 Yes | 3 No |
Post New Answer View All Answers
How do you bind variables in oracle?
What are ddl statements in oracle?
How to get execution path reports on query statements?
What is a proxy object?
What is clustered table in Oracle?
What is recovery manager(rman) backup in Oracle?
Can we store pictures in the database and if so, how it can be done?
What is the effect of setting the value "all_rows" for optimizer_goal parameter of the alter session command? What are the factors that affect optimizer in choosing an optimization approach?
How to synchronize 2 schema's objects?
If youre unsure in which script a sys or system-owned object is created, but you know its in a script from a specific directory, what UNIX command from that directory structure can you run to find your answer?
What is the difference between Delete, Truncate and Drop in Oracle?
Explain integrity constraint?
What privilege is needed for a user to delete rows from tables in another schema?
What happens if the imported table already exists?
What is the implicit cursor in oracle?