没想好叫什么已被占用
没想好叫什么已被占用
全部文章
分类
归档
标签
去牛客网
登录
/
注册
没想好叫什么已被占用的博客
TA的专栏
0篇文章
0人订阅
Python春招练习系列
0篇文章
0人学习
SQL春招练习系列
0篇文章
0人学习
全部文章
(共31篇)
题解 | #文件最后用户的部分数据#
1、关于read_csv()函数中dtype='object'的说明在 Pandas 的 `read_csv()` 函数中,当不指定 `dtype` 参数时,Pandas 会尝试自动推断每列的数据类型,并会将缺失值(NaN)用默认的 `NaN` 表示。如果数据中存在缺失值,Pandas 会将其正确地...
2023-12-05
6
314
题解 | #评论替换和去除#
select id, REPLACE(comment, ',', '') comment from comment_detail where char_length(comment) > 3 #这里的逗号是中文的逗号
2023-11-21
2
200
题解 | #话题的分布情况#
select substring_index(subject_set,',',1) subject_id1, count(id) cnt from comment_detail where substring_index(substring_index(subject_set,',',2),',',...
2023-11-21
3
275
题解 | #字符函数正则匹配2#
select id, comment from comment_detail where comment regexp '^[是求]' order by id
2023-11-21
1
234
题解
SELECT job_id, boss_id, company_id FROM ( SELECT job_id, boss_id, company_id, job_city FROM job_info WHERE job_city = '上海' UNION SELECT job_id, boss_i...
2023-11-20
1
231
题解 | #查询每个公司查看过的投递用户数#
SELECT j.company_id, SUM(d.resume_if_checked) AS cnt FROM job_info AS j LEFT JOIN deliver_record AS d ON j.job_id = d.job_id WHERE d.resume_if_checked...
2023-11-20
4
408
题解(题目与测试结果不符) | #查询被投递过的职位信息#
#将表以job_id为条件进行连接 #将表以job_id为条件进行连接 #这个题的题干与测试结果不相符 #题目中要求的cnt不用计算 #题目中要求的查看数量为0的不用输出不用考虑 #题目中说要升序考虑也不用升序 SELECT * FROM job_info
2023-11-20
1
225
题解
SELECT u.user_id, u.university FROM user_info AS u WHERE u.user_id in ( SELECT q.user_id FROM questions_pass_record AS q WHERE YEAR(`date...
2023-11-19
2
271
题解 | #查询2022年毕业用户的刷题记录#
#先查询2022年毕业用户的user_id #再利用where/having条件进行筛选 #注意使用“=”会报错,因为uer_info里的用户id会更多 SELECT * FROM questions_pass_record WHERE user_id in ( SELECT user_i...
2023-11-19
7
265
题解 | #中彩票的的概率#
num = input().split() prob = input().split() prob = [float(x) for x in prob] d = dict(zip(num,prob)) choice = input().split() m = 1.0 for ch in choice...
2023-08-18
1
323
首页
上一页
1
2
3
4
下一页
末页