我有一个关于Oracle的查询:
SELECT count(*),SUM(price) as total_price,
(SELECT count(*) as total_card_success FROM Card_trans WHERE status = 4)
FROM Card_trans;
执行时显示错误:
ORA-00937: not a single-group group function
00937. 00000 - "not a single-group group function"
如何解决这个问题。谢谢