Want select all columns from three table without common column
$data = DB::table('users')
->join('country.*','users.*')
->join('city.*', 'country.*')
->where('users.id', '=', $id)
->get();
Above query showing
Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax error