- 博客(1)
- 收藏
- 关注
原创 mysql 的like CONCAT 使用方式
可以上级查询,也可以下级查询。 1.select d.dept_name_full from dept d where d.dept_name_full like CONCAT('A-B-C','%') mybatis : select d.dept_name_full from dept d where d.dept_name_full like CONCAT(#{deptName},'%') 查询出来是 A-B-C A-B-C-D A-B-C-E ........ 2. selec..
2021-12-21 17:45:08
1876
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人