排名

用户解题统计

过去一年提交了

勋章 ①金银铜:在竞赛中获得第一二三名;②好习惯:自然月10天提交;③里程碑:解决1/2/5/10/20/50/100/200题;④每周打卡挑战:完成每周5题,每年1月1日清零。

收藏

收藏日期 题目名称 解决状态
2025-05-21 字符串与通配符(2)好多关键词做规则,可以使用rlike  未解决

评论笔记

评论日期 题目名称 评论内容 站长评论
没有评论过的题目。

提交记录

提交日期 题目名称 提交代码
2025-05-30 S1年级物理成绩前10名(1) 
select 
	st.student_id,
name,
score,
row_number()over(PARTITION BY grade_code order by score desc) as rnk
from students st
left join scores sc 
on st.student_id=sc.student_id
where grade_code='S1' and subject='物理'
order by rnk,student_id
limit 10
2025-05-30 S1年级物理成绩前10名(1) 
select 
	st.student_id,
name,
score,
row_number()over(order by score desc) as rnk
from students st
left join scores sc 
on st.student_id=sc.student_id
where grade_code='S1' and subject='物理'
order by rnk,student_id
limit 10
2025-05-30 S1年级物理成绩前10名(1) 
select 
	st.student_id,
name,
score,
row_number()over(order by score desc) as rnk
from students st
left join scores sc 
on st.student_id=sc.student_id
where grade_code='S1' and subject='物理'
order by score desc
limit 10
2025-05-22 不经过第三象限的一元一次函数 
select * 
from numbers_for_fun 
where a=0 and b<0 and c>=0
order by id
2025-05-22 不经过第三象限的一元一次函数 
select * 
from numbers_for_fun 
where a=0 and b<0 and c>0
order by id
2025-05-21 找出与y=x有交点的所有一元一次函数 
select * from numbers_for_fun
where a=0 and b!=1 and b!=0 
order by id
2025-05-21 找出与X轴交点小于等于0的一元一次函数 
select * from numbers_for_fun 
where a=0 and b!=0 and b*c>=0
order by id
2025-05-21 找出与X轴交点大于0的一元一次函数 
select *
from numbers_for_fun 
where a=0 and b!=0 and b*c<0
order by id
2025-05-21 找出所有经过原点的一元一次函数 
select * from numbers_for_fun 
where a=0 and b!=0 and c=0
order by id
2025-05-21 找出所有一元一次函数 
select * from numbers_for_fun
where a=0 and b!=0
order by id
2025-05-21 找出所有一元一次函数 
select * from numbers_for_fun
where a=0 and c!=0
order by id
2025-05-21 找出所有一元一次函数 
select * from numbers_for_fun
where a=0
order by id
2025-05-21 输出特定日期上市的银行 
select * from stock_info
where industry ='银行' and
(list_date between '2006-06-01'and '2006-09-01')
2025-05-21 输出特定日期上市的银行 
select * from stock_info
where list_date between '2006-06-01'and '2006-09-01'
2025-05-21 A和K之间的手牌(3) 
select * from hand_permutations
where (card1 between 'A' and 'K')and(card2 between 'A' and 'K')
2025-05-21 A和K之间的手牌(2) 
select * from hand_permutations
where (card1 between 'A' and 'k')or (card2 between 'A' and 'k')
2025-05-21 A和K之间的手牌(1) 
select * 
from hand_permutations 
where card1 between 'A' and 'K'
2025-05-21 交易金额在5000至10000(含边界)的所有交易 
select * from cmb_usr_trx_rcd 
where trx_amt between 5000 and 10000
order by trx_amt desc
limit 5
2025-05-21 交易金额在5000至10000(含边界)的所有交易 
select * from cmb_usr_trx_rcd 
where trx_amt between 5000 and 10000
order by trx_amt
limit 5
2025-05-21 交易金额大于10000元的所有交易 
select * from cmb_usr_trx_rcd 
where trx_amt>100000
order by trx_amt desc