So I'm working with MySQL and PHP. Having some trouble trying to get a query that calculates the difference between consecutive rows.
What I need is to get the difference between each row for: data_views, data_sub & data_videos for each channel URL.
Much appreciated if anyone can help :)
Here's my table structure:
