提交 8ced6386 编写于 作者: M Mars Liu

fixed structure bugs

上级 e9c16c13
...@@ -47,7 +47,6 @@ select id, name, dept, max(salary) from employee group by dept, id, name having ...@@ -47,7 +47,6 @@ select id, name, dept, max(salary) from employee group by dept, id, name having
### 结构错误 ### 结构错误
### group by 不对
```postgresql ```postgresql
select id, name, dept, max(salary) from employee where salary=max(salary) group by dept; select id, name, dept, max(salary) from employee where salary=max(salary) group by dept;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册