a table have another table id and that table have another table id finally third table have name how to join this in laravel code example
Example: join in laravel eloquent
$customer = DB::table('customers')
->join('shops', 'customers.shop_id', '=', 'shops.shop_id')
->where('customer_contact', $contact_no)
->get();