728x90
https://school.programmers.co.kr/learn/courses/30/lessons/293261
프로그래머스
SW개발자를 위한 평가, 교육의 Total Solution을 제공하는 개발자 성장을 위한 베이스캠프
programmers.co.kr
728x90
select fi.id as id, fni.fish_name as fish_name, length
from fish_info as fi
left join fish_name_info as fni
on fi.fish_type = fni.fish_type
where (fi.fish_type, length) in (
select fish_type, max(length)
from fish_info
group by fish_type
);728x90
'Problem Solving > Programmers' 카테고리의 다른 글
| [프로그래머스, 150369] 택배 배달과 수거하기 (java) (0) | 2026.01.06 |
|---|---|
| [프로그래머스, 132265] 롤케이크 자르기 (java) (0) | 2025.12.16 |
| [프로그래머스, 64065] 튜플 (java) (0) | 2025.12.15 |
| [프로그래머스, 12949] 행렬의 곱셈 (java) (0) | 2025.12.15 |
| [프로그래머스, 87390] n^2 배열 자르기 (java) (0) | 2025.12.13 |