为什么我使用窗口函数在hackerrank sql问题上遇到语法错误(通过)
嗨,我试图弄清楚为什么Hackerrank在其平台上返回查询上的语法错误,但是当我运行相同的查询时,我在MySQL Workbench上没有任何问题。
这是我写过的较大查询的片段。我有一个错误1064(42000):
select
lag(submission_date, 1,'2016-03-01') OVER(Partition by hacker_Id order by submission_date)
from submissions ;
Hi I am trying to figure out why hackerrank is returning a syntax error on my query ran on their platform but when I run the same query I get no issues on mysql workbench.
Here is a snippet of the larger query I have written. I get an error 1064 (42000):
select
lag(submission_date, 1,'2016-03-01') OVER(Partition by hacker_Id order by submission_date)
from submissions ;
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论