Write a query to find five highest salaries from EMP table.
(there is a column SALARY)
Answers were Sorted based on User's Feedback
Answer / mohammad murtuza ali
select * from salary where rowno<6
Is This Answer Correct ? | 4 Yes | 15 No |
Answer / amit bharane
select salary from employees
where rownum<=5
order by salary desc
Is This Answer Correct ? | 3 Yes | 22 No |
Answer / mohammad murtuza ali
select * from SALARY where where rowno<6 and empname like
empname
Is This Answer Correct ? | 2 Yes | 29 No |
Answer / sujith
select * from test_sujith where rownum < 6 order by item3 desc
Is This Answer Correct ? | 2 Yes | 31 No |
Can we call dml statement in function?
Explain the purpose of %type and %rowtype data types?
explain primary keys and auto increment fields in mysql : sql dba
Can we use loop in sql?
can i use dbms_output.put_line in a function u are telling as return statement
IF EMP HAS 2 ROWS,DEPT HAS 4 ROWS.WHATS THE RESULT OF SELECT * FROM EMP,DEPT;
What is mutating table error?
What does trigger mean in slang?
What are different functions in sql?
What is trigger point?
Explain the purpose of %type and %rowtype data types with the example?
What are records give examples?