OLD | NEW |
1 # 2014-10-11 | 1 # 2014-10-11 |
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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 insert into t1(id) values(1),(2),(3),(4),(5); | 54 insert into t1(id) values(1),(2),(3),(4),(5); |
55 create index t1_idx_id on t1(id asc); | 55 create index t1_idx_id on t1(id asc); |
56 select * from t1 group by id order by id; | 56 select * from t1 group by id order by id; |
57 select * from t1 group by id order by id asc; | 57 select * from t1 group by id order by id asc; |
58 select * from t1 group by id order by id desc; | 58 select * from t1 group by id order by id desc; |
59 } { | 59 } { |
60 1 2 3 4 5 1 2 3 4 5 5 4 3 2 1 | 60 1 2 3 4 5 1 2 3 4 5 5 4 3 2 1 |
61 } | 61 } |
62 | 62 |
63 finish_test | 63 finish_test |
64 | |
65 | |
OLD | NEW |