斜线符号在按顺序(mySQL)按顺序分配的含义是什么
我有旧的代码,并且在窗口函数中找到了这一点:
count(*)通过(按1/0分区订单按1/0)row_cnt,
订购 by 1/0 卑鄙?我找不到根据文档中的顺序找到斜线符号的定义。我认为这与分裂操作无关。我错了吗?
I have legacy code and I've found this in window function:
COUNT(*) OVER (PARTITION BY stock_guid ORDER BY 1/0) row_cnt,
What does ORDER BY 1/0 mean? I can't find definition of slash symbol according to ORDER BY in documentation. I think it is not about divide operation. Am I wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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