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 the difference between upgrade and migration in sql server?

0 Answers  


What is query cost in sql server?

0 Answers  


What is the parse query button used for?

0 Answers  


Can we add our custom code in ssis?

0 Answers  


What stored by the model?

0 Answers  


What is tempdb database? : SQL Server Architecture

0 Answers  


what are the disadvantages of cursors? : Sql server database administration

0 Answers  


can you tell me some sites name for sql server 2000 commands with example??? plz reply soon.

0 Answers  


What is the difference between a stored procedure and a user defined function?

0 Answers  


What is sparse columns of sql server 2008?

0 Answers  


What is nonclustered index on computed columns?

0 Answers  


What are the system database in sql server 2008?

0 Answers  


Categories