Answer Posted / raj
for example if we take emp table:
select a.sal from emp a where 4=(select count(distinct(b.sal)) from emp b where a.sal<=b.sal);
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
what is the functionality of the function htmlentities? : Sql dba
Can we use update in sql function?
Where is all the data on the internet stored?
Why schema is used in sql?
How to fetch values from testtable1 that are not in testtable2 without using not keyword?
What's the difference between a primary key and a clustered index?
What is indexing in sql and its types?
What is a composite primary key?
How do I count duplicates in sql?
How do I find duplicates in a single column in sql?
How can I see all tables in sql?
Which join condition can be specified using on clause?
how to get a list of columns in an existing table? : Sql dba
Can unique keys be null?
How global cursor can be declare with dynamic trigger ?