title: How to join with three tables with multiple conditions?
body: <p>I want to join three tables with multiple conditions. Below is table structure and expected result</p>
  
  <pre><code>users_id    users_first_name   
     1           rocky
     2           James
     3           john        
  
  meeting_details_id   meeting_title   users_id  meeting_lead  close_meeting (NO) 
      1               newmeet          3           1                  No 
      2               testmeet         2           2                  No 
  
  
  Attended_meetings
  project_meeting_attendeeid  meeting_details_id  users_id   access_type (attendee) 
    1                             1                 2         attendee  
  </code></pre>
  
  <p>Expected output:</p>
  
  <p>Query should check if meeting is attended OR users is meeting lead</p>
  
  <pre><code> meeting_title   creator   meeting_lead     close_meeting (NO) 
   newmeet          john      rocky                  No 
   testmeet         james     james                  No
  </code></pre>