how to retrieve the top 3 salaries of the table using rownum
Answer Posted / k.thrilok kumar
select rownum, sal from (select * from emp order by sal
desc) where rownum<=3
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
what is data manipulation language? : Sql dba
what is the difference between primary key and unique key? : Sql dba
What is compiled query?
How many databases can sql express handle?
how to add a new column to an existing table in mysql? : Sql dba
What is sql data?
What is program debugging?
Can unique keys be null?
What is information schema in sql?
What is the difference between instead of trigger and after trigger?
How to use sql statements in pl/sql?
Which command is used to call a stored procedure?
i have 2 table table one 4 columns respective values a1 7,a2 6,a3 8 ,a4 12 & table two 4 colums respective values a1 7,a2 6,a3 8,a4 15.if table one & table two 3 colums same then 4th column values 1)Qes diff >5 then print 5 * diff value 2)Que diff <5 print 5
What is rowid in sql?
What is sql rowcount?