窗口函数在 MySQL Workbench 8.0 中不起作用

问题描述

我最近将 MysqL 更新为 Workbench 8.0。我正在尝试使用 WINDOWS 功能;但是,我不断收到 error: "Is not valid at this point expecting EOF"。这是我的代码

select category_id,sum(list_price) over (partition by category_id) as total_price from products;

我在结束后删除了空格,但仍然收到相同的错误消息。非常感谢您的帮助!

以下是我的数据集:

enter image description here

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)