Task: Text to Code
Input (English): select the rows whose tournament record fuzzily matches to commonwealth games . take the result record of this row . select the rows whose tournament record fuzzily matches to african championships . take the result record of this row . the first record is less than the second record . the year record of the first row is 2006 . the year record of the second row is 2006 .
Output (English): and { less { hop { filter_eq { all_rows ; tournament ; commonwealth games } ; result } ; hop { filter_eq { all_rows ; tournament ; african championships } ; result } } ; and { eq { hop { filter_eq { all_rows ; tournament ; commonwealth games } ; year } ; 2006 } ; eq { hop { filter_eq { all_rows ; tournament ; african championships } ; year } ; 2006 } } }