Is there any way to simulate rownum in postgresql ?
Postgresql > 8.4
SELECT row_number() OVER (ORDER BY col1) AS i, e.col1, e.col2, ... FROM ...
2.1m questions
2.1m answers
60 comments
57.0k users