Tag Archives: row_number() example

Tsql script to select all columns from a table grouped by max column value

Hello, In this blog I would like to post the t-sql statement to select all columns from a table grouped by max value of a column. This is possible by using the row_number function. Below is the sample data for … Continue reading

Posted in SQL Server DBA Stuff | Tagged , , , , | Leave a comment