OLD | NEW |
1 # 2008 September 1 | 1 # 2008 September 1 |
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 SELECT cc.id, cc.b_id, cc.myvalue | 55 SELECT cc.id, cc.b_id, cc.myvalue |
56 FROM ( | 56 FROM ( |
57 SELECT DISTINCT a.id, a.b_id, a.myvalue | 57 SELECT DISTINCT a.id, a.b_id, a.myvalue |
58 FROM a, b WHERE a.b_id = b.id | 58 FROM a, b WHERE a.b_id = b.id |
59 ) cc | 59 ) cc |
60 LEFT OUTER JOIN b dd ON cc.b_id = dd.id | 60 LEFT OUTER JOIN b dd ON cc.b_id = dd.id |
61 } | 61 } |
62 } {1 1 Test 2 1 Test2 3 1 Test3} | 62 } {1 1 Test 2 1 Test2 3 1 Test3} |
63 | 63 |
64 finish_test | 64 finish_test |
OLD | NEW |