how to write raw query in laravel in parts code example Example: DB::table('users')->get(); $users = DB::table('users')->get();