aboutsummaryrefslogtreecommitdiff
path: root/dbstore/sql/test/queryrow/ids.sql
diff options
context:
space:
mode:
Diffstat (limited to 'dbstore/sql/test/queryrow/ids.sql')
-rw-r--r--dbstore/sql/test/queryrow/ids.sql7
1 files changed, 7 insertions, 0 deletions
diff --git a/dbstore/sql/test/queryrow/ids.sql b/dbstore/sql/test/queryrow/ids.sql
new file mode 100644
index 0000000..ddc2bf2
--- /dev/null
+++ b/dbstore/sql/test/queryrow/ids.sql
@@ -0,0 +1,7 @@
+WITH ids(id, sort) AS (
+ VALUES ('foo', 1), ('bar', 2), ('baz', 3)
+)
+
+SELECT id
+ FROM ids
+ ORDER BY sort;