# 링크solvesql Advent of SQL 2024: https://solvesql.com/collections/advent-of-sql-2024/ https://solvesql.com/collections/advent-of-sql-2024/ solvesql.com22일차 - 친구 수 집계하기: https://solvesql.com/problems/number-of-friends/ https://solvesql.com/problems/number-of-friends/ solvesql.com # 풀이WITH normalized_edges AS ( SELECT CASE WHEN user_a_id normalized_edges CTESELECTCASE WHEN user_a_i..