how to retrieve the top 3 salaries of the table using rownum
Answer Posted / raveendran
SELECT EMP_BASICS,ROWNUM FROM EMPLOYEE_MASTER WHERE
EMP_BASICS IS NOT NULL AND ROWNUM<=3 ORDER BY EMP_BASICS
DESC
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is a sql driver?
Can a table have no primary key?
how to shutdown mysql server? : Sql dba
what are aggregate and scalar functions? : Sql dba
how to install mysql? : Sql dba
What is the maximum number of columns in sql table?
How do I save a stored procedure?
What is a procedure in pl sql?
What is the plv (pl/vision) package offers?
Can we create table inside stored procedure?
Should I use mbr or gpt?
Is trigger a stored procedure?
What are all types of user defined functions?
What are the differences between implicit and explicit cursors?
how to dump a table to a file with 'mysqldump'? : Sql dba