首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
牛客797465787号
获赞
0
粉丝
0
关注
3
看过 TA
2
桂林航天工业学院
2020
数据分析师
IP属地:未知
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑牛客797465787号吗?
发布(51)
刷题
牛客797465787号
2022-07-24 17:02
数据分析师
我已经通过这道题! https://www.nowcoder.com/questionTerminal/3c771700c22c4ef1b8da0add05bd0fc5
0
点赞
评论
收藏
转发
牛客797465787号
2022-07-24 16:41
数据分析师
题解 | #牛客网用户数据集的大小#
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv',sep=',',dtype=object) a = len(Nowcoder) b = len(Nowcoder.columns) print((a,b))
0
点赞
评论
收藏
转发
牛客797465787号
2022-07-24 16:35
数据分析师
题解 | #用pandas查看牛客网用户数据#
import pandas as pd Nowcoder = pd.read_csv('Nowcoder.csv',sep=',',dtype=object) print(Nowcoder.head(6))
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-30 18:36
数据分析师
题解 | #统计文件的行数#
wc -l ./nowcoder.txt | awk '{print $1}'
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-30 16:53
数据分析师
题解 | #每份试卷每月作答数和截止当月的作答总数。#
select exam_id, date_format(start_time, '%Y%m') as start_month, count(start_time) as month_cnt, sum(count(start_time)) over(partition by exam_id order by date_format(start_time, '%Y%m')) as cum_exam_cnt from...
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-24 18:01
数据分析师
题解 | #平均活跃天数和月活人数#
select date_format(submit_time,'%Y%m') month ,round((count(distinct uid, date_format(submit_time, '%y%m%d'))/ count(distinct uid)),2) avg_active_days , count(distinct uid) mau from exam_record WHERE year(submit_time) ='2021' group by date_format(submit_time,'%Y%m')
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-24 17:13
数据分析师
题解 | #得分不小于平均分的最低分#
select min(e.score) min_score_over_avg from exam_record e join examination_info e1 on e.exam_id = e1.exam_id where e1.tag='SQL' and e.score >= (select avg(e.score) from exam_record e join examination_in...
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-24 16:55
数据分析师
题解 | #统计作答次数#
select count(exam_id) total_pv , count(submit_time) complete_pv ,count(distinct if(submit_time,exam_id,null) ) complete_exam_cnt from exam_record
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-24 16:37
数据分析师
题解 | #SQL类别高难度试卷得分的截断平均值#
select tag,difficulty,round((sum(e.score)-max(e.score)-min(e.score))/ (count(e.score)-2),1) clip_avg_score from examination_info f join exam_record e on f.exam_id=e.exam_id group by tag,difficulty having tag = 'SQL' and difficulty='hard'
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-24 15:21
数据分析师
题解 | #删除索引#
alter table examination_info drop index uniq_idx_exam_id; alter table examination_info drop index full_idx_tag;
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-24 15:19
数据分析师
题解 | #删除索引#
drop index uniq_idx_exam_id on examination_info; drop index full_idx_tag on examination_info;
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-24 15:15
数据分析师
题解 | #创建索引#
alter table examination_info add index idx_duration(duration); alter table examination_info add unique index uniq_idx_exam_id(exam_id); alter table examination_info add fulltext index full_idx_tag(tag);
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-24 15:09
数据分析师
题解 | #创建索引#
create index idx_duration on examination_info(duration); create unique index uniq_idx_exam_id on examination_info(exam_id); create fulltext index full_idx_tag on examination_info(tag);
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-24 14:56
数据分析师
题解 | #删除表#
drop table if exists exam_record_2011, exam_record_2012, exam_record_2013, exam_record_2014;
0
点赞
评论
收藏
转发
牛客797465787号
2022-06-24 14:49
数据分析师
题解 | #修改表#
alter table user_info add school varchar(15) after level; alter table user_info change job profession varchar(10); alter table user_info change achievement achievement int(11) default 0;
0
点赞
评论
收藏
转发
1
2
3
4
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务