我在 Blackberry 7.0 的应用程序中使用了带有 Group By Clause 的 HSQL 查询。
我尝试了以下查询:
SELECT Cus.cus_id,Cus.cus_last_name,Inv.inv_id,Sum(Inv.inv_due_amt) as ACCOUNT
FROM Customer as Cus,Invoice as Inv
Where Cus.cus_id=Inv.cus_id
GROUP BY Cus.cus_last_name;
我越来越"Not in aggregate function or group by clause error"
如何解决这个问题?