nerak repo

This commit is contained in:
2026-07-29 17:37:02 -05:00
committed by nightshade
commit 4f8386a1fd
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;