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

consider a table which contain 4 columns,ename,eno,sal and
deptno, from this table i want to know ename who having
maximum salary in deptno 10 and 20.

Answer Posted / srilekha

select ename from table where sal=(select max(sal) from
table) and depetno in (10,20)

Is This Answer Correct ?    27 Yes 20 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the syntax and use of the coalesce function?

1143


What does dml mean?

965


what is difference between delete and truncate commands? : Sql dba

1105


What does a pl/sql package consist of?

961


What is index example?

992


What is prepared statement in sql?

1036


Show the cursor attributes of pl/sql.

1027


What is pl/sql language case sensitive?

1105


define sql update statement ? : Sql dba

1100


How do I save the results of sql query in a file?

963


what is the difference difference between procedure and packages

10364


What is rtm in testing?

1093


What do you mean by query optimization?

984


what is the syntax for using sql_variant_property? : Transact sql

1024


Why we use cross join?

938