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