上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 95 下一页
摘要: 简介 having 的使用考察 select number from grade group by number having count(number) >= 3; 阅读全文
posted @ 2021-07-01 11:13 HDU李少帅 阅读(49) 评论(0) 推荐(0)
摘要: 简介 left join select a.id, a.name, b.content from person as a left join task as b on b.person_id = a.id order by a.id; 阅读全文
posted @ 2021-07-01 11:12 HDU李少帅 阅读(33) 评论(0) 推荐(0)
摘要: 简介 简单 select user_id, max(date) from login group by user_id order by user_id; 阅读全文
posted @ 2021-07-01 11:04 HDU李少帅 阅读(55) 评论(0) 推荐(0)
摘要: 简介 使用 round 与 avg select job, round(avg(score),3) as avg from grade group by job order by avg desc; 阅读全文
posted @ 2021-07-01 11:00 HDU李少帅 阅读(29) 评论(0) 推荐(0)
摘要: 简介 使用 多个 and 并列 select * from order_info where date > "2025-10-15" and status = "completed" and product_name in("C++","Java","Python") order by id; 阅读全文
posted @ 2021-07-01 10:50 HDU李少帅 阅读(46) 评论(0) 推荐(0)
摘要: 简介 select job, sum(num) as cnt from resume_info where resume_info.date < '2026-01-01' and resume_info.date >= '2025-01-01' group by job order by cnt d 阅读全文
posted @ 2021-07-01 10:49 HDU李少帅 阅读(52) 评论(0) 推荐(0)
摘要: 简介 order by 然后 limit select * from employees order by hire_date desc limit 1; 阅读全文
posted @ 2021-07-01 10:36 HDU李少帅 阅读(66) 评论(0) 推荐(0)
摘要: 简介 如果懒得安装 可以使用牛客网提供的 https://www.nowcoder.com/practice/1bfe3870034e4efeb4b4aa6711316c3b?tpId=82&&tqId=38359&rp=1&ru=/ta/sql&qru=/ta/sql/question-ranki 阅读全文
posted @ 2021-06-30 21:12 HDU李少帅 阅读(44) 评论(0) 推荐(0)
摘要: 简介 linux && windows 我们常常要获取某个特定文件后缀的文件. 使用shell进行获取. 参考链接 https://blog.csdn.net/waitfor920/article/details/103583873 code #!/bin/bash ################ 阅读全文
posted @ 2021-06-30 10:39 HDU李少帅 阅读(345) 评论(0) 推荐(0)
摘要: 简介 使用递归来进行求解, 好像所有的动态规划都可以转为递归来求解?? m 个 苹果 放在 n 个碟子上 = m个苹果放在n-1个碟子上的方法 + 所有的碟子都是满的, 但是剩下m - n 个进行放置的方法 比如 7 个苹果放在 3个碟子上 等于 7个苹果放在2个碟子上的个数 + 4 个苹果放在3个 阅读全文
posted @ 2021-06-29 20:04 HDU李少帅 阅读(72) 评论(0) 推荐(0)
上一页 1 ··· 9 10 11 12 13 14 15 16 17 ··· 95 下一页