Files
oceanbase/unittest/sql/engine/test_engine.test
obdev 0d0b11c0cc [FEAT MERGE] impl vectorization 2.0
Co-authored-by: oceanoverflow <oceanoverflow@gmail.com>
Co-authored-by: hezuojiao <hezuojiao@gmail.com>
Co-authored-by: Monk-Liu <1152761042@qq.com>
2024-02-08 05:32:54 +00:00

13 lines
486 B
Plaintext

#select * from te1
#select c1 from te1 where c1 = 1
#insert into te1 values (0)
#update te1 set c1 = 1 where c1 = 2
#delete from te1 where c1 = 1
#select avg(c1) from t7 group by c2;
#select c2, sum(c1), min(c1), max(c1) from t7 group by c2;
select/*+USE_HASH_AGGREGATION*/ c2, count(c1), sum(c1 + 1), min(c1*2), max(c1 - 1) from t7 group by c2;
#select c2 from t7 order by c2;
#select /*+blocking('all')*/* from t7;
#select /*+blocking('all')*/* from t1;
#select distinct(c2) from t7;