1. 首页
  2. 人工智能
  3. 深度学习
  4. 基于SQL中的数据查询语句汇总

基于SQL中的数据查询语句汇总

上传者: 2020-12-17 11:47:24上传 PDF文件 49.85KB 热度 16次
where条件表达式–统计函数 代码如下:Select count(1) from student;–like模糊查询–统计班上姓张的人数 代码如下:select count(*) from student where realName like ‘张%’;–统计班上张姓两个字的人数 代码如下:select count(*) from student where realName like ‘张_’;–统计班上杭州籍的学生人数 代码如下:select count(*) from student where home like ‘%杭州%’;–查询班上每位学生的年龄 代码如下:select re
下载地址
用户评论