더 나은 프로그래머가 되자

날짜별 카운트 셀렉트 쿼리 본문

데이터베이스/MYSQL

날짜별 카운트 셀렉트 쿼리

greathuman 2014. 4. 17. 16:24

SELECT
           left(regdate,10) AS '등록일',
           count(left(regdate,10)) AS '카운트'
FROM
           gh_download_table
GROUP BY
           left(regdate,10)

Comments