Task: Text to Code
Input (English): select the rows whose original air date record is less than january 1 , 2010 . the average of the us viewers ( million ) record of these rows is 9.74 .
Output (English): round_eq { avg { filter_less { all_rows ; original air date ; january 1 , 2010 } ; us viewers ( million ) } ; 9.74 }