December 24, 2021 Database MySQL PostgreSQL Tips How to get `previous` and `next` record in PostgreSQL/ MySQL with LAG and LEAD function 1 bài toán cơ bản, nhỏ nhỏ lúc làm việc thôi. Đề bài là: Tìm…