I have a database with the following columns: id,name,age,subject
Example Data:
1,john,12,english
2,jane,11,math
3,josh,13,science
4,jenn,11,english
5,jones,12,math
6,jill,11,english
If I have Jenn(#4 english) currently pulled out, how do I also pull out the 'previous' and 'next' student that has english? (John as Previous and Jill as Next)