정리 작업중

[MySQL] 중복제거 DISTINCT 연산자

Xie Yun 2022. 10. 7. 10:51
반응형

DISTINCT 연산자

중복을 제거해서 표시하는 기능

 

중복 제거 전

select District from city where CountryCode='KOR';

 

중복 제거 후

select distinct District from city where CountryCode='KOR';

반응형