5
SELECT DISTINCT ON (string4) string4, two, ten
7
ORDER BY string4 using <, two using >, ten using <;
9
-- this will fail due to conflict of ordering requirements
10
SELECT DISTINCT ON (string4, ten) string4, two, ten
12
ORDER BY string4 using <, two using <, ten using <;
14
SELECT DISTINCT ON (string4, ten) string4, ten, two
16
ORDER BY string4 using <, ten using >, two using <;