I need to get identifiers around an identifier with mySQL.
Example:
Identifiers in the table:
2, 4, 5, 9, 11, 15, 19, 22, 25
I need to know, for example, 5 identifiers around identifier 9. The request should return:
4, 5, 9, 11, 15
Thanks!
Hugo demiglio
source share