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   ·   1137 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 13ms · UTC 23:38 · PVG 07:38 · LAX 16:38 · JFK 19:38
♥ Do have faith in what you're doing.