가장 많이 리뷰를 남긴 사람을 찾기 위해 서브쿼리를 만들고, where 절을 이용해 해당 인원만 골라낸 후 문제에서 요구하는 정보만 뽑으면 된다.
select
t100.member_name,
t101.review_text,
substring(t101.review_date, 1, 10) as review_date
from member_profile t100
left join rest_review t101
on t100.member_id = t101.member_id
where t100.member_name = (
select member_name from (
select
t1.member_name,
count(review_id)
from member_profile t1
left join rest_review t2
on t1.member_id = t2.member_id
group by 1
order by count(review_id) desc
limit 1) t102)
order by 3, 2