PK를 id라고 치면

세컨더리 인덱스(name)의 리프노드에 (name, id) 가 있을테니

select name, id from member where name = #{name}에서

실제 레코드 접근 없이 커버링인덱스로 해결 가능