OLD | NEW |
1 # 2015-11-07 | 1 # 2015-11-07 |
2 # | 2 # |
3 # The author disclaims copyright to this source code. In place of | 3 # The author disclaims copyright to this source code. In place of |
4 # a legal notice, here is a blessing: | 4 # a legal notice, here is a blessing: |
5 # | 5 # |
6 # May you do good and not evil. | 6 # May you do good and not evil. |
7 # May you find forgiveness for yourself and forgive others. | 7 # May you find forgiveness for yourself and forgive others. |
8 # May you share freely, never taking more than you give. | 8 # May you share freely, never taking more than you give. |
9 # | 9 # |
10 #*********************************************************************** | 10 #*********************************************************************** |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 do_execsql_test 2.1 { | 55 do_execsql_test 2.1 { |
56 CREATE TABLE t1(x); | 56 CREATE TABLE t1(x); |
57 WITH | 57 WITH |
58 x1(a) AS (values(100)) | 58 x1(a) AS (values(100)) |
59 INSERT INTO t1(x) | 59 INSERT INTO t1(x) |
60 SELECT * FROM (WITH x2(y) AS (SELECT * FROM x1) SELECT y+a FROM x1, x2); | 60 SELECT * FROM (WITH x2(y) AS (SELECT * FROM x1) SELECT y+a FROM x1, x2); |
61 SELECT * FROM t1; | 61 SELECT * FROM t1; |
62 } {200} | 62 } {200} |
63 | 63 |
64 finish_test | 64 finish_test |
OLD | NEW |