title: Laravel Inner Join?
body: <p>I have a PHP backend that I'm currently changing over to use the Laravel framework. However, I'm not quite sure how the Laravel inner join works.</p>
  
  <p>The SQL query i'm trying to move over to Laravel is:</p>
  
  <pre><code>"SELECT leagues.league_name FROM leagues INNER JOIN countries on leagues.country_id = countries.country_id WHERE countries.country_name = '$country' "
  </code></pre>
  
  <p>Would someone be able to explain how Laravel Joins work?</p>
  
  <p>Apologies if this question isn't suitable.</p>