Prices change over time and orders must be valued at the price in effect when they were placed. Return each order with the price that was current at ordered_at.
valid_from that is not after ordered_atnullvalid_from take the higher priceorder_idCommunity-reported interview topic. Not an official company question and no affiliation is implied.
Run against the public tests, or submit to score against all of them.