japinli's recent timeline updates
japinli

japinli

V2EX member #416598, joined on 2019-05-29 17:03:29 +08:00
japinli's recent replies
May 29, 2019
Replied to a topic by imherer PostgreSQL 如下表结构如何效率的获得自己的排名?
用窗口函数可以不行吗?

SELECT id, score, RANK() OVER (ORDER BY score) FROM table_name LIMIT 10 OFFSET 10;
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3148 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 17ms · UTC 11:29 · PVG 19:29 · LAX 04:29 · JFK 07:29
♥ Do have faith in what you're doing.