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? 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 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. 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
Archived
This topic is now archived and is closed to further replies.