sql/Advent of SQL 2024
SQL 문제 풀이 챌린지(5/25) - 언더스코어(_)가 포함되지 않은 데이터 찾기
gooreumsea
2024. 12. 5. 07:11
저작권 문제로 인해, 직접 작성한 쿼리문만 공개.
5. 언더스코어(_)가 포함되지 않은 데이터 찾기
https://solvesql.com/problems/data-without-underscore/
SELECT
DISTINCT page_location
FROM ga
WHERE page_location NOT REGEXP '_'
-- GROUP BY page_location
ORDER BY page_location ASC;