Task: Text to Code
Input (English): select the rows whose season record is equal to 2012 . the sum of the points record of these rows is 40 .
Output (English): round_eq { sum { filter_eq { all_rows ; season ; 2012 } ; points } ; 40 }