Task: Text to Code
Input (English): select the rows whose currency record fuzzily matches to latvian lats . take the official target date record of this row . select the rows whose currency record fuzzily matches to lithuanian litas . take the official target date record of this row . the first record is less than the second record .
Output (English): less { hop { filter_eq { all_rows ; currency ; latvian lats } ; official target date } ; hop { filter_eq { all_rows ; currency ; lithuanian litas } ; official target date } }