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...


Name Salary
Abc 50000
Abc 50000
xyz 20000
find the max salary using aggregate function?

Answers were Sorted based on User's Feedback



Name Salary Abc 50000 Abc 50000 xyz 20000 find the max salary using aggregate ..

Answer / guest

select max(sal) from tab_name;
or
select * from tab_name where sal=(select max(sal) from
tab_name) and rownum<=1;

Is This Answer Correct ?    20 Yes 0 No

Name Salary Abc 50000 Abc 50000 xyz 20000 find the max salary using aggregate ..

Answer / prashant

select max(salary) from
(select distinct(salary) from ABC)

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL PLSQL Interview Questions

write an sql query to find names of employee start with 'a'? : Sql dba

0 Answers  


List the ways to get the count of records in a table?

0 Answers  


What do you understand by exception handling in pl/sql?

0 Answers  


Could you please provide oca (oracle 10g) dumps for my certification ?

1 Answers  


what is a stored procedure? : Sql dba

0 Answers  


What is sql profiling in oracle?

0 Answers  


How to run pl/sql statements in sql*plus?

0 Answers  


Give an example of Full Outer Join?

1 Answers   IBM,


Why use subqueries instead of joins?

0 Answers  


How do you write an inner join query?

0 Answers  


How can the performance of a trigger be improved?

0 Answers  


How many sql core licenses do I need?

0 Answers  


Categories