October 16, 2011

Find first entry from each group in SQL Server

Suppose we have following data in our Table.

image
I want result should come in this format.

image
Means I want to display first entry from each group.
Let’s try to do it.

image
That’s It
Enjoy Learning

No comments:

Post a Comment