首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
基础学习课
实战项目课
求职辅导课
专栏&文章
竞赛
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
AI面试、笔试、校招、雇品
HR免费试用AI面试
最新面试提效必备
登录
/
注册
GB279824
获赞
21
粉丝
1
关注
2
看过 TA
13
中国计量大学
2025
测试工程师
IP属地:浙江
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑GB279824吗?
发布(226)
评论
刷题
收藏
GB279824
关注TA,不错过内容更新
关注
05-16 16:33
中国计量大学 测试工程师
题解 | 基本数学函数
select *, abs(value) as absolute_value, ceil(value) as ceiling_value, floor(value) as floor_value, round(value,1) as rounded_value from numbers order by id ASC;
0
点赞
评论
收藏
分享
05-16 16:27
中国计量大学 测试工程师
题解 | 计算每日累计利润
select *, sum(profit) over (order by profit_date) as cumulative_profit from daily_profits order by profit_date ASC SUM(profit): 表示对 profit 列的值进行求和操作。OVER (): 是窗口函数的关键字,用于定义一个窗口,以便对一组行进行操作,而不是对整个表进行聚合。ORDER BY profit_date: 指定窗口中数据按照 profit_date(利润日期)进行排序,这是一个窗口排序操作。AS cumulative_profit: 将计算的结果命名为 cum...
0
点赞
评论
收藏
分享
05-16 16:15
中国计量大学 测试工程师
题解 | 电话号码格式校验
select * from contacts where phone_number regexp '^[1-9][0-9]{9}$|^[1-9][0-9]{2}-[0-9]{3}-[0-9]{4}$' order by id ASC '^[1-9][0-9]{9}$|^[1-9][0-9]{2}-[0-9]{3}-[0-9]{4}$'这个正则表达式的作用如下:^ 表示匹配字符串的开头,$ 表示匹配字符串的结尾,确保整个字符串都符合指定的模式。[1-9] 表示电话号码的第一位不能是 0,必须是 1 到 9 之间的数字。[0-9]{9} 表示接下来的 9 位可以是任意数字,与开头的 [1-9] 组...
0
点赞
评论
收藏
分享
05-16 15:51
中国计量大学 测试工程师
2025.05.16 在牛客打卡5天!
0
点赞
评论
收藏
分享
05-15 18:59
中国计量大学 测试工程师
题解 | 查找GPA最高值
select round(max(gpa),1) as gpa from user_profile where university = '复旦大学'
0
点赞
评论
收藏
分享
05-15 18:54
中国计量大学 测试工程师
题解 | 查看学校名称中含北京的用户
select device_id, age, university from user_profile where university like '%北京%'
0
点赞
评论
收藏
分享
05-15 18:52
中国计量大学 测试工程师
题解 | 操作符混合运用
select device_id, gender, age, university, gpa from user_profile where (gpa > 3.5 and university = '山东大学') or (gpa > 3.8 and university = '复旦大学')
0
点赞
评论
收藏
分享
05-15 18:49
中国计量大学 测试工程师
题解 | Where in 和Not in
select device_id, gender, age, university, gpa from user_profile where university in ('北京大学', '复旦大学', '山东大学') # where university not in ('浙江大学')
0
点赞
评论
收藏
分享
05-15 18:03
中国计量大学 测试工程师
题解 | 高级操作符练习(2)
select device_id, gender, age, university, gpa from user_profile where university = "北京大学" or gpa > 3.7
0
点赞
评论
收藏
分享
05-15 18:02
中国计量大学 测试工程师
题解 | 高级操作符练习(1)
select device_id, gender, age, university, gpa from user_profile where gender = "male" and gpa > 3.5
0
点赞
评论
收藏
分享
05-15 17:59
中国计量大学 测试工程师
题解 | 用where过滤空值练习
select device_id, gender, age, university from user_profile where age is not NULL
0
点赞
评论
收藏
分享
05-15 17:53
中国计量大学 测试工程师
题解 | 查找除复旦大学的用户信息
select device_id, gender, age, university from user_profile where university not in ("复旦大学")
0
点赞
评论
收藏
分享
05-15 14:30
中国计量大学 测试工程师
2025.05.15 在牛客打卡4天!
0
点赞
评论
收藏
分享
05-14 17:19
中国计量大学 测试工程师
2025.05.14 在牛客打卡3天!
0
点赞
评论
收藏
分享
05-03 14:17
中国计量大学 测试工程师
2025.05.03 在牛客打卡2天!
0
点赞
评论
收藏
分享
1
11
12
13
14
15
16
创作者周榜
更多
关注他的用户也关注了:
牛客网
牛客网在线编程
牛客网题解
牛客企业服务