摘要: 这里,适用于区间都是左闭右开的。如果不是,需要做对应的修改。 (case when duration>=0*60 and duration<5*60 then "[0-5>" when duration>=5*60 and duration<10*60 then "[5-10>" when dura 阅读全文
posted @ 2023-08-15 21:11 yhm138 阅读(21) 评论(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 阅读(30) 评论(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 阅读(58) 评论(0) 推荐(0)