feat: separate sql
This commit is contained in:
6
backend/app/sql/elo_distribution.sql
Normal file
6
backend/app/sql/elo_distribution.sql
Normal file
@@ -0,0 +1,6 @@
|
||||
select
|
||||
floor(elo_rating / 50) * 50 as bucket,
|
||||
count(*) as count
|
||||
from {elo_schema}.ratings
|
||||
group by bucket
|
||||
order by bucket
|
||||
Reference in New Issue
Block a user