i have three relational tables. i want to show all records against code from patient_Record table. i want display record by patient_record code and by patient name and by date_time
here patient_record table[table1]
https://i.stack.imgur.com/59Xiz.png
here patient_checkup table[table2]
https://i.stack.imgur.com/KM6Q8.png
here patient_medicine table[table 3]