how get first record of select query in postgresql code example Example: select first rows postgresql SELECT * FROM biggest_companies FETCH FIRST 10 ROW ONLY;