赞
踩
HIVE SQL中怎么取最后一条记录
函数:row_number() over([partition_by_clause] order_by_clause)
select id,
begin_time,
end_time,
row_number() over(order by begin_time desc) as rank
from call_record
输出
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。