1
1
drop table if exists t1,t2;
2
create table t1 (a char(10) not null, b char(10) binary not null,key (a), key(b));
2
create table t1 (a char(10) not null, b char(10) not null,key (a), key(b));
3
3
insert into t1 values ("hello ","hello "),("hello2 ","hello2 ");
4
4
select concat("-",a,"-",b,"-") from t1 where a="hello";