一次hive筆試題

題目一: select t1.uid, t1.發過多少日記, t2.獲得多少點贊 from ( select uid, count(*) as 發過多少日記 from T1 group by uid )t1 left join ( select uid, sum(like_uid) as 獲得多少點贊 from T1 join T2 on T1.log_id =T2.log_id group_by
相關文章
相關標籤/搜索