Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How to select the name of employee who is getting maximum
sal with out using subquery

Answers were Sorted based on User's Feedback



How to select the name of employee who is getting maximum sal with out using subquery..

Answer / rushi

select ename from employee where sal=(select disinct(max(sal) from employee));

Is This Answer Correct ?    2 Yes 8 No

How to select the name of employee who is getting maximum sal with out using subquery..

Answer / rohit

SELECT ENAME,SAL FROM EMP
WHERE ROWNUM = 1
ORDER BY SAL DESC

Is This Answer Correct ?    0 Yes 7 No

How to select the name of employee who is getting maximum sal with out using subquery..

Answer / shan

select ename,max(sal)from emp
group by ename

Is This Answer Correct ?    0 Yes 8 No

How to select the name of employee who is getting maximum sal with out using subquery..

Answer / mk

select Name from emp where sal=(select distinct(Max(sal))
from emp

Is This Answer Correct ?    4 Yes 14 No

How to select the name of employee who is getting maximum sal with out using subquery..

Answer / hari.sidd

SELECT ENAME
FROM EMPLOYEE
WHERE ESAL=MAX(ESAL);

Is This Answer Correct ?    1 Yes 12 No

Post New Answer

More Oracle General Interview Questions

Explain the use of grant option in exp command.

0 Answers  


What is a system tablespace and when it is created?

0 Answers  


How do you handle duplicate records in a database?

1 Answers  


How do you ensure database security?

1 Answers  


what is the difference between UNION AND UNIONALL

4 Answers  


how to find the second highest salary in a given table????

5 Answers  


Explain an exception?

0 Answers  


What is Virtual Private Database in Oracle?

0 Answers   MCN Solutions,


Select all the employees who were hired in last 2 years and who works in dept where max managers are working.

0 Answers   ESS,


what is data independence exactly? give an example

6 Answers  


What to do if dba lost the system password?

0 Answers  


How can we view last record added to a table?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1803)
  • Oracle DBA (Database Administration) Interview Questions Oracle DBA (Database Administration) (261)
  • Oracle Call Interface (OCI) Interview Questions Oracle Call Interface (OCI) (10)
  • Oracle Architecture Interview Questions Oracle Architecture (90)
  • Oracle Security Interview Questions Oracle Security (38)
  • Oracle Forms Reports Interview Questions Oracle Forms Reports (510)
  • Oracle Data Integrator (ODI) Interview Questions Oracle Data Integrator (ODI) (120)
  • Oracle ETL Interview Questions Oracle ETL (15)
  • Oracle RAC Interview Questions Oracle RAC (93)
  • Oracle D2K Interview Questions Oracle D2K (72)
  • Oracle AllOther Interview Questions Oracle AllOther (241)