aboutsummaryrefslogtreecommitdiff
path: root/dbstore/sql/test/queryrow/ids.sql
blob: ddc2bf299edd7433956b68b06378a95259fca0e1 (plain)
1
2
3
4
5
6
7
WITH ids(id, sort) AS (
  VALUES ('foo', 1), ('bar', 2), ('baz', 3)
)

SELECT id
  FROM ids
 ORDER BY sort;