How to limit rows in PostgreSQL SELECT
postgresql, sql, sql-limit
Solution
You can use LIMIT just like in MySQL, for example:
SELECT * FROM users LIMIT 5;
Problem
What's the equivalent to SQL Server's `TOP` or DB2's `FETCH FIRST` or mySQL's `LIMIT` in PostgreSQL?