SELECT 컬럼1||컬럼2||컬럼3 as t1, count(*) as num 
FROM 테이블  
GROUP BY t1 

'DATA BASE (DB) > PostgreSQL' 카테고리의 다른 글

PostgreSQL 베큠Vacuum  (0) 2022.03.22
PostgreSQL DB Dump 명령어  (0) 2022.03.06
postgresql 등록쿼리(Insert) sql파일 등록방법  (0) 2019.08.26
테이블백업 CREATE TABLE AS  (0) 2019.07.19
ALTER DEFAULT  (0) 2019.07.04

+ Recent posts