【发布时间】:2021-11-26 22:15:51
【问题描述】:
如何在sql oracle中使用count函数而不使用group by?
select count(*) as "Total orders",
nvl(
(select count (*)
from education
where status='APPROVED'),
0
) as "Number of approved requests"
from education
【问题讨论】: