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.

Answer Posted / debasish

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

Is This Answer Correct ?    6 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

You have a table with close to 100 million records recently, a huge amount of this data was updated now, various queries against this table have slowed down considerably what is the quickest option to remedy the situation?

907


Can binary strings be used in arithmetical operations?

937


Can a stored procedure call itself or a recursive stored procedure? How many levels of sp nesting is possible?

1081


What is cte (common table expression)?

1032


What is nested transaction?

1101


What are the rules to use the rowguidcol property to define a globally unique identifier column?

1021


What is resource governor?

974


How to sort the query output with order by clauses in ms sql server?

1035


What does indexation mean?

973


What command do we use to rename a database?

1078


How to make conditional sum in ssrs?

177


How to choose all records from the table?

1070


Differentiate between a primary key and a unique key.

1073


How to get the query of a table in sql server?

898


What is bcnf normalization form?

1115