mybatis模糊查询

mybatis模糊查询

Oracle数据库模糊查询第一种方法selectfrom user where name like ‘%’||’张’||’%’;第二种方法selectfrom user where name like ‘%张%’;第三种方法select * from user where name like concat(concat(‘%’,’张’),’%’)参考博客:https://blog.csdn.