Andreas Kretschmer, 12.02.2013 09:03:> select id, name, ..., row_number() over () from ...>> works since 8.4.>
That will only return the row count in the *last* row, not in all of them.