Task: Text to Code
Input (English): the 4th maximum points record of all rows is 6 .
Output (English): eq { nth_max { all_rows ; points ; 4 } ; 6 }