This commit is contained in:
Luc Mcgrady 2025-05-25 13:41:43 +01:00
parent f51e91447d
commit 817386caa7
No known key found for this signature in database
GPG key ID: 4F3D7A0B17CC3D9C

View file

@ -2,7 +2,7 @@ WITH searched_revlogs AS (
SELECT *
FROM revlog
WHERE cid IN search_cids
ORDER BY id DESC -- Use the last 10000 cards
ORDER BY id DESC -- Use the last 10_000 reviews
LIMIT 10000
), average_pass AS (
SELECT AVG(time)