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

How to invoke the original export import utilities?

0 Answers  


src name sex a,male b,female c,male d,female Required output : male female a,b c,d tried pivot but was not successfull select * from src pivot (max(name) for sex in ('MALE','FEMALE'));

0 Answers   IBM,


What is the CAP theorem?

1 Answers  


How to define a sub function?

0 Answers  


HI, Please let me know the syllabus for Oracle OCA and OCP Certification

0 Answers  


Do you know about aggregate functions? What is row num function? Can it be used all databases?

1 Answers   Bravura Solutions, Cap Gemini,


Define the terms primary key foreign key and also the difference between primary and the unique key

2 Answers  


What are the values that can be specified for OPTIMIZER_GOAL parameter of the ALTER SESSION Command ?

1 Answers  


Explain overloading. Can functions be overloaded?

0 Answers  


How to update values on multiple rows in oracle?

0 Answers  


What are the execution control statements?

0 Answers  


How to increment dates by 1 in oracle?

0 Answers  


Categories
  • Oracle General Interview Questions Oracle General (1809)
  • 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)