matchoo Posted June 8, 2007 Share Posted June 8, 2007 Ok, now I want to get the difference between a value in the last record and the current record... any way of doing that in SQL? Quote Link to comment https://forums.phpfreaks.com/topic/54786-difference-between-last-row-and-current/ Share on other sites More sharing options...
unidox Posted June 8, 2007 Share Posted June 8, 2007 SELECT * FROM table_id LIMIT 1, 9 //This means that it wil grab the id from 1-9 and none others Quote Link to comment https://forums.phpfreaks.com/topic/54786-difference-between-last-row-and-current/#findComment-270930 Share on other sites More sharing options...
fenway Posted June 8, 2007 Share Posted June 8, 2007 Ok, now I want to get the difference between a value in the last record and the current record... any way of doing that in SQL? There is no current and last. Quote Link to comment https://forums.phpfreaks.com/topic/54786-difference-between-last-row-and-current/#findComment-271073 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.