ASKME
+1 vote
24 views
by (375 points) | 24 views

1 Answer

0 votes
$users = DB::table('users')
            ->join('contacts', 'users.id', '=', 'contacts.user_id')
            ->join('orders', 'users.id', '=', 'orders.user_id')
            ->select('users.*', 'contacts.phone', 'orders.price')
            ->get();
by (432 points)

742 questions

291 answers

7 comments

5k users

Welcome to Askme.lk, where you can ask questions and receive answers from other members of the community.
742 questions
291 answers
7 comments
5,001 users