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 are oracle functions?

1090


Calculate difference between 2 date / times in oracle sql?

1099


Why do we need oracle client?

1009


How can I introduce multiple conditions in like operator?

1052


Explain the use of grant option in imp command.

1083


What is a relational database management system?

1173


What is the relationship among database, tablespace and data file?

1039


What are the attributes of cursor?

1105


How to create a new view in oracle?

1129


How to use subqueries with the in operator using oracle?

1139


How do I learn what codesets are available in oracle?

1080


Tab A A B ------ 1 A 2 B 3 C Tab B A B ----- 4 D 5 E 6 F Generate the value into B table from A table. Only table A has the value. Write the SQL query to get B table value.

1836


How to connect asp pages to oracle servers?

1122


What is the difference between pre-select and pre-query?

1304


How to check the server version in oracle?

1144