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

Explain features of analysis services?

523


Explain triggers in sql?

551


What is the difference between sdf and mdf?

677


What are the disadvantages of using the stored procedures?

543


Explain about Views?

599






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? : Sql server administration

540


What is the difference between update lock and exclusive lock?

492


What is the purpose of data source?

511


How to backup encryption key ?

127


What is linked report?

89


What stored by the master?

543


How much space does sql server 2016 take?

567


What are system databases into sql server (2005/2008)?

580


How to create median function?

118


What are the different types of backups avaialabe in sql server 2005?

620