title: SQL: Add column with incremental id to SELECT
body: <p>I have a simple query like:</p>
  <pre><code>SELECT name FROM people;
  </code></pre>
  <p>The <code>people</code> table does not a have unique id column. I want to add to the query result a column <code>id</code> with incremental <code>int</code> starting from 0 or 1 (it doesn't matter). How can one achieve this? (postgresql DB)</p>