2
我想搜索類型爲「Savings」的帳戶,但以下代碼段提供了錯誤「ORA-00937:不是單個組組功能「 - 有誰知道爲什麼我得到這個錯誤?Oracle SQL ORA-00937:不是單組功能
SELECT b.bID as "Branch Number", COUNT(a.accNum) as "# of Saving Accounts"
from branchtable b, accounttable a
where a.bId = b.bID
and a.acctype = 'Savings';
完美!謝了哥們 – user1308955 2012-04-02 20:17:40