Hadoop Hive查询-SQL
我在 hive 中写了一个查询。它不起作用 查询:
hive>> select country ,max(total_count) from (select country, count(airlineid) from airport group by country) t2;
它显示了'country'的表达式组
。
I write a query in hive. it not working
query:
hive>> select country ,max(total_count) from (select country, count(airlineid) from airport group by country) t2;
it shows expression group by 'country' is missing
.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
多个问题。如果格式化它,则应该可以看到它。
固定SQL-
Multiple problems. if you format it you should be able to see it.
Fixed SQL -