inner joining appointmenttype & appointmenttime tables