第一种使用like (严格匹配会把最后多空格包含进去)
select * from tableA where string like ‘aaa %’;
第二种方案(转为二进制)
select * from tableA where string = BINARY’aaa ';
第一种使用like (严格匹配会把最后多空格包含进去)
select * from tableA where string like ‘aaa %’;
第二种方案(转为二进制)
select * from tableA where string = BINARY’aaa ';