How to select the name of employee who is getting maximum
sal with out using subquery
Answers were Sorted based on User's Feedback
Answer / rushi
select ename from employee where sal=(select disinct(max(sal) from employee));
| Is This Answer Correct ? | 2 Yes | 8 No |
Answer / rohit
SELECT ENAME,SAL FROM EMP
WHERE ROWNUM = 1
ORDER BY SAL DESC
| Is This Answer Correct ? | 0 Yes | 7 No |
Answer / mk
select Name from emp where sal=(select distinct(Max(sal))
from emp
| Is This Answer Correct ? | 4 Yes | 14 No |
Answer / hari.sidd
SELECT ENAME
FROM EMPLOYEE
WHERE ESAL=MAX(ESAL);
| Is This Answer Correct ? | 1 Yes | 12 No |
How a database is related to tablespaces?
Why does Oracle not permit the use of PCTUSED with indexes?
How to view existing locks on the database?
What is where clause in oracle?
Can we connect to ORACLE db using Windows Authentication?
What is a nested table?
14. Display the item_cost and then round it to the nearest hundred, ten, unit, tenth and hundredth
In SAP ECC 6.0 , under DB02 tcode , Tablespace name to be explain stepy step all the col
22. Display the order number, number of lines in the order, total number of items and total value for all orders that have a total value greater than $100
What happens to indexes if you drop a table?
How to get maxsal , minsal, ename department wise in single query
How to define a specific record type?