Task: Text to Code
Input (English): select the rows whose opponent record fuzzily matches to detroit lions . take the date record of this row . select the rows whose opponent record fuzzily matches to los angeles raiders . take the date record of this row . the second record is 7 days larger than the first record .
Output (English): eq { diff { hop { filter_eq { all_rows ; opponent ; detroit lions } ; date } ; hop { filter_eq { all_rows ; opponent ; los angeles raiders } ; date } } ; -7 days }