大數據下的Distinct Count(一):序

在數據庫中,經常會有Distinct Count的操做,好比,查看每一選修課程的人數:html select course, count(distinct sid) from stu_table group by course;select course, count(distinct sid) from stu_table group by course; Hive 在大數據場景下,報表很重要一
相關文章
相關標籤/搜索