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 |
How can you log an error to the server event log from a stored procedure?
What is normalization? Explain different levels of normalization?
8 Answers CG-VAK, Choice Solutions, College School Exams Tests, IBM, Wipro,
What are the three basic rules which are to be followed for the relational model of the database?
How is data stored in dbms?
what is architecture of your datastage project??? i came across this question many times in interviews in specific what can i answer plz help me
Can an extended stored procedure be called from inside a user-defined function?
Explain about post-relational databases?
What is DB Development software?
You are testing the performance of a query the first time you run the query, the performance is slow. the second time you run the query, the performance is fast. why is this?
What are the three types of database design?
What is the system function to get the current user's user id?
What is dbms and its application?
Oracle (3253)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)