Task: Text to Code
Input (English): select the rows whose name record fuzzily matches to patricia sosa ( esa ) . take the total ( kg ) record of this row . select the rows whose name record fuzzily matches to nancy niro ( can ) . take the total ( kg ) record of this row . the first record is less than the second record .
Output (English): less { hop { filter_eq { all_rows ; name ; patricia sosa ( esa ) } ; total ( kg ) } ; hop { filter_eq { all_rows ; name ; nancy niro ( can ) } ; total ( kg ) } }