Database/MySQL
[Mysql] DISTINCT 중복 값 제거 함수
java나유
2022. 7. 10. 17:51
SELECT count(distinct name) from animal_ins where name is not null;
count 안에 distinct 코드를 사용하여 중복값은 체크하지 않는 걸로 설정!
not null 은 =가 아님 is임
문제:https://school.programmers.co.kr/learn/courses/30/lessons/59408
728x90