postgres return first record code example Example: select first rows postgresql SELECT * FROM biggest_companies FETCH FIRST 10 ROW ONLY;