未验证 提交 59431d31 编写于 作者: 呆马蓝's avatar 呆马蓝 提交者: GitHub

Update 关系型数据库MySQL.md

上级 0d2f0708
...@@ -401,7 +401,7 @@ ...@@ -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 select stuid from tb_score group by stuid having count(stuid)>2
) )
...@@ -696,4 +696,4 @@ insert into tb_emp values ...@@ -696,4 +696,4 @@ insert into tb_emp values
if __name__ == '__main__': if __name__ == '__main__':
main() main()
``` ```
\ No newline at end of file
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册