Skip to content

Commit

Permalink
feat : 오늘 답변한 질문 개수 조회 API 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
programmerDH-github committed Jul 22, 2023
1 parent 8b24c9f commit 2964f02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
SELECT COUNT(*)
FROM bside.question q
INNER JOIN bside.answer a ON q.q_no = a.q_no
WHERE CHAR_LENGTH(a_answer_content) >= 1
WHERE a.a_check = TRUE
AND YEAR(a.a_created_at) = YEAR(CURRENT_DATE())
AND MONTH(a.a_created_at) = MONTH(CURRENT_DATE())
AND DAY(a.a_created_at) = DAY(CURRENT_DATE())
Expand Down

0 comments on commit 2964f02

Please sign in to comment.