![](https://img-blog.csdnimg.cn/20201014180756926.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
hive&sql
linest00
这个作者很懒,什么都没留下…
展开
-
hive 基础(1)
$hive -help Usage: hive [--config confdir] [-hiveconf x=y]* [-i ]*[|] [-S] -u username -p [password] -i init Sql file -e 'quoted query string' Sql from command line -...2011-08-01 14:21:02 · 103 阅读 · 0 评论 -
sql思路杂谈
A 5 A 5 B 0 B 5 C 0 C 0 删除全部是5的条目 两种思路 (一) 选出为0的条目和原表left join NULL 删除 B 0 C 0 C 0 (二) 按类别group by统计不等于5的个数,等于0项删除 A 0 B 1 C 2 持续待补充。。 ...2011-08-10 12:59:40 · 85 阅读 · 0 评论