Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Python-100-Days
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
huangkq
Python-100-Days
Commits
fe71d278
Commit
fe71d278
authored
May 18, 2019
by
jackfrued
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复了部分文档和代码中的bug
parent
43c147da
Changes
5
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
for1.py
Day01-15/Day04/code/for1.py
+1
-2
Python语言进阶.md
Day16-20/Python语言进阶.md
+1
-0
SRS_create_and_init.sql
Day36-40/code/SRS_create_and_init.sql
+1
-1
学校选课系统.spf
Day36-40/code/学校选课系统.spf
+0
-0
关系型数据库MySQL.md
Day36-40/关系型数据库MySQL.md
+1
-1
No files found.
Day01-15/Day04/code/for1.py
View file @
fe71d278
...
@@ -8,6 +8,5 @@ Date: 2018-03-01
...
@@ -8,6 +8,5 @@ Date: 2018-03-01
sum
=
0
sum
=
0
for
x
in
range
(
1
,
101
):
for
x
in
range
(
1
,
101
):
if
x
%
2
==
0
:
sum
+=
x
sum
+=
x
print
(
sum
)
print
(
sum
)
Day16-20/Python语言进阶.md
View file @
fe71d278
...
@@ -555,6 +555,7 @@
...
@@ -555,6 +555,7 @@
```Python
```Python
from functools import wraps
from functools import wraps
from threading import Lock
def singleton(cls):
def singleton(cls):
...
...
Day36-40/code/SRS_create_and_init.sql
View file @
fe71d278
...
@@ -216,7 +216,7 @@ select stuname as 姓名, year(now())-year(stubirth) as 年龄 from tb_student w
...
@@ -216,7 +216,7 @@ select stuname as 姓名, year(now())-year(stubirth) as 年龄 from tb_student w
);
);
-- 查询选了两门以上的课程的学生姓名(子查询/分组条件/集合运算)
-- 查询选了两门以上的课程的学生姓名(子查询/分组条件/集合运算)
select
stuname
from
tb_student
where
stuid
=
(
select
stuname
from
tb_student
where
stuid
in
(
select
stuid
from
tb_score
group
by
stuid
having
count
(
stuid
)
>
2
select
stuid
from
tb_score
group
by
stuid
having
count
(
stuid
)
>
2
)
)
...
...
Day36-40/code/学校选课系统.spf
View file @
fe71d278
This diff is collapsed.
Click to expand it.
Day36-40/关系型数据库MySQL.md
View file @
fe71d278
...
@@ -401,7 +401,7 @@
...
@@ -401,7 +401,7 @@
);
);
-- 查询选了两门以上的课程的学生姓名(子查询/分组条件/集合运算)
-- 查询选了两门以上的课程的学生姓名(子查询/分组条件/集合运算)
select stuname from tb_student where stuid
=
(
select stuname from tb_student where stuid
in
(
select stuid from tb_score group by stuid having count(stuid)>2
select stuid from tb_score group by stuid having count(stuid)>2
)
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment