MySQL Forums
Forum List  »  Newbie

Re: Incress Number
Posted by: Peter Brawley
Date: November 18, 2021 09:17AM

If you're using MySQL 8.0, use Lag() and Lead() to fetch previous and next values, read about them in the manual.

Several articles on querying previous & next values at https://www.artfulsoftware.com/queries.php.

Options: ReplyQuote


Subject
Written By
Posted
November 18, 2021 08:43AM
Re: Incress Number
November 18, 2021 09:17AM
November 19, 2021 07:18AM


Sorry, only registered users may post in this forum.

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.