get data from 2 related database laravel 8 code example
Example: DB::table('users')->get();
DB::select('SELECT * FROM users WHERE name = "'.Input::get('name').'"');
DB::select('SELECT * FROM users WHERE name = "'.Input::get('name').'"');