dolphindb支持dense_rank的函数吗

dolphindb支持标准sql的dense_rank函数或者类似功能吗

请先 登录 后评论

1 个回答

Qing Li

t = table(99 97 98 99 75 as score, 1..5 as sid)
k = select * from t order by rank(score) desc
select *, segment(score,false) as no from k

请先 登录 后评论