서브쿼리를 이용한 초간단 통계 쿼리 예제
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;
서브쿼리를 이용한 초간단 통계 쿼리 예제
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] 쿼리로 문자열 검색해서 일괄 치환하기
[sql] 간단한 통계 서브쿼리 예제..
[sql] 간단한 SQL 문법 정리
[oracle] SQL문 실행 방법 3가지
[oracle] Oracle 사용자 추가 절차
[mysql] 쿼리 실행시 ERROR 1366 (HY000) : incorrect string value : for column
[mysql] 쿼리 로그 저장 매뉴얼
[mysql] 중복데이터 삭제하는 초간단 쿼리
[mysql] 접속과 테이블 생성 간단한 설명..
[mysql] 쓰레드가 계속 쌓이기 시작하고 사라지지 않을때..
[mysql] 루트 암호 초기화
[mysql] MySQL 한글 깨짐 현상 해결하기(UTF8)
[mysql] MySql 에서 정렬 후 그룹 하는 방법
[mysql] MySQL 백업 및 복구
[mysql] MySQL 데이터베이스 추가 및 사용자 추가