select NN,min(price/max_peak-1) as max_loss_rate from ( select NN, price, max(price) over (partition by NN order by tddate rows between unbounded preceding and 1 preceding) as max_peak from sam_maxloss)a group by NN;
点赞 评论

相关推荐

一名愚蠢的人类:多少games小鬼留下了羡慕的泪水
投递荣耀等公司10个岗位
点赞 评论 收藏
分享
牛客网
牛客企业服务