SELECT COUNT(*) AS cnt FROM service_apply AS A INNER JOIN service_info AS B ON A.service_idx = B.idx AND B.gubun='SV002' AND B.view_yn='Y' WHERE 1=1 AND A.mem_idx =
1064 : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near '' at line 5
error file : /mypage/history_event.php