-
-
Notifications
You must be signed in to change notification settings - Fork 341
Closed
Labels
Description
Hi,
I am in need of basic usage of the DENSE_RANK function as described at https://www.sqlitetutorial.net/sqlite-window-functions/sqlite-dense_rank:
INSERT INTO DenseRankDemo(Val)
VALUES('A'),('B'),('C'),('C'),('D'),('D'),('E');
SELECT
Val,
DENSE_RANK () OVER (
ORDER BY Val )
ValRank
FROM
DenseRankDemo;
A 1
B 2
C 3
C 3
D 4
D 4
E 5
https://sqlite.org/windowfunctions.html
Could you please point me to implementation of something similar to start with? Or could I somehow execute a text SQL query until the feature is incorporated into sqlite_orm?
Reactions are currently unavailable