Parcourir la source

Update 关系型数据库MySQL.md

leemamas il y a 6 ans
Parent
commit
59431d31b2
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      Day36-40/关系型数据库MySQL.md

+ 2 - 2
Day36-40/关系型数据库MySQL.md

@@ -401,7 +401,7 @@
    );
    
    -- 查询选了两门以上的课程的学生姓名(子查询/分组条件/集合运算)
-   select stuname from tb_student where stuid=(
+   select stuname from tb_student where stuid=any(
    	select stuid from tb_score group by stuid having count(stuid)>2
    )
    
@@ -696,4 +696,4 @@ insert into tb_emp values
    
    if __name__ == '__main__':
        main()
-   ```
+   ```