字符串函数 1.concat 函数 drop table test;create table test(id int(4), name varchar(10), sex char(2));insert into test values(1, 'Tom', '男');select concat(id, name, sex) from test; //查询结果:1Tom男select concat(id, '-', name, sex) from test; //查询结果:1-Tom男update…