我有这个sql请求:
SELECT LEFT("Libelle", 10) as lib, "LRU", "Client",
round(sum("Montant_fac_eur")) as ca from "foundry_sync"."/Users/Data/detfactsam16_17_Données-master"
where "Nature"='Repair'
and "annee" = {{w_widget18.selectedValue}}
and extract(month from "Facturation")
between {{w_widget35.selectedValue}} +0 and {{w_widget35.selectedValue}} +5
group by lib,"LRU", "Client"
当我运行它时,参数lib
返回null
,当我对此行and "annee" = {{w_widget18.selectedValue}}
发表评论时,它会返回lib
的所有值
你能告诉我哪里有问题吗? 谢谢