hive查询操作1
select workingExp,company_name from table1 where responsibility like '%hive%' and salary > '8000'; select avg(t1.salary) as new_salary, t2.city_name from table1 t1 right outer join table2 t2 on t1.city_code = t2.city_code group by t2.city_name;