【发布时间】:2021-04-11 15:36:01
【问题描述】:
我有这个 SQL 查询:
select concept, count(*)
from annotation
where exists (select 1
from annotation a2
where a2.comment_commentid = annotation.comment_commentid and a2.concept = 'Fatigue'
)
group by concept;
我想用 {{word}} 替换“疲劳”,以做一个过滤器小部件,映射到数据库中的列。 我有以下错误:
错误:“=”位置或附近的语法错误:307
我需要改变什么来应用过滤器?从该列中选择可用的单词? 使用变量类型作为文本它可以工作......但不要在过滤器中显示所有可用选项,作为变量类型字段过滤器......
谢谢!
【问题讨论】:
标签: sql postgresql data-visualization metabase