Task: Text to Code
Input (English): select the rows whose date record fuzzily matches to october . the sum of the attendance record of these rows is 142040 .
Output (English): round_eq { sum { filter_eq { all_rows ; date ; october } ; attendance } ; 142040 }