Skip to content

Commit

Permalink
Merge pull request #358 from SWM-NM/feat/#356
Browse files Browse the repository at this point in the history
⚡ [IMPROVE] 잔디 heatmap 쿼리 개선 #356
  • Loading branch information
miiiinju1 authored Sep 24, 2023
2 parents d4e6f37 + 3b9bd23 commit b4e0af1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ public interface AttemptProblemRepository extends JpaRepository<AttemptProblem,
// group by test_date;
@Query("SELECT a.testDate, count(a.testDate) " +
"FROM AttemptProblem a " +
"LEFT JOIN a.test t " +
"WHERE t.testId IN " +
"WHERE a.test.testId IN " +
"(SELECT DISTINCT t.testId " +
"FROM Tests t " +
"WHERE t.member.memberId = :memberId " +
Expand Down

0 comments on commit b4e0af1

Please sign in to comment.