Task: Text to Code
Input (English): select the rows whose city record fuzzily matches to belgrade . the average of the average attendance record of these rows is 19,807 .
Output (English): round_eq { avg { filter_eq { all_rows ; city ; belgrade } ; average attendance } ; 19,807 }