Skip to content

Commit

Permalink
Merge pull request jackfrued#119 from leemamas/master
Browse files Browse the repository at this point in the history
Update 关系型数据库MySQL.md
  • Loading branch information
jackfrued authored May 18, 2019
2 parents 9e36049 + 59431d3 commit 2f013d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Day36-40/关系型数据库MySQL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
Expand Down Expand Up @@ -696,4 +696,4 @@ insert into tb_emp values
if __name__ == '__main__':
main()
```
```

0 comments on commit 2f013d1

Please sign in to comment.