
결제 타입 별 최근 결제일을 조회할 때, 해당 에러문은 어떤 문제가 있는 걸까요?ㅜㅜ
SQL Error [1064] [42000]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'max(date)
from payments
group by pay_type
LIMIT 0, 200' at line 2
Error position: line: 1
