distinct

· Language/SQL
Weather Observation Station 12 | HackerRank Query an alphabetically ordered list of CITY names not starting and ending with vowels. www.hackerrank.com Problem Query the list of CITY names from STATION that do not start with vowels and do not end with vowels. Your result cannot contain duplicates. -> 도시 이름의 시작과 끝이 모음이 포함하지 않는 도시의 이름을 중복 없이 출력하시오. Answer select distinct(city) from station where ci..
· Language/SQL
Weather Observation Station 10 | HackerRank Query a list of CITY names not ending in vowels. www.hackerrank.com Problem Query the list of CITY names from STATION that do not end with vowels. Your result cannot contain duplicates. -> 모음으로 끝나지 않는 도시 이름을 중복 없이 출력하시오. Answer select distinct(city) from station where city regexp "[^aeiou]$"
· Language/SQL
Weather Observation Station 9 | HackerRank Query an alphabetically ordered list of CITY names not starting with vowels. www.hackerrank.com Problem Query the list of CITY names from STATION that do not start with vowels. Your result cannot contain duplicates. -> 모음으로 시작하지 않는 도시 이름을 중복 없이 출력하시오. Answer select distinct(city) from station where city regexp "^[^aeiou]"
· Language/SQL
Weather Observation Station 8 | HackerRank Query CITY names that start AND end with vowels. www.hackerrank.com Problem Query the list of CITY names from STATION which have vowels (i.e., a, e, i, o, and u) as both their first and last characters. Your result cannot contain duplicates. -> station에서 처음과 마지막 문자로 모두 모음이 있는 CITY 이름 목록을 중복 없이 출력하시오. Answer select distinct(city) from station where city ..
· Language/SQL
Weather Observation Station 7 | HackerRank Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. www.hackerrank.com Problem Query the list of CITY names ending with vowels (a, e, i, o, u) from STATION. Your result cannot contain duplicates. -> station에서 모음(a, e, i, o, u)으로 끝나는 CITY 이름을 중복 없이 출력하시오. Answer select distinct(city) from station where city regexp "[aeiou]$"
· 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
Weather Observation Station 3 | HackerRank Query a list of unique CITY names with even ID numbers. www.hackerrank.com Problem Query a list of CITY names from STATION for cities that have an even ID number. Print the results in any order, but exclude duplicates from the answer. -> 짝수 ID 번호를 가진 city 이름을 station에서 query 하시오. 결과를 임의의 순서로 출력하지만 중복은 답변에서 제외하시오. Answer select distinct(city) from statio..
· Language/SQL
코딩테스트 연습 - 중복 제거하기 ANIMAL_INS 테이블은 동물 보호소에 들어온 동물의 정보를 담은 테이블입니다. ANIMAL_INS 테이블 구조는 다음과 같으며, ANIMAL_ID, ANIMAL_TYPE, DATETIME, INTAKE_CONDITION, NAME, SEX_UPON_INTAKE는 각각 동물의 아이디 programmers.co.kr A562649 Dog 2014-03-20 18:06:00 Sick NULL Spayed Female A412626 Dog 2016-03-13 11:17:00 Normal *Sam Neutered Male A563492 Dog 2014-10-24 14:45:00 Normal *Sam Neutered Male A513956 Dog 2017-06-14 11:54..
행복한쿼콰
'distinct' 태그의 글 목록