Count (Distinct user_id) 중복제거한 쿼리 > MySQL

STUDY ROOM

MySQL

Count (Distinct user_id) 중복제거한 쿼리

페이지 정보

작성자 JMStudy 작성일11-09-02 10:11 조회7,328회 댓글0건

본문

* 세트별 학습한 사용자수 쿼리
select
set_id, count(Distinct user_id) from study
where sDate='2011-08'
group by set_id


댓글목록

등록된 댓글이 없습니다.