SQL 练习
行列转换
炸裂函数
开窗函数
模糊查询
MySQL中like模糊查询 like模糊查询,支持 % 和 _ 匹配 %:多个字符 _下划线:任意一个字符 示例: 查询名字中含有张的学生信息 select * from student where sname like ‘%张%’; 查询名字中第二个字未知的学生信息 select * from student where sname like ‘张_心’; 因为下划线在sql中有特殊含义, 所以当查询姓名中有下划线的学生信息时需要转义 示例: select * from student where sname like ‘%_%’;
————————————————
原文链接:https://blog.csdn.net/cong__cong__cong/article/details/121070542