code styling improvements

This commit is contained in:
2024-11-06 22:18:54 +01:00
parent 8c1f642e33
commit 3d71a16633
4 changed files with 9 additions and 36 deletions
+2 -2
View File
@@ -33,5 +33,5 @@ select avg(avg_rating) from "episodes"
where tv_show_id = $1 and season = $2;
-- name: SeasonMedianRating :one
-- select percentile_cont(0.5) within group (order by avg_rating) from "episodes"
-- where tv_show_id = $1 and season = $2;
select percentile_cont(0.5) within group (order by avg_rating) from "episodes"
where tv_show_id = $1 and season = $2;