I have 3 fields which are called game_series_count, game_series_wins and game_series_lost. I need to find wins percent.
select
"game_series_count",
"game_series_wins",
"game_series_lost",
round(( (game_series_wins / game_series_count) * 100), 1) as win_percent
from "statistic_teams"
but there is wrong result
game_series_count | game_series_wins | game_series_lost | win_percent
2 1 1 0
2 1 1 0
2 1 1 0
2 1 1 0
1 1 0 100
1 1 0 100
1 0 1 0
1 0 1 0