@@ -6851,7 +6851,7 @@
GROUP BY
d.doctor_id,
d.doctor_name
- having sum( e.cases_entry_id = 2594 ) is not null or sum( e.cases_entry_id = 2973 ) is not null or sum( e.cases_entry_id = 2930 is not null)
+ having sum( e.cases_entry_id = 2594 ) is not null or sum( e.cases_entry_id = 2973 ) is not null or sum( e.cases_entry_id = 2930 )is not null
) UNION
(
SELECT