how to find the first two highest salaries in deptno in emp
table
Answers were Sorted based on User's Feedback
Answer / santhosh kandula
if u want select the second highest salary from the emp
table then u have to write query as
select max(salary) from emp where
salary < ( select max(salary) from emp )
Is This Answer Correct ? | 6 Yes | 1 No |
What are the three basic rules which are to be followed for the relational model of the database?
Explain about the relational database?
Where is dbms used?
What you can do to remove data from the cache and query plans from memory for testing the performance of a query repeatedly?
What is dbms and its application?
How you can make a parameterized view?
Explain about post-relational databases?
Who are end users in dbms?
Can you have a nested transaction?
What are defaults? Is there a column to which a default can't be bound?
What are the main phases of database development?
What are the types of database model?