提交 bd55bbf7 编写于 作者: M Mars Liu

add window function

上级 46adbcbf
repos:
- repo: git@codechina.csdn.net:csdn/skill_tree_hook.git
rev: 9430721405a57a809c0d93170fe307a89d979a4b
rev: 1420892936081c5885a8a27d3b6486c14c1be577
hooks:
- id: pre-commit
verbose: true
\ No newline at end of file
......@@ -2,5 +2,7 @@
"node_id": "pg-55fd213f919d411c9b572241c4bb7807",
"keywords": [],
"children": [],
"export": ["subquery.json"]
"export": [
"subquery.json"
]
}
\ No newline at end of file
......@@ -2,5 +2,7 @@
"node_id": "pg-2e691ed3a847424eb887b40aca750c4e",
"keywords": [],
"children": [],
"export": ["continuous.json"]
"export": [
"continuous.json"
]
}
\ No newline at end of file
{
"keywords": [],
"children": [],
"node_id": "pg-cab66a558cda467eabd9587b5a8257bd",
"export": [
"salary.json"
]
}
\ No newline at end of file
{
"type": "code_options",
"author": "ccat",
"source": "salary.md",
"notebook_enable": false,
"exercise_id": "6dc9ce6d2a354a9986585a458e5476c9"
}
\ No newline at end of file
......@@ -65,3 +65,10 @@ from employee
where r <= 5;
```
### 结构错误
```postgresql
select id, name, dept, salary, rank() as r over (partition by dept order by salary desc)
from employee
where r <= 5;
```
......@@ -310,6 +310,13 @@
"children": []
}
},
{
"Window Function": {
"node_id": "pg-cab66a558cda467eabd9587b5a8257bd",
"keywords": [],
"children": []
}
},
{
"透视表 ": {
"node_id": "pg-693a81467f444886a199bac681f238b8",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册