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 orm in sql?
How do you rename a table in sql?
Why do we use sql constraints?
What will you get by the cursor attribute sql%rowcount?
how to extract a unit value from a date and time? : Sql dba
How do I view a sql trace file?
Is a secondary key the same as a foreign key?
How do I pipe the output of one isql to another?
what is sub-query? : Transact sql
What is pl sql in dbms?
What do you mean by stored procedures? How do we use it?
What is the difference between local and global temporary table?
how can we know the count/number of elements of an array? : Sql dba
How do I know if I have sql express or standard?
What is trigger and stored procedure in sql?