nerak repo

This commit is contained in:
2026-07-14 14:14:48 -05:00
committed by nightshade
commit 20507f5913
84 changed files with 5448 additions and 0 deletions
@@ -0,0 +1,5 @@
select id, name, sprite, wins, loses,
cast(wins as real) / nullif(loses, 0) as ratio_of_wins_to_loses,
row_number() over (order by (cast(wins as real) / nullif(loses, 0)) desc) as rank
from pokemons
order by ratio_of_wins_to_loses desc;