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