title: Postgresql Skip Row if value is equal to last row
body: <p>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</p>
  
  <pre><code>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
  </code></pre>
  
  <p>The result should be:</p>
  
  <pre><code>1    Paul   17    M     2b
  4    Lexi   18    M     2b
  5    Sarah  16    F     2b
  </code></pre>
  
  <p>Thanks for your help,</p>
  
  <p>t book</p>