提交 0d288e2e 编写于 作者: M Mars Liu

produces and functions

上级 2de7db37
...@@ -2,7 +2,9 @@ ...@@ -2,7 +2,9 @@
"node_id": "mysql-07b85d4c87c84a62a9b55299250cd9a3", "node_id": "mysql-07b85d4c87c84a62a9b55299250cd9a3",
"keywords": [], "keywords": [],
"children": [], "children": [],
"export": [], "export": [
"prodandfunc.json"
],
"keywords_must": [], "keywords_must": [],
"keywords_forbid": [], "keywords_forbid": [],
"group": 0 "group": 0
......
{
"type": "code_options",
"author": "ccat",
"source": "prodandfunc.md",
"notebook_enable": false,
"exercise_id": "ad9047fdd6814e248d9a34fb9977af55"
}
\ No newline at end of file
# 函数和过程
关于 MySQL 的函数和过程,以下说法正确的是:
1. 存储过程和存储函数都是一系列SQL语句的集合, 这些SQL语句被封装到一起组成一个存储过程或者存储函数保存到数据库中。
2. 应用程序调用存储过程只需要通过CALL关键字并指定存储过程的名称和参数即可;
3. 应用程序调用存储函数只需要通过SELECT关键字并指定存储函数的名称和参数即可。
4. 存储函数必须有返回值,而存储过程没有。
5. 存储过程的参数类型可以是IN、OUT和INOUT,而存储函数的参数类型只能是IN。
## 答案
所有都是
## 选项
### A
```
1, 2, 3
```
### B
```
2, 3, 4
```
### C
```
2, 3, 4, 5
```
### D
```
3, 4, 5
```
### E
```
1, 2
```
...@@ -232,7 +232,10 @@ ...@@ -232,7 +232,10 @@
{ {
"SELECT": { "SELECT": {
"node_id": "mysql-f5527eae7f3148108c92ff99a6d4ed4a", "node_id": "mysql-f5527eae7f3148108c92ff99a6d4ed4a",
"keywords": [], "keywords": [
"查询",
"select"
],
"children": [], "children": [],
"keywords_must": [], "keywords_must": [],
"keywords_forbid": [] "keywords_forbid": []
...@@ -250,7 +253,10 @@ ...@@ -250,7 +253,10 @@
{ {
"运算符": { "运算符": {
"node_id": "mysql-8f2aac71ea494f1b84372d43aa436135", "node_id": "mysql-8f2aac71ea494f1b84372d43aa436135",
"keywords": [], "keywords": [
"operator",
"运算符"
],
"children": [], "children": [],
"keywords_must": [], "keywords_must": [],
"keywords_forbid": [] "keywords_forbid": []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册