ORACLE数据库使用count统计a列的数据并且通过b列来去重,只有统计的a列的数据需要去重,结果中的其他列不需要去重,应该如何实现
select count(a) from Tab where b in(select distinct bfrom tab)