Count

· Language/SQL
Weather Observation Station 4 | HackerRank Find the number of duplicate CITY names in STATION. www.hackerrank.com Problem Find the difference between the total number of CITY entries in the table and the number of distinct CITY entries in the table. -> station에 있는 모든 city의 수와 중복을 제외한 city의 수의 차이를 구하시오. Answer select count(city) - count(distinct(city)) from station
· Language/SQL
코딩테스트 연습 - 동물 수 구하기 ANIMAL_INS 테이블은 동물 보호소에 들어온 동물의 정보를 담은 테이블입니다. ANIMAL_INS 테이블 구조는 다음과 같으며, ANIMAL_ID, ANIMAL_TYPE, DATETIME, INTAKE_CONDITION, NAME, SEX_UPON_INTAKE는 각각 동물의 아이디 programmers.co.kr A399552 Dog 2013-10-14 15:38:00 Normal Jack Neutered Male A379998 Dog 2013-10-23 11:42:00 Normal Disciple Intact Male A370852 Dog 2013-11-03 15:04:00 Normal Katie Spayed Female A403564 Dog 2013-11-18..
행복한쿼콰
'Count' 태그의 글 목록