Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
この問題は何ですか?
select inst.id , inst.type as "TypeOfInstall" , count(inst.id) as "NoOfInstall" from dm_bsl_ho.installment inst group by inst.type
グループ機能で単一機能を使用することはできません。count単列機能との混合のように。
count
group by次の関数を含める必要があります。
group by
select inst.type as "TypeOfInstall" , count(inst.id) as "NoOfInstall" from dm_bsl_ho.installment inst GROUP BY inst.type;