I cant get this function to perform how is it suppoed to be
SELECT MAX(SELECT Sum(Prescription.Quantity) gross
FROM Doctor, Prescription
WHERE Doctor.DoctorID = Prescription.PHN
GROUP BY Doctor.Name, Prescription.PCoName
HAVING (Prescription.PCoName="MedCorp"));
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.