From eb1c5239e2e12f28ce12f01caa7a9ba7737d0cf4 Mon Sep 17 00:00:00 2001 From: parrt Date: Tue, 12 Apr 2016 17:45:03 -0700 Subject: [PATCH] add formatting results --- corpus/sqlite/testing/t1.sql.formatted | 9 +++++++++ corpus/sqlite/testing/t2.sql.formatted | 14 ++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 corpus/sqlite/testing/t1.sql.formatted create mode 100644 corpus/sqlite/testing/t2.sql.formatted diff --git a/corpus/sqlite/testing/t1.sql.formatted b/corpus/sqlite/testing/t1.sql.formatted new file mode 100644 index 0000000..eb87bfc --- /dev/null +++ b/corpus/sqlite/testing/t1.sql.formatted @@ -0,0 +1,9 @@ +SELECT CASE WHEN c>(SELECT avg(c) FROM t1) THEN a*2 ELSE b*10 END, + b-c, + a, + (a+b+c+d+e)/5, + c, + a+b*2 + FROM t1 + WHERE d>e AND EXISTS(SELECT 1 FROM t1 AS x WHERE x.bc +OR ee AND c>d + ORDER BY 3,5,1,2,4,6,7