목차 DB에서 통계 쿼리 실행 후 데이터를 화면단에서 차트로 표시하는 간단한 예제 xml SELECT DATE_FORMAT(FRST_REG_DT, '%M') AS cond/*조건*/ , COUNT(RVW_RSLT_CD) AS totalCnt /*전체*/ , COUNT(CASE WHEN RSLT_CD = '10' THEN 1 END) AS passedCnt /*찬성*/ , COUNT(CASE WHEN RSLT_CD = '20' THEN 1 END) AS rejectedCnt/*거절*/ FROM BOARD GROUP BY DATE_FORMAT(FRST_REG_DT, '%Y-%m') ORDER BY DATE_FORMAT(FRST_REG_DT, '%Y-%m') service public Map selectSta..