$user = DB::table('users')
->join('users_group', 'users.id_user_group', '=', 'users_group.id_user_group')
->join('posts', 'users.id', '=', 'posts.id_user')
->select('users.*', 'users_group.group_name', 'posts.id')
->orderby('created_at','asc')
->paginate(10);