尝试在aws athena中查询数据库,但收到此错误:
WHERE
"fo0"."date" > date'2014-08-03'
AND "re0"."rating" IS NOT NULL
AND "fi0"."is_side" is FALSE
GROUP BY "Name"
HAVING COUNT(DISTINCT "re0"."id") > 10
ORDER BY "% More Loves than Dislikes" DESC
;
我对雅典娜来说很新。任何决心都有帮助。
答案 0 :(得分:0)
看起来您可能需要更改此行:
AND "fi0"."is_side" is FALSE
为:
AND "fi0"."is_side" = FALSE
由于您的is_side
数据类型似乎是tinyint
,请尝试以下操作:
ND "fi0"."is_side" = 0