Task: Text to Code
Input (English): select the rows whose venue record fuzzily matches to away . the average of the attendance record of these rows is 1,692 .
Output (English): round_eq { avg { filter_eq { all_rows ; venue ; away } ; attendance } ; 1,692 }