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


Can some one please help with a query which will take only
max value of a column in a join.

Answers were Sorted based on User's Feedback



Can some one please help with a query which will take only max value of a column in a join...

Answer / debasish

select max(alias.colomnname) from table alias
join table alis on
<condition>

Is This Answer Correct ?    6 Yes 1 No

Can some one please help with a query which will take only max value of a column in a join...

Answer / vaibhavi_dixit

select max(alias1.columnname) from table1 alias1
join table2 alias2
on condition

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SQL Server Interview Questions

What is catalog views?

0 Answers  


How to find out what is the default collation in a database?

0 Answers  


If any stored procedure is encrypted, then can we see its definition in activity monitor?

0 Answers  


What are translations and its use? : sql server analysis services, ssas

0 Answers  


Explain identity in sql server?

0 Answers  


What are different types of raid configurations? : SQL Server Architecture

0 Answers  


How to automatically create a log when an exception is being received into SQL Server?

0 Answers   Cap Gemini,


Which is better statement or preparedstatement?

0 Answers  


How we can compare two database data?

0 Answers  


How to create prepared statements using odbc_prepare()?

0 Answers  


If any possiable to use 2 primary key in single table? How many primary key & foreign key used in each table(min & max)?

3 Answers  


How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000?

0 Answers  


Categories