Skip to content

Commit

Permalink
fix(snackgame.biz): 쿼리 오류 해소
Browse files Browse the repository at this point in the history
  • Loading branch information
0chil committed Nov 19, 2024
1 parent afdfe83 commit 540acd1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface SnackgameBizV2Repository : JpaRepository<SnackgameBizV2, Long> {
value = """
with scores as (
select percent_rank() over (order by score desc) as percentile, session_id, score
from snackgame_biz_v2 where TIMESTAMPDIFF(SECOND, now(), expires_at) <=0
from snackgame_bizv2 where TIMESTAMPDIFF(SECOND, now(), expires_at) <=0
)
select percentile from scores where session_id = :sessionId""",
nativeQuery = true
Expand Down

0 comments on commit 540acd1

Please sign in to comment.