Doctors office, SQL, Final version