3
# Simple operands and arithmetic grouping
5
select 1+1,1-1,1+1*2,8/5,8%5,mod(8,5),mod(8,5),-(1+1)*-2;
6
explain extended select 1+1,1-1,1+1*2,8/5,8%5,mod(8,5),mod(8,5),-(1+1)*-2;
9
# Bug 13044: wrong bit_count() results
13
drop table if exists t1,t2;
15
create table t1(a int);
16
create table t2(a int, b int);
17
insert into t1 values (1), (2), (3);
18
insert into t2 values (1, 7), (3, 7);
19
select t1.a, t2.a, t2.b from t1 left join t2 on t1.a=t2.a;