SELECT
followee.id, followee.name, followee.login_id, followee.password,
follower.id as follower_id, follower.name as follower_name,
follower.login_id as follower_login_id, follower.password as follower_password
FROM
users AS followee
LEFT JOIN
followers
ON
followee.id = followers.followee_id
LEFT JOIN
users AS follower
ON
follower.id = followers.follower_id
SELECT
followee.id, followee.name, followee.login_id, followee.password,
GROUP_CONCAT(COALESCE(follower.id, 'NULL') ORDER BY follower.id) AS follower_ids,
GROUP_CONCAT(COALESCE(follower.name, 'NULL') ORDER BY follower.id) AS follower_names,
GROUP_CONCAT(COALESCE(follower.login_id, 'NULL') ORDER BY follower.id) AS follower_login_ids,
GROUP_CONCAT(COALESCE(follower.password, 'NULL') ORDER BY follower.id) AS follower_passwords
FROM
users AS followee
LEFT JOIN
followers
ON
followee.id = followers.followee_id
LEFT JOIN
users AS follower
ON
follower.id = followers.follower_id
GROUP BY followee.id
ORDER BY followee.id ASC
LIMIT 100