SQL语句 去除前中后空格 模糊查询

mybatis 语句:SELECT * FROM `archives_management`where corp_name like replace('%${corpName}%',' ','')

例如sql语句:      SELECT * FROM `archives_management` where corp_name like replace('% 华    为 %',' ','')

猜你喜欢

转载自blog.csdn.net/weixin_45876619/article/details/108083360