I am really new to SQL. I hope this is a clear question. I am doing a small project for myself, I am moving from problem to problem, trying to learn something new. I made an access file that I update through SQL using C #.
Before the doctor removes from the database, I want to transfer his existing appointments to other doctors who have time on the date of the initial appointment.
My APPOINTMENT table has the following columns: ID_Appointments, ID_Doctor, ID_Patient, Date, Time and column notes.
For the ID_Patient value, I will use the ID_Patient table, vice versa for the Doctor value.
I was looking for updating the ID_Doctor value with the help of this other doctor who has no assignments for data and time, but creating code from scratch is hard for me and with a little help I hope to understand this much earlier.
Any help would be greatly appreciated, thanks!
source share