Task: Text to Code
Input (English): select the rows whose opponent record fuzzily matches to toronto maple leafs . the sum of the attendance record of these rows is 38,002 .
Output (English): round_eq { sum { filter_eq { all_rows ; opponent ; toronto maple leafs } ; attendance } ; 38,002 }