[PGS]업그레이드 된 아이템 구하기

강동현·2024년 2월 29일
0

코딩테스트

목록 보기
90/111
  • 다중 조인
    • 다중 조인을 통해 과거 자료와 연속 연결
-- 다중 조인
select child.item_id, child.item_name, child.rarity
from item_info as parent
join item_tree as it on parent.item_id = it.parent_item_id
join item_info as child on it.item_id = child.item_id
where parent.rarity = 'rare'
order by child.item_id desc;
profile
GAME DESIGN & CLIENT PROGRAMMING

0개의 댓글