CREATE TABLE STUDENT (Age INT, StuID VARCHAR, Sex VARCHAR)
CREATE TABLE VOTING_RECORD (Election_Cycle VARCHAR)

Find the average age of female (sex is F) students who have secretary votes in the spring election cycle.
SELECT AVG(T1.Age) FROM STUDENT AS T1 JOIN VOTING_RECORD AS T2 ON T1.StuID = SECRETARY_Vote WHERE T1.Sex = "F" AND T2.Election_Cycle = "Spring"
SELECT AVG("T1"."Age") FROM "STUDENT" AS "T1" JOIN "VOTING_RECORD" AS "T2" ON "SECRETARY_Vote" = "T1"."StuID" AND "Spring" = "T2"."Election_Cycle" WHERE "F" = "T1"."Sex"