Add link to post that started the conversation about gaps

This commit is contained in:
gg1234 2024-04-13 08:09:44 -07:00
parent 5ba57b2fad
commit b4ae9e0e50
1 changed files with 1 additions and 0 deletions

View File

@ -225,6 +225,7 @@ SELECT c.n AS name,
ORDER BY last_appearance DESC;
-- Max days between caster appearances for all casters
-- https://boards.4chan.org/jp/thread/46572416#p46585501
SELECT name, MAX(diff) as days, prev, jst
FROM (SELECT c.n AS name,
JULIANDAY(s.jst) - LAG(JULIANDAY(s.jst), 1, 0) OVER (ORDER BY s.caster_id, s.jst) AS diff,