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

目前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

1.30.11版本支持denseRank函数

请先 登录 后评论