본문 바로가기

DB3

디비버(Dbeaver) 설치 및 postresql 연동 https://dbeaver.io/download/ 위 링크에서 디비버 다운로드 ㄱㄱ https://tifferent.tistory.com/36 [postgresql client] dbeaver 설치 / postgres db 연동 / 압축 데이터 다운로드1. 사이트에서 OS에 맞게 설치파일 다운로드 나는 Window 64bit installer를 다운받았다. https://dbeaver.io/download/ Download | DBeaver Community Download Tested and verified for MS Windows, Linux and Mac OS X. Install: Windows installetifferent.tistory.com 위 게시글 보고 Dbeaver에 연동하였음!! .. 2025. 7. 11.
postgresql 설치 postgresql 버전이 13~17 까지 있다.각 버전별 업데이트 사항은 알아서 검색해서 알아보고.... 난 뭐로 설치하지?챗 gpt 한테 물어보니 위와 같은 답변 받음일단 나는 엄청나게 어마무시한 기능을 다 이용할 것도 아니라서가장 안정적인 15 버전으로 선택했음. (version 15.13) https://www.enterprisedb.com/downloads/postgres-postgresql-downloads EDB: Open-Source, Enterprise Postgres Database Management www.enterprisedb.com 여기 들어가서 원하는 버전 다운로드 하면 끝~ 설치하고 다음 방법으로 설치 확인까지 하면 진짜 끝!! 검색 창에서 "cmd" 입력한다.cmd.. 2025. 7. 11.
Oracle 월별 사용량 집계, view 만들기 및 삭제 월별 사용량 집계 조회 select TO_CHAR(ELECTRIC_DATE, 'YYYY/MM') as 날짜, MB_PORTSERIAL AS 고유포트번호, sum(ELECTRIC_USEAGE) AS 사용량 from TBL_ELECTRIC where ELECTRIC_DATE >='20180101' GROUP BY to_char(ELECTRIC_DATE, 'YYYY/MM'), MB_PORTSERIAL 뷰 만들기 (월별 사용량 집계 조회) CREATE VIEW monthly_usage as (select TO_CHAR(ELECTRIC_DATE, 'YYYY/MM') as 날짜, MB_PORTSERIAL AS 고유포트번호, sum(ELECTRIC_USEAGE) AS 사용량 from TBL_ELECTRIC where.. 2022. 4. 5.