Task: Text to Code
Input (English): select the rows whose joined record is greater than 1981 . the average of the enrollment record of these rows is 2767 .
Output (English): round_eq { avg { filter_greater { all_rows ; joined ; 1981 } ; enrollment } ; 2767 }