instruction: calculate the average age of married patients who had brain mass (intracranial hemorrhage) as primary disease.
response: SELECT AVG(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.diagnosis = "BRAIN MASS;INTRACRANIAL HEMORRHAGE"