select d.name,i.xray_items_name,count(x.vn) as cc
from xray_report x
left outer join doctor d on d.code=x.request_doctor
left outer join xray_items i on i.xray_items_code=x.xray_items_code
where x.request_date between "2016-03-01" and "2016-03-31"
group by x.request_doctor,x.xray_items_code
order by x.request_doctor,cc desc