OLD | NEW |
1 # 2012 August 23 | 1 # 2012 August 23 |
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 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
228 do_test aggnested-3.16 { | 228 do_test aggnested-3.16 { |
229 db eval { | 229 db eval { |
230 SELECT max(value1), (SELECT sum(value2=value1) FROM t2) | 230 SELECT max(value1), (SELECT sum(value2=value1) FROM t2) |
231 FROM t1 | 231 FROM t1 |
232 GROUP BY id1; | 232 GROUP BY id1; |
233 } | 233 } |
234 } {12 2 34 4} | 234 } {12 2 34 4} |
235 | 235 |
236 | 236 |
237 finish_test | 237 finish_test |
OLD | NEW |