user1 | user2
0 | 3
select
user_name,
coalesce(likes, 0) likes
from users
left join likes on likes.user_id = users.id;
select
max(case when id=1 then `like` end) user1,
max(case when id=45 then `like` end) user2
from `likes`
where id in (1,45)
group by ''