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
34e55130
Commit
34e55130
authored
Sep 08, 2018
by
jackfrued
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了数据库相关文档
parent
b997b130
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
4 deletions
+0
-4
关系型数据库MySQL.md
Day36-40/关系型数据库MySQL.md
+0
-4
No files found.
Day36-40/关系型数据库MySQL.md
View file @
34e55130
...
@@ -30,7 +30,6 @@
...
@@ -30,7 +30,6 @@
1.
DDL
1.
DDL
```SQL
```SQL
-- 创建数据库SRS
-- 创建数据库SRS
drop database if exists SRS;
drop database if exists SRS;
create database SRS default charset utf8;
create database SRS default charset utf8;
...
@@ -117,7 +116,6 @@
...
@@ -117,7 +116,6 @@
2.
DML
2.
DML
```SQL
```SQL
-- 插入学院数据
-- 插入学院数据
insert into tb_college
insert into tb_college
(collname, collmaster, collweb) values
(collname, collmaster, collweb) values
...
@@ -194,7 +192,6 @@
...
@@ -194,7 +192,6 @@
3.
DQL
3.
DQL
```SQL
```SQL
-- 查询所有学生信息
-- 查询所有学生信息
select * from tb_student;
select * from tb_student;
select stuid, stuname, stusex, stubirth, stuaddr, collid
select stuid, stuname, stusex, stubirth, stuaddr, collid
...
@@ -316,7 +313,6 @@
...
@@ -316,7 +313,6 @@
4.
DCL
4.
DCL
```SQL
```SQL
-- 创建名为hellokitty的用户
-- 创建名为hellokitty的用户
create user 'hellokitty'@'localhost' identified by '123123';
create user 'hellokitty'@'localhost' identified by '123123';
...
...
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