MySQL Forums
Forum List  »  Newbie

Re: Find the closest previous date and update matching records from another table
Posted by: Peter Brawley
Date: August 22, 2022 10:05AM

8.0 supports windowing functions Lead() and Lag(), which I think yield a much simpler solution than user vars and joins.

Options: ReplyQuote

Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.