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.1st table EMP has two columns ID and name and contains data 1,A
2,B
3,C
2nd table EmpSal has 2 columns ID and Salary
Contains data -1,1000
2,5000
3,3000

Find name of employee having maximum salary ?

Answer Posted / ramnath_445

SELECT name,min(sal) from emp1 inner join empsal where emp1.id=empsal.id

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a with(nolock)?

1025


What is user defined datatypes and when you should go for them?

1068


What is transact-sql language?

1135


What is a dataset and what are the different types of datasets?

141


How can you stop stored procedures from recompiling?

948


Can you use order by when defining a view?

1022


What is sub-query in sql server?

1261


Do you know what are various aggregate functions that are available?

1216


How you can move data or databases between servers and databases in sql server?

1101


What is difference between index seek vs. Index scan?

1200


How retrieve field names from the table in SQL through JAVA code?

1958


What are cascading parameters in ssrs reports?

236


Explain various data region available in ssrs with their use?

986


What are the advantages of using stored procedures?

1005


What are the tools available in market as an alternative to sql server reporting services?

138