shakti_wonder Posted February 22, 2010 Share Posted February 22, 2010 My Scenario: I have a table with columns oid, did (ignore other columns i have) I have records as: oid did == === 10 20 20 35 35 54 54 15 10 18 25 65 10 19 19 15 If the records in my table are like this, then the query should return me all records with oid=10 and eventually ending up in did = 15 and also n.did=(n+1).oid Inputs would be oid = 10 and did = 17. Thanx in advance. Link to comment https://forums.phpfreaks.com/topic/192894-find-in-between-records/ Share on other sites More sharing options...
fenway Posted February 24, 2010 Share Posted February 24, 2010 Maybe you're referring to this? Link to comment https://forums.phpfreaks.com/topic/192894-find-in-between-records/#findComment-1017475 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.