How to count how many doctors are booked by each patient?

后端 未结 4 602
礼貌的吻别
礼貌的吻别 2021-01-24 00:12

I need the results to look like:

PatientID   Doctors
Patient1    3
Patient2    2
Patient3    1

The booked table looks like this



        
4条回答
提交回复
热议问题