A.TOPB.LIMITC.FIRSTD.COUNT
单项选择题在Hive中,以下哪个关键字用于选择唯一的记录?()
A.UNIQUEB.DISTINCTC.ONLYD.SINGLE
单项选择题在Hive中,如何在查询中使用GROUP BY子句进行分组汇总?()
A.SELECT *FROM table GROUP columnB.SELECT *FROM table BY columnC.SELECT *FROM table GROUP BY columnD.SELECT *FROM table BY GROUP column
单项选择题在Hive中,如何在查询中使用HAVING子句筛选分组后的结果?()
A.SELECT *FROM table WHERE column =value HAVING conditionB.SELECT *FROM table HAVING column =value GROUP BY conditionC.SELECT *FROM table GROUP BY column HAVING conditionD.SELECT *FROM table GROUP BY column WHERE condition HAVING value
单项选择题在Hive中,如何使用ORDER BY子句按照一个列升序排列查询结果?()
A.ORDER BY column1DESCB.ORDER BY column1ASCC.ORDER column1D.SORT column1ASC
单项选择题在Hive中,CLUSTER BY子句的作用是()
A.用来定义表的分区键B.用来在分区表中对数据分区C.用来创建索引以提高查询性能D.用来按指定的列排序数据并将数据分组