반응형
select unnest(array[1,2,3]);
unnest
1
2
3
반응형
'db' 카테고리의 다른 글
[postgresql] TO_CHAR(SHIP_DT, 'YYYY.MM.DD(TMdy)') date를 '20240101(월)'형태로 변경 (0) | 2024.02.23 |
---|---|
[postgresql] n rows -> 1 row: JSON_AGG( JSON_BUILD_OBJECT ('authId',AUTH_ID, 'yn',ALARM_TALK_YN)) (0) | 2024.01.08 |
[postgresql]STRING_TO_ARRAY('A|B|C|D', '|') -> {A,B,C,D} (0) | 2023.12.18 |
[postgresql] jsonb_to_recordset(...), 1 row -> n rows (0) | 2023.12.15 |
postgreSQL (0) | 2023.11.09 |