首页
题库
公司真题
专项练习
面试题库
在线编程
面试
面试经验
AI 模拟面试
简历
求职
学习
课程
专栏·文章
竞赛
搜索
我要招人
发布职位
发布职位、邀约牛人
更多企业解决方案
在线笔面试、雇主品牌宣传
登录
/
注册
积极的六边形战士G了
获赞
7
粉丝
0
关注
0
看过 TA
14
男
湖南农业大学
2024
运维工程师
IP属地:湖南
暂未填写个人简介
私信
关注
拉黑
举报
举报
确定要拉黑积极的六边形战士G了吗?
发布(31)
刷题
积极的六边形战士G了
2023-09-23 20:26
湖南农业大学 计算机类
题解 | #计算用户8月每天的练题数量#
select day(date) as day, count(question_id) as question_cnt from question_practice_detail where month(date)=8 and year(date)=2021 group by date
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-23 20:10
湖南农业大学 计算机类
题解 | #查看不同年龄段的用户明细#
select device_id, gender, case when age>=25 then '25岁及以上' when age>=20 then '20-24岁' when age<20 then '20岁以下' else '其他' end as age_cut from user_profile
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-23 17:03
湖南农业大学 计算机类
题解 | #查找山东大学或者性别为男生的信息#
select device_id, gender, age, gpa from user_profile where university = '山东大学' union all select device_id, gender, age, gpa from user_profile where gender = 'male'
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-23 16:30
湖南农业大学 计算机类
题解 | #统计每个用户的平均刷题数#
select up.university, qd.difficult_level, count(qpd.question_id)/count(distinct qpd.device_id) as avg_answer_cnt from user_profile as up inner join question_practice_detail as qpd on up.device_id = qpd.device_id inner join question_detail as qd on qpd.question_id = qd.question_id group by up...
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-23 16:19
湖南农业大学 计算机类
题解 | #统计每个学校各难度的用户平均刷题数#
select up.university, qd.difficult_level, count(qpd.question_id)/count(distinct qpd.device_id) as avg_answer_cnt from user_profile as up inner join question_practice_detail as qpd on up.device_id = qpd.device_id inner join question_detail as qd on qpd.question_id = qd.question_id group by...
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-23 15:27
湖南农业大学 计算机类
题解 | #统计每个学校的答过题的用户的平均答题数#
select up.university,count(qpd.question_id)/count(distinct qpd.device_id) as avg_answer_cnt from user_profile as up inner join question_practice_detail as qpd on up.device_id = qpd.device_id group by up.university
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-22 21:24
湖南农业大学 计算机类
题解 | #分组排序练习题#
select university, avg(question_cnt) as avg_question_cnt from user_profile group by university order by avg_question_cnt ASC
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-18 22:14
湖南农业大学 计算机类
题解 | #浙江大学用户题目回答情况#
select qp.device_id,qp.question_id,qp.result from question_practice_detail as qp inner join user_profile as up where qp.device_id = up.device_id and up.university = '浙江大学' order by qp.question_id
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-02 22:06
湖南农业大学 计算机类
题解 |输出和3306端口建立连接总的各个状态的数目#
#!/bin/bash cat nowcoder.txt| grep 3306| \ awk '{ ips[$5]++; states[$6]++; total_links++; } END { print "TOTAL_IP", length(ips); print "ESTABLISHED", states["ESTABLISHED"]; print "TOTAL_LINK", total_links; }'
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-02 21:24
湖南农业大学 计算机类
题解 | #netstat练习3-输出每个IP的连接数#
#!/bin/bash cat nowcoder.txt| grep tcp| awk '{print $5}'| awk -F':' '{print $1}'| sort| uniq -c| sort -nr| awk '{print $2" "$1}'
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-02 21:07
湖南农业大学 计算机类
题解 | #查看和3306端口建立的连接#
#!/bin/bash cat nowcoder.txt| grep "3306.*ESTABLISHED"| awk '{print $5}'| awk -F':' '{print $1}'| sort| uniq -c| sort -nr| awk '{print $1" "$2}'
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-02 20:59
湖南农业大学 计算机类
题解 | #Nginx日志分析6-统计每分钟的请求数#
#!/bin/bash cat nowcoder.txt |awk -F':' '{print $2":"$3}' |sort |uniq -c |sort -r |awk '{print $1" "$2}'
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-09-02 20:48
湖南农业大学 计算机类
题解 | #nginx日志分析5-统计爬虫抓取404的次数#
#!/bin/bash cat nowcoder.txt|grep baidu| grep 404| wc -l
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-08-31 22:28
湖南农业大学 计算机类
题解 | #netstat练习1-查看各个状态的连接数#
#!/bin/bash #awk '{if(NR>1) print $6}' nowcoder.txt|sort|uniq -c|tail -3|sort -nr|awk '{print $2" "$1}' grep "tcp" nowcoder.txt|awk '{print $6}'| sort| uniq -c|sort -rn|awk '{print $2" "$1}'
0
点赞
评论
收藏
转发
积极的六边形战士G了
2023-08-30 21:55
湖南农业大学 计算机类
题解 | #打印等腰三角形#
#!/bin/bash read num for(( i=1; i<=$num; i++ )) do for ((j=$num; j>$i; j--)) do echo -n " " done for (( j=0; j<$i; j++ )) do echo -n "* " done printf '\n' done
0
点赞
评论
收藏
转发
1
2
3
工具箱
TA的圈子
暂未加入圈子
TA的圈子
TA的笔记
暂无笔记
TA的笔记
登录
0
天
已登录
0
天
连续登录
0
人
今日访客
牛客网
牛客企业服务