create query from sqlite syntax

14 views
Skip to first unread message

Marzie Kargar

unread,
May 7, 2021, 4:42:56 PM5/7/21
to peewee-orm
Hi there.
Can anyone help me for creating query based on this syntax? 

SELECT 1 + COUNT(*) AS rnk FROM rank WHERE point > (SELECT point FROM rank WHERE id=3)
Reply all
Reply to author
Forward
0 new messages