Answer Posted / naresh
select * from emp e where 2=(select count(*) from emp where
sal>=e.sal);
Is This Answer Correct ? | 0 Yes | 3 No |
Post New Answer View All Answers
How do I tune a sql query?
What is the importance of sqlcode and sqlerrm?
what are the authentication modes in sql server? : Sql dba
What is a unique key and primary key and foreign key?
What are different joins used in sql?
What are analytic functions in sql?
What are inner and outer joins examples of both?
What are the different types of database management systems?
Which column of the user triggers data dictionary view displays the database event that will fire the trigger?
Is sql easier than java?
what are the different functions in sorting an array? : Sql dba
how many columns can be used for creating index? : Sql dba
how are mysql timestamps seen to a user? : Sql dba
How to handle bulk data?
Can we insert data into materialized view?