-- -- test select distinct on -- SELECT DISTINCT ON string4 two, string4, ten FROM temp ORDER BY two using <, string4 using <, ten using <;