简体   繁体   English

错误1241操作数应包含2列

[英]Error 1241 Operand should contain 2 column(s)

My query : http://pastebin.com/8c2rLrRk 我的查询: http : //pastebin.com/8c2rLrRk

In this 3rd case 2nd when condition is causing the issue, if i comment that then query is running well. 在第3种情况下,第2种情况是导致问题的原因,如果我评论说查询运行良好。 So pls let me know where the loophole in this syntax. 因此,请让我知道此语法的漏洞所在。

错误行:IFNULL(COUNT(blockedseats.seatNo),0)我们不能合并计数和ifnull函数。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM