V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  listenEcho  ›  全部回复第 3 页 / 共 3 页
回复总数  45
1  2  3  
345 天前
回复了 horizon 创建的主题 MacBook Pro 买 MBP 还是得在京东自营
京东自营买的 apple 设备拆封了是不能 7 天无理由退款的,官方渠道购买的是 15 天内无条件退货的。我个人觉得光凭这一点就可以直接选择 apple 官方渠道购买。

前一个月在京东上买了一个 13 ,拆封使用了几天,后来不想要了,但是我已经拆封使用了,虽然没有满七天,JD 死活不给我办理退货,经过几番周折找 plus 会员投诉才退货成功,太折腾!!
357 天前
回复了 cirenbucunzai 创建的主题 问与答 telegram 真垃圾
telegram 现在+86 的号码会存在收不到验证码的问题,但是不要放弃,隔三差五的获取登录短信,就会给你发过来的,短信应该是第三方的服务商代发的,做了伪装,短信里面的文本内容可能是其他你没有听说过的应用,但是这不重要,你直接用那个验证码就行,具体为什么我也不知道。
362 天前
回复了 UnknoownUser 创建的主题 macOS 有没有人在 macOS 上用小火箭的?
我也用的小火箭,要是又个手机端的小组件就好了
2023-01-03 17:41:58 +08:00
回复了 zxle 创建的主题 程序员 谁帮忙写三个sql语句
1. To find the student who has taken the most courses:



SELECT student, COUNT(*) as num_courses
FROM courses
GROUP BY student
ORDER BY num_courses DESC
LIMIT 1;


2. To find the department with the least number of students taking the course "Computer Principles":

SELECT department, COUNT(*) as num_students
FROM students
JOIN departments ON students.student_id = departments.student_id
JOIN courses ON students.student_id = courses.student_id
WHERE courses.name = 'Computer Principles'
GROUP BY department
ORDER BY num_students ASC
LIMIT 1;


3. To find the pass rate for each department (the percentage of courses passed by students in the department):

SELECT department,
SUM(CASE WHEN grades.grade >= 60 THEN 1 ELSE 0 END) / COUNT(*) AS pass_rate
FROM students
JOIN departments ON students.student_id = departments.student_id
JOIN grades ON students.student_id = grades.student_id
GROUP BY department;


FROM ChatGPT
1  2  3  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5012 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 08:56 · PVG 16:56 · LAX 01:56 · JFK 04:56
Developed with CodeLauncher
♥ Do have faith in what you're doing.