V
V
Viktoria Smirnova2018-03-26 13:49:21
MySQL
Viktoria Smirnova, 2018-03-26 13:49:21

mysql analytic function?

Question: Does MySQL support displaying the previous and next row from the selected one?
The forums say that MySQL does not support analytic functions. The MySQL documentation provides the LAG() and LEAD() functions.
How to implement these functions, show a simple example?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Papa, 2018-03-26
Stifflera @PapaStifflera

About: LAG(
) I didn't look for LEAD()...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question