in Postgres 9.1 is it possible to skip row(s) if the value of NAME is equal to the one before f.e. following table
ID | NAME | AGE | SEX | CLASS
---------------------------------
1 Paul 17 M 2b
2 Paul 16 M 2b
3 Paul 18 F 2b
4 Lexi 18 M 2b
5 Sarah 16 F 2b
6 Sarah 17 F 2b
The result should be:
1 Paul 17 M 2b
4 Lexi 18 M 2b
5 Sarah 16 F 2b
Thanks for your help,
t book