suppose I have the following table X:
Id Type Name
1 1 Jane
2 2 Mary
3 3 Rose
4 4 Rachel
5 4 Darren
6 4 Jay
What will be the select statement to generate:
Id Type Name
1 1 Jane
2 2 Mary
3 3 Rose
4 4 Rachel
that only the first row for each type will be selected? Appreciate a lot.