there is not way that you get duplicated records Post::join( 'tags', 'tags.post_id', '=', 'posts.id'...
maybe there are no records matching that query, try it with mysql command line select * from `users`...
check if the column names are the correct ones in the query also, call to dd( DB::getQueryLog() ) to...
dunno, but if you are using too much db raw, consider directly writing your sql query using DB::stat...
User::leftJoin( 'installs', 'installs.user_id', '=', 'users.id' ) ->where( 'installs.station_...
The Laravel portal for problem solving, knowledge sharing and community building.