Looking at laravel relationships for the first time I have users in my users tables with a linked record column. Which relates to the employees table id column. But I am not able to get anything back. See code beloww. Controller: $u = new User(); $l = $u->employee()->get(); User Model: public function employee(){ return $this->hasOne('App\employees', 'id', 'linkedrecord'); } But some users can not have employees linked and some employees may not be linked to a user Nothing is returning. Is there a way to see the sql action of this. So I can better troubleshoot? Writing it in mysql really fast I get the followinig 1 Mike Daniels mike@ngm-inc.com 2 Big Employee bigemployee@gmail.com 3 Global Adin ga@gmail.com SQL Query: select * FROM newtime2.users u inner join newtime2.employees e on u.linkedrecord = e.id Inner join works without any problem. When I run it. I get the following in a print dump Illuminate\Database\Eloquent\Collection Object ( [items:protected] => Array ( ) ) empty. But as you can see above. It works fine in relationship in SQL