title : "Database - Oracle Connect By level "
category : "Database"
tags : [Database,Oracle]
date : 2021-12-10T12:00:00
last_modified_at: 2021-12-10T12:00:00
Connect By level
Case
- 연속된 숫자 조회 시
- 월별 (ex. 1~4월 데이터가 없더라도 1부터 12까지의 데이터 를 집계할 경우)
select level
from dual
connect by level <=12
references
https://hy1116.github.io/database/OracleConnectByLevel/
Database - Oracle Connect By level
Connect By level
hy1116.github.io
'DB > Oracle' 카테고리의 다른 글
[Oracle] Hint (0) | 2023.03.09 |
---|---|
[Oracle] synonym (0) | 2023.03.09 |
[Oracle] Associative Array와 VARRY (0) | 2023.03.07 |
[Oracle] ORDER BY NULLS & KEEP (0) | 2023.03.07 |
[Oracle] PL/SQL (0) | 2023.03.07 |