Add link to post that started the conversation about gaps
This commit is contained in:
parent
5ba57b2fad
commit
b4ae9e0e50
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue