Task: Text to Code
Input (English): find the average age in Dogs table whose gender equals 1
Output (English): SELECT Avg ( age ) FROM Dogs WHERE gender = 1