Task: Text to Code
Input (English): select the rows whose team record fuzzily matches to queens park rangers . take the date of vacancy record of this row . select the rows whose team record fuzzily matches to norwich city . take the date of vacancy record of this row . the second record is 7 days larger than the first record .
Output (English): eq { diff { hop { filter_eq { all_rows ; team ; queens park rangers } ; date of vacancy } ; hop { filter_eq { all_rows ; team ; norwich city } ; date of vacancy } } ; -7 days }