mysql - Finding the difference between the latest and the second latest term - Stack Overflow

PHOTO EMBED

Sun May 22 2022 12:47:56 GMT+0000 (UTC)

Saved by @lncoder #sql

event_type value
2          -5
3           4
content_copyCOPY

https://stackoverflow.com/questions/31761239/finding-the-difference-between-the-latest-and-the-second-latest-term