SELECT `a`.`user_id`, `a`.`access_lvl`, `b`.`name`, `b`.`gender_id`, `b`.`email`, `b`.`profile_picture`, `b`.`name`, `b`.`name`
FROM `user__module_access` `a`
LEFT JOIN `user` `b` ON `b`.`id` = `a`.`user_id`
WHERE `a`.`is_delete` =0
GROUP BY `user_id`