TAsk:
select AccessionNumber, Accession.PatientID, Patient.PatientName, breed_type.BreedType, breed_type.Breedfrom Accession inner join Patient on Accession.PatientID=Patient.PatientIDinner join breed_type on Patient.breed_type_id=breed_type.breed_type_idwhere Transferred=''order by breed_type.BreedType;/* Query 2.a.i */Select CouncilName, count(*) as total, AdmittedDateTime from Accession group by CouncilNamehaving month(AdmittedDateTime)=5;/* Query 2.a.ii */Select CauseOfAffliction, count(*) as total, AdmittedDateTime from Accession inner join Causes_Of_Afflictionon Accession.CauseOfAfflictionid=Causes_Of_Affliction.idgroup by CauseOfAfflictionhaving month(AdmittedDateTime)=5;/* Query 2.b */select count(*) 'TotalAccessions' from Accession where month(AdmittedDateTime)=6 and year(AdmittedDateTime)/* Query 3 */Select * from CarerGroups where ExpiryDate
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here