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

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What is system stored procedures?

591


what are the core components of SSRS?

92


What do you understand by triggers?

528


What is difference between clustered index and non clustered index?

630


Which sql server is best?

520






Explain relational data?

552


What is filtered index?

660


Explain the third normal form(3nf)?

525


How to truncate the log in sql server 2012? : sql server database administration

579


How to declare and use cursor variables?

589


How will you make an attribute not process? : sql server analysis services, ssas

588


What is meant by referential integrity?

593


What is a trace frag? Where do we use it?

675


What do you mean by tablesample?

643


Explain what are the restrictions that views have to follow? : SQL Server Architecture

597