write a query to Find the Maximun second value in table?

Answer Posted / tulasi

select * from emp x where 2=(select count(distinct sal)
from emp y where x.sal<=y.sal);

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

I want to export the data date to date from oracle database then what can i do?

2066


What do you understand by query optimization?

589


What do you understand by fragmentation?

587


What is dbms pdf?

683


Who is end user in database?

545






What are different types of joins in the sql?

612


Mention a query to add email validation to your database

584


Explain openquery function and openrowset function?

619


Explain atomicity and aggregation?

644


Enlist the advantages of dbms.

653


What are the main components of a database system?

510


Mention the differences between trigger and stored procedures

587


What are the examples of database?

549


Explain the classification of Database Management System?

3797


what is storage manager?

610