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 |
can u send the sql dumps to sivakumarr1987@gmail.com plz help me
I have a table like this Table Name:Products Productid Price 1 10 1 10 2 20 3 30 3 30 But i want to output like this. productid price 2 20. please replay me.
What is an oracle?
What do you mean by merge in oracle and how can we merge two tables?
What is DTS and purpose of DTS ?
Explain the difference between a procedure and a function? What do you understand by those terms?
why can't we assign not null constraint as table level constraint
For a field in a repeating frame, can the source come from the column which does not exist in the data group which forms the base for the frame ?
Display those managers salary greater than the average salary of his employees?(Based on oracle standard Emp table)
Can we create more than one index on particular column?
What is MTTR advisor in Oracle?
What are Schema Objects ?