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. Quote 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? Quote Link to comment https://forums.phpfreaks.com/topic/192894-find-in-between-records/#findComment-1017475 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.