提交 82d983e5 编写于 作者: M Mars Liu

exercises review

上级 9761012e
{
"node_id": "mysql-25808aa5b4ba4e78bd3dc59e09b403ed",
"keywords": ["create user"],
"keywords": [
"create user"
],
"children": [],
"export": [
"create_user_desc.json",
......
......@@ -4,4 +4,4 @@
"source": "create_user_desc.md",
"notebook_enable": false,
"exercise_id": ""
}
\ No newline at end of file
}
\ No newline at end of file
......@@ -11,11 +11,12 @@
## 答案
使用
```
GRANT SELECT ON *.* TO 'binghe'@'localhost'
IDENTIFIED BY '@Binghe123456';
创建用户名为binghe的用户,密码为@binghe123456,并为用户赋予所有数据表全部权限
```
创建用户名为binghe的用户,密码为@binghe123456,并为用户赋予所有数据表全部权限
## 选项
......
......@@ -20,19 +20,19 @@ INNER JOIN连接的其他表越多性能越好
### A
```
INNER JOIN又称为自连接
INNER JOIN 又称为内连接
```
### B
```
INNER JOIN连接的主表和被连接表都为自己
INNER JOIN 确保连接结果仅包含与on表达式匹配的记录
```
### C
```
INNER JOIN出现在FROM子句之后
INNER JOIN出现在FROM子句之后,WHERE走之前
```
### D
......
......@@ -20,9 +20,9 @@ end LOOP trace;
(提示)WHILE语法结构为:
```sql
WHILE search_condition DO
[label:] WHILE search_condition DO
statement list
END WHILE
END WHILE [label]
```
<hr/>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册