Hive 查询

基本查询(Select…From)  1.全表和特定列查询 1)全表查询 hive (default)> select * from emp; 2)选择特定列查询 hive (default)> select empno, ename from emp; 注意: (1)SQL 语言大小写不敏感。 (2)SQL 可以写在一行或者多行 (3)关键字不能被缩写也不能分行 (4)各子句一般要分行写。 (5
相关文章
相关标签/搜索