inblog logo
|
goho
    SQL문제풀기

    [프로그래머스/SQL]중복 제거하기

    gov's avatar
    gov
    Nov 28, 2024
    [프로그래머스/SQL]중복 제거하기
    Contents
    문제풀이

    문제

    notion image

    풀이

    count(distinct 칼럼명) : 중복제거된 해당 칼럼 개수
    SELECT count(distinct name) from animal_ins where name is not null;
    Share article

    goho

    RSS·Powered by Inblog