Database
2013.04.23 14:07
[sql] 간단한 통계 서브쿼리 예제..
Views 15181 Comment 0
서브쿼리를 이용한 초간단 통계 쿼리 예제
SELECT SUM( DECODE(hope,1,1,0) hope1, DECODE(hope,2,1,0) hope2, DECODE(hope,3,1,0) hope3, DECODE(hope,4,1,0) hope4 ) FROM cist_app GROUP BY hope;
-
[sql] 한눈에 보이는 Join
-
[sql] 쿼리로 문자열 검색해서 일괄 치환하기
-
[oracle] SQL문 실행 방법 3가지
-
[sql] 간단한 통계 서브쿼리 예제..
-
[mysql] 루트 암호 초기화
-
[mysql] 쿼리 로그 저장 매뉴얼
-
[mysql] error while loading shared libraries: libmysqlclient.so.10:
-
[mysql] DB->Text, Text->DB 변환
-
[mysql] 쓰레드가 계속 쌓이기 시작하고 사라지지 않을때..
-
[sql] 간단한 SQL 문법 정리
-
[mysql] 접속과 테이블 생성 간단한 설명..