select avg(distinct score) avg_score
from user_action_tb a
join recommend_tb b
on a.user_id=b.rec_user
where a.hobby_l=b.rec_info_l