aboutsummaryrefslogtreecommitdiff
path: root/src/test/regress/sql/select_distinct_on.sql
blob: 4dccedc9d7286a3a92556bc1adb94c88bd9b21fc (plain)
1
2
3
4
5
6
7
8
--
-- test select distinct on
--
SELECT DISTINCT ON string4 two, string4, ten
	   FROM tmp
   ORDER BY two using <, string4 using <, ten using <;