我在SQLSERVER中使用
select a.f_groupid, a.f_groupname, count(distinct d.f_cardno) as cc
from t_b_group a, t_b_consumer b, t_b_idcard c, t_d_cardrecord d
where a.f_groupid = b.f_groupid
and b.f_consumerid = c.f_consumerid
and c.f_cardno = d.f_cardno
group by a.f_groupid, a.f_groupname
查詢一切正常,但是在PB中一直提示
語法錯誤(運算子丟失)在查詢運算式 ‘count(distinct d.f_cardno)’中。
是什么原因?有沒有同類函式替代?
uj5u.com熱心網友回復:
PB幾的啊,我這邊試了,沒有問題哦,這代碼看著眼熟,哈哈uj5u.com熱心網友回復:
一卡通的消費?語法沒啥問題啊!
轉載請註明出處,本文鏈接:https://www.uj5u.com/shujuku/78034.html
標籤:腳本語言
上一篇:在一個窗體中觸發另一個窗體的事件
