SQL에서의 JOIN과 FETCH JOIN은 다른 종류의 조인이다.
select t
from Team t join t.members
where t.name = ‘팀A’
select t.*
from TEAM t
inner join MEMBER m on t.ID = m.TEAM_ID
where t.name = ‘팀A’
select t
from Team t fetch join t.members
where t.name = ‘팀A’
select t.*, m.*
from TEAM t
inner join MEMBER m on t.ID = m.TEAM_ID
where t.name = ‘팀A’