laravel union how to get entry from first table table code example
Example: DB::table('users')->get(); id 1
$users = DB::table('users')where('id','=', $userid)->get();
$users = DB::table('users')where('id','=', $userid)->get();