右下角图片

排名

用户解题统计

过去一年提交了

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

收藏

收藏日期 题目名称 解决状态
没有收藏的题目。

评论笔记

评论日期 题目名称 评论内容 站长评论
2024-11-07 一线城市历年平均气温 
哥后台验证代码好像没加年份限制
加了的,你再看看哦!
2024-11-06 表连接(3)一直使用一张表,现在开始两张表 
select mch_typ,count(mch_nm) as total_mch,count(distinct mch_nm) as unique_mch_cnt
from cmb_mch_typ 
group by mch_typ 
order by 2 desc;
那这个呢,请问还有什么问题啊o(╥﹏╥)o
刚看了后台,后台正确代码没加order by,现在加上了,你再试试,应该对了
2024-11-06 表连接(3)一直使用一张表,现在开始两张表 
select mch_typ,count(a.mch_nm) as total_mch,count(distinct a.mch_nm) as unique_mch_cnt 
from cmb_mch_typ a left join cmb_usr_trx_rcd b
on a.mch_nm=b.mch_nm 
group by mch_typ order by total_mch desc;
请问还有哪里有问题啊
看题干,先研究这张表,不需要join,一张表就够啦。实际业务中,也是先探索表、再join的
2024-10-30 分组与聚合函数(5)五花八门的项目,其实都有固定套路(2) 
陷阱挖哪了,找不到😭
我就说and or是个大坑吧,AND执行顺序高于or,3+2*2不等于10,等于7啊

提交记录

提交日期 题目名称 提交代码
2025-02-17 基于共同兴趣爱好的餐厅推荐(1)-我吃过啥 
select cust_uid,mch_nm from mt_trx_rcd1 
where cust_uid='MT10000' and mch_typ1='餐饮'
group by cust_uid,mch_nm
order by mch_nm;
2025-02-12 经过3个象限的一元一次函数 
select * from numbers_for_fun 
where a=0 and b!=0 and c>0;
2025-02-12 经过3个象限的一元一次函数 
select * from numbers_for_fun 
where a=0 and b!=0 and c!=0;
2025-02-12 经过至少两个象限的一元一次函数 
select * from numbers_for_fun 
where a=0 and b!=0;
2025-02-12 一元一次函数形成的三角形面积 
select * from numbers_for_fun 
where a=0 and b!=0 and abs(c*(c/b))>=10;
2025-02-12 一元一次函数形成的等腰三角形 
select * from numbers_for_fun 
where a=0 and b in (1,-1);
2025-02-08 与X轴有且只有一个交点的一元二次函数 
select * from numbers_for_fun 
where a!=0 and b*b-4*a*c=0;
2025-02-08 开口向上且经过原点的一元二次函数 
select * from numbers_for_fun 
where a>0 and c=0;
2025-02-08 开口向上的一元二次函数 
select * from numbers_for_fun 
where a>0 ;
2025-02-08 必过(-1, 0)的一元一次函数 
select * from numbers_for_fun 
where a=0 and b!=0 and -b+c=0;
2025-02-08 必过(3, -8)的一元一次函数 
select * from numbers_for_fun 
where a=0 and b!=0 and 3*b+c=-8;
2025-02-08 必过(-1, -1)的一元一次函数 
select * from numbers_for_fun 
where a=0 and b!=0 and c=b-1;
2025-02-08 必过(0, 1)的一元一次函数 
select * from numbers_for_fun
where a=0 and b!=0 and c=1;
2025-02-08 不经过第二象限的一元一次函数 
select * from numbers_for_fun
where a=0 and b>0 and c<=0;
2025-02-08 不经过第三象限的一元一次函数 
select * from numbers_for_fun 
where a=0 and b<0 and c>=0
2025-02-08 不经过第三象限的一元一次函数 
select * from numbers_for_fun 
where a=0 and b<0 and c>0
2025-01-23 找出与y=x有交点的所有一元一次函数 
select * from numbers_for_fun 
where a=0 and b!=1 and b!=0;
2025-01-23 找出与X轴交点小于等于0的一元一次函数 
select * from numbers_for_fun 
where a=0 and ((b>0 and c>=0)or (b<0 and c<=0));
2025-01-23 找出与X轴交点大于0的一元一次函数 
select * from numbers_for_fun 
where a=0 and( (b>0 and c<0)or (b<0 and c>0));
2025-01-23 找出与X轴交点大于0的一元一次函数 
select * from numbers_for_fun 
where a=0 and b!=0 and c<=0;