欢迎访问yhm138的博客园博客, 你可以通过 [RSS] 的方式持续关注博客更新

MyAvatar

yhm138

HelloWorld!

摘要: 这里,适用于区间都是左闭右开的。如果不是,需要做对应的修改。 ``` (case when duration>=0*60 and duration" when duration>=5*60 and duration" when duration>=10*60 and duration" else " 阅读全文
posted @ 2023-08-15 21:11 yhm138 阅读(3) 评论(0) 推荐(0) 编辑
摘要: [TOC] # 题目地址 https://leetcode.cn/problems/find-median-given-frequency-of-numbers/description/ # 代码 ``` # 你可以把这个结构理解为do while WITH RECURSIVE RecCTE AS 阅读全文
posted @ 2023-08-15 20:04 yhm138 阅读(18) 评论(0) 推荐(0) 编辑
摘要: 目录题目地址题目描述代码MySQL,使用field函数Oracle/PostgreSQL/T-SQL/MySQL,使用case whenPandas 题目地址 https://leetcode.cn/problems/arrange-table-by-gender/description/ 题目描述 阅读全文
posted @ 2023-08-15 11:17 yhm138 阅读(17) 评论(0) 推荐(0) 编辑