Is there a way to join four data tables depend on date in order to view all patient details: registration table with columns re_id,firstname,lastname,phone patientnotes tabl