title: How to join different tables by field value using Laravel query builder?
body: <p>I have a table containing the fields below. I just want to join table by the type field value, for example, if type field contains experience value then join should be with experience table by reference association_id field and for the education also same. </p>
  
  <pre><code> - id
   - title
   - association_id
   - type (experience,education)
  </code></pre>
  
  <p>Any help will be appreciated.</p>