select pu.user_id,
pu.point,
(case when pu.point > (select avg(pu.point)) then '잘하고 있어요'
else '열심히 합시다'end) as msg
from point_users pu