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

SELECT id
  FROM ids
 WHERE id = ?
 ORDER BY sort;