我有以下表格:
1. tbPatientEpisode (
EpisodeIDP
EpisodeNumber
DoctorIDF
PatientIDF
)
2. tbPatient (
PatientIDP
CitizenIDF
)
3. tbDoctor(
DoctorIDP
CitizenIDF
)
4. tbCitizen(
CitizenIDP
CitizenName
City
ContactNo
)
我想查询 tbPatientEpisode 表,连续获取 DoctorName 和 PatientName,但 PatientIDF 和 DoctorIDF 指向 tbCitizen。所以请帮助加入 tbCitizen 表两次。