Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
CSDN 技术社区
skill_tree_mysql
提交
4b202716
S
skill_tree_mysql
项目概览
CSDN 技术社区
/
skill_tree_mysql
通知
21
Star
0
Fork
1
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
skill_tree_mysql
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
提交
4b202716
编写于
6月 09, 2022
作者:
M
Mars Liu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
regex
上级
f5593648
变更
12
显示空白变更内容
内联
并排
Showing
12 changed file
with
130 addition
and
12 deletion
+130
-12
data/2.MySQL中阶/1.数据库组成/3.存储过程和函数/create_function.json
data/2.MySQL中阶/1.数据库组成/3.存储过程和函数/create_function.json
+1
-1
data/2.MySQL中阶/1.数据库组成/6.存储引擎/config.json
data/2.MySQL中阶/1.数据库组成/6.存储引擎/config.json
+13
-3
data/2.MySQL中阶/1.数据库组成/6.存储引擎/upgrade_engine.json
data/2.MySQL中阶/1.数据库组成/6.存储引擎/upgrade_engine.json
+8
-0
data/2.MySQL中阶/1.数据库组成/6.存储引擎/upgrade_engine.md
data/2.MySQL中阶/1.数据库组成/6.存储引擎/upgrade_engine.md
+34
-0
data/2.MySQL中阶/2. 查询/2. WHERE/config.json
data/2.MySQL中阶/2. 查询/2. WHERE/config.json
+1
-1
data/2.MySQL中阶/2. 查询/3.CASE/config.json
data/2.MySQL中阶/2. 查询/3.CASE/config.json
+1
-0
data/2.MySQL中阶/2. 查询/5.ORDER BY/config.json
data/2.MySQL中阶/2. 查询/5.ORDER BY/config.json
+1
-1
data/2.MySQL中阶/2. 查询/7.正则表达式/config.json
data/2.MySQL中阶/2. 查询/7.正则表达式/config.json
+11
-3
data/2.MySQL中阶/2. 查询/7.正则表达式/regex.json
data/2.MySQL中阶/2. 查询/7.正则表达式/regex.json
+8
-0
data/2.MySQL中阶/2. 查询/7.正则表达式/regex.md
data/2.MySQL中阶/2. 查询/7.正则表达式/regex.md
+43
-0
data/2.MySQL中阶/3.内置函数/3.窗口函数/distrubute.json
data/2.MySQL中阶/3.内置函数/3.窗口函数/distrubute.json
+1
-1
data/tree.json
data/tree.json
+8
-2
未找到文件。
data/2.MySQL中阶/1.数据库组成/3.存储过程和函数/create_function.json
浏览文件 @
4b202716
{
{
"type"
:
"code_options"
,
"type"
:
"code_options"
,
"author"
:
null
,
"author"
:
"Mars"
,
"source"
:
"create_function.md"
,
"source"
:
"create_function.md"
,
"notebook_enable"
:
false
,
"notebook_enable"
:
false
,
"exercise_id"
:
"213471661dd244f58bd0d2e0928a0100"
"exercise_id"
:
"213471661dd244f58bd0d2e0928a0100"
...
...
data/2.MySQL中阶/1.数据库组成/6.存储引擎/config.json
浏览文件 @
4b202716
{
{
"node_id"
:
"mysql-af89d54d66974111b4f67aeba2af7161"
,
"node_id"
:
"mysql-af89d54d66974111b4f67aeba2af7161"
,
"keywords"
:
[
"engine"
,
"innodb"
,
"myisam"
],
"keywords"
:
[
"engine"
,
"innodb"
,
"myisam"
],
"children"
:
[],
"children"
:
[],
"export"
:
[],
"export"
:
[
"upgrade_engine.json"
],
"keywords_must"
:
[
"keywords_must"
:
[
[
"mysql"
,
"存储引擎"
]
[
"mysql"
,
"存储引擎"
]
]
]
}
}
\ No newline at end of file
data/2.MySQL中阶/1.数据库组成/6.存储引擎/upgrade_engine.json
0 → 100644
浏览文件 @
4b202716
{
"type"
:
"code_options"
,
"author"
:
"ccat"
,
"source"
:
"upgrade_engine.md"
,
"notebook_enable"
:
false
,
"exercise_id"
:
"87ceaa4ffe494e219ff20c91eee8a2ec"
}
\ No newline at end of file
data/2.MySQL中阶/1.数据库组成/6.存储引擎/upgrade_engine.md
0 → 100644
浏览文件 @
4b202716
# 存储引擎修改
Goods 表的存储引擎是 MyISAM,Joe 需要把它修改为 InnoDB,他应该怎么做?
## 答案
```
mysql
alter table goods engine innodb;
```
## 选项
### A
```
mysql
alter table goods set engine innodb;
```
### B
1.
将 goods 表的数据导出
2.
重建 goods 表,建表时指定
`engine=innodb`
3.
导入数据
### C
```
mysql
alter table goods add engine innodb;
```
### D
所有都不对
\ No newline at end of file
data/2.MySQL中阶/2. 查询/2. WHERE/config.json
浏览文件 @
4b202716
{
{
"node_id"
:
"mysql-2296dbe96d584a52bd28a3ad5f655518"
,
"node_id"
:
"mysql-2296dbe96d584a52bd28a3ad5f655518"
,
"keywords"
:
[],
"keywords"
:
[
"where"
],
"children"
:
[],
"children"
:
[],
"export"
:
[
"export"
:
[
"between.json"
"between.json"
...
...
data/2.MySQL中阶/2. 查询/3.CASE/config.json
浏览文件 @
4b202716
{
{
"node_id"
:
"mysql-8e6cd4d5f4b446a2bc3f5402de9bd49c"
,
"node_id"
:
"mysql-8e6cd4d5f4b446a2bc3f5402de9bd49c"
,
"keywords"
:
[
"keywords"
:
[
"when"
,
"case"
,
"case"
,
"pivot"
,
"pivot"
,
"透视表"
"透视表"
...
...
data/2.MySQL中阶/2. 查询/5.ORDER BY/config.json
浏览文件 @
4b202716
{
{
"node_id"
:
"mysql-fa20a81805b44975aed265dd058c542a"
,
"node_id"
:
"mysql-fa20a81805b44975aed265dd058c542a"
,
"keywords"
:
[],
"keywords"
:
[
"order by"
,
"排序"
],
"children"
:
[],
"children"
:
[],
"export"
:
[
"export"
:
[
"order_by.json"
"order_by.json"
...
...
data/2.MySQL中阶/2. 查询/7.正则表达式/config.json
浏览文件 @
4b202716
{
{
"node_id"
:
"mysql-e6cbbff27cd04bc0b61ebbb3ef27d4b2"
,
"node_id"
:
"mysql-e6cbbff27cd04bc0b61ebbb3ef27d4b2"
,
"keywords"
:
[
"regex"
,
"regular"
],
"keywords"
:
[
"regex"
,
"regular"
],
"children"
:
[],
"children"
:
[],
"export"
:
[],
"export"
:
[
"regex.json"
],
"keywords_must"
:
[
"keywords_must"
:
[
[
"mysql"
,
"正则表达式"
]
[
"mysql"
,
"正则表达式"
]
],
],
"keywords_forbid"
:
[],
"keywords_forbid"
:
[],
"group"
:
0
"group"
:
0
...
...
data/2.MySQL中阶/2. 查询/7.正则表达式/regex.json
0 → 100644
浏览文件 @
4b202716
{
"type"
:
"code_options"
,
"author"
:
"ccat"
,
"source"
:
"regex.md"
,
"notebook_enable"
:
false
,
"exercise_id"
:
"1b35ec1703954c42be54d361a97ca3d9"
}
\ No newline at end of file
data/2.MySQL中阶/2. 查询/7.正则表达式/regex.md
0 → 100644
浏览文件 @
4b202716
# 正则表达式
Joe 想要找出 goods 表中所有名称包含牛奶的冰激凌,他应该怎么写这个查询?
## 答案
```
mysql
select *
from goods
where name regexp '牛奶.*冰激凌';
```
## 选项
### A
```
mysql
select *
from goods
where name like '牛奶%冰激凌'
```
### B
```
mysql
select *
from goods
where name like '牛奶.*冰激凌';
```
### C
```
mysql
select *
from goods
where name regexp '牛奶冰激凌';
```
### D
所有都不对
\ No newline at end of file
data/2.MySQL中阶/3.内置函数/3.窗口函数/distrubute.json
浏览文件 @
4b202716
{
{
"type"
:
"code_options"
,
"type"
:
"code_options"
,
"author"
:
null
,
"author"
:
"Mars"
,
"source"
:
"distrubute.md"
,
"source"
:
"distrubute.md"
,
"notebook_enable"
:
false
,
"notebook_enable"
:
false
,
"exercise_id"
:
"815be880ae8141f9b562638e167dcedb"
"exercise_id"
:
"815be880ae8141f9b562638e167dcedb"
...
...
data/tree.json
浏览文件 @
4b202716
...
@@ -758,7 +758,9 @@
...
@@ -758,7 +758,9 @@
{
{
" WHERE"
:
{
" WHERE"
:
{
"node_id"
:
"mysql-2296dbe96d584a52bd28a3ad5f655518"
,
"node_id"
:
"mysql-2296dbe96d584a52bd28a3ad5f655518"
,
"keywords"
:
[],
"keywords"
:
[
"where"
],
"children"
:
[],
"children"
:
[],
"keywords_must"
:
[
"keywords_must"
:
[
[
[
...
@@ -774,6 +776,7 @@
...
@@ -774,6 +776,7 @@
"CASE"
:
{
"CASE"
:
{
"node_id"
:
"mysql-8e6cd4d5f4b446a2bc3f5402de9bd49c"
,
"node_id"
:
"mysql-8e6cd4d5f4b446a2bc3f5402de9bd49c"
,
"keywords"
:
[
"keywords"
:
[
"when"
,
"case"
,
"case"
,
"pivot"
,
"pivot"
,
"透视表"
"透视表"
...
@@ -809,7 +812,10 @@
...
@@ -809,7 +812,10 @@
{
{
"ORDER BY"
:
{
"ORDER BY"
:
{
"node_id"
:
"mysql-fa20a81805b44975aed265dd058c542a"
,
"node_id"
:
"mysql-fa20a81805b44975aed265dd058c542a"
,
"keywords"
:
[],
"keywords"
:
[
"order by"
,
"排序"
],
"children"
:
[],
"children"
:
[],
"keywords_must"
:
[
"keywords_must"
:
[
[
[
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录