标签: php laravel left-join
requestPermission
答案 0 :(得分:2)
希望这对您有帮助
$user = DB::table('users') ->leftJoin('union_user', 'users.id', '=', 'union_user.user_id') ->orderBy(union_user.user_id) ->max('union_user.user_id');