I would like to reference a cell in a query lookup using the LARGE function in Google Sheets. I have tried variations on the code below without success:
=QUERY(C2:D49,"select C where D = "large(D2:D49,2)"")
This leads me to ask what the rule is for referencing cell values within queries using standard functions.