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

can an automatic recovery be initiated by a user? : Sql server administration

991


What are basics of policy management?

1150


Where do you find the default Index fill factor and how to change it?

1111


How many types of attribute relationships are there? : sql server analysis services, ssas

1127


What does normalization do to data?

1137


How to select some specific rows from a table in ms sql server?

1054


how would you write a sql query to compute a frequency table of a certain attribute involving two joins? What changes would you need to make if you want to order by or group by some attribute? What would you do to account for nulls?

1688


Are resultset updatable?

1006


How to list all objects in a given schema?

1102


How to rebuild all indexes on a single table?

1106


Tell me about normalization in DBMS.

1057


What happens if date-only values are provided as date and time literals?

1073


Would you store your query in a ssrs report or a database server? State the reason why?

157


What is the contrast between sql and mysql?

1151


What is a performance monitor?

1020