Database
2013.04.23 14:07
[sql] 간단한 통계 서브쿼리 예제..
Views 15179 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;
-
[router] 시스코 라우터 명령어 모드..
-
[security] RSA 암호화 설명과 예..
-
[security] 블럭 암호에 대해서..
-
[sh] html 안에 있는 img 다운 받는 쉘 스크립트
-
[sh] 쉘스크립트 if 비교 연산
-
[spring] 스프링 IoC/DI
-
[sql] alter table 쿼리 예제
-
[sql] insert into select 사용하기
-
[sql] 간단한 SQL 문법 정리
-
[sql] 간단한 통계 서브쿼리 예제..
-
[sql] 내 방명록 답글 찾는 쿼리문.. (JOIN 구문)
-
[sql] 조회구문(select)에서 중복 데이터를 한 번만 출력 (distinct)