0 votes
in Big Data | Hadoop by
Group By

Group By clause groups the particular columns that are being mentioned with the group by clause.

hive> select dept,count(*) from person group by dept;
OK
HR    2
IT    2
PR    1

Related questions

0 votes
asked Jan 13, 2020 in Big Data | Hadoop by AdilsonLima
0 votes
asked Jan 13, 2020 in Big Data | Hadoop by AdilsonLima
...