From 621b846797551e656dc0761a8221928347b2dc15 Mon Sep 17 00:00:00 2001 From: smallkun Date: Thu, 27 Feb 2025 17:41:29 +0800 Subject: [PATCH] Auto commit --- 2208/天天乐学考试答案/MySQL练习(一).md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/2208/天天乐学考试答案/MySQL练习(一).md b/2208/天天乐学考试答案/MySQL练习(一).md index 090fa27..9fd9d69 100644 --- a/2208/天天乐学考试答案/MySQL练习(一).md +++ b/2208/天天乐学考试答案/MySQL练习(一).md @@ -249,7 +249,7 @@ SELECT b.genre, a.author_name, COUNT(*) c FROM tb_books b, tb_authors a WHERE b.note = a.author_name GROUP BY b.genre, a.author_id -HAVING COUNT(*) = ( +HAVING COUNT(*) = ( #子查询用来统计这个类别中 数量最多的作者的图书数量 SELECT COUNT(*) FROM tb_books WHERE b.genre = genre