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

two tables are there
emp(eno,ename,sal,deptno),dept(deptno,dname).how form the
query in deptno,ename,max(sal)

Answer Posted / ajit

select e.ename,d.deptno,max(e.sal)
from emp e, dept d
where e.deptno = d.deptno
group by e.ename, d.deptno;

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a private synonym?

1587


How to get the Installed Oracle Version Information ?

1123


What are group functions in oracle?

1038


How to use "in out" parameter properly?

1044


How to apply filtering criteria at group level in oracle?

1042


Can we create trigger on materialized view in oracle?

992


What is dynamic proxy?

1003


What are oracle functions?

1030


What are the types of partitions in oracle?

1036


how to use select statement as formal parameter in procedure specification?(someone said that using string) ex:-procedure(a in number,select ename from emp ) i am asking syntax like this?

2007


How to retrieve the count of updated rows?

1126


How to convert a date to char in oracle? Give one example.

1068


How to concatenate two text values in oracle?

1112


How to get a list of all user accounts in the database?

1087


Explain the use of grant option in exp command.

1063