OLD | NEW |
1 # 2012 September 18 | 1 # 2012 September 18 |
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 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 | 177 |
178 do_execsql_test 6.3.1 { | 178 do_execsql_test 6.3.1 { |
179 CREATE TABLE x1(a); | 179 CREATE TABLE x1(a); |
180 CREATE TABLE x2(b); | 180 CREATE TABLE x2(b); |
181 INSERT INTO x1 VALUES(1), (1), (2); | 181 INSERT INTO x1 VALUES(1), (1), (2); |
182 INSERT INTO x2 VALUES(1), (2); | 182 INSERT INTO x2 VALUES(1), (2); |
183 SELECT count(*) FROM x2 WHERE b IN (SELECT DISTINCT a FROM x1 LIMIT 2); | 183 SELECT count(*) FROM x2 WHERE b IN (SELECT DISTINCT a FROM x1 LIMIT 2); |
184 } {2} | 184 } {2} |
185 | 185 |
186 finish_test | 186 finish_test |
OLD | NEW |