procedures - How to get previous row data by using SQL? -


here table example


main_cd code
1 aa

1 bb

1 cc

2 1231

2 1232

.

that table have lots of data. use main_cd "1" (other data other pages cannot delete it)

my question if got value of "cc". want sent pre_data ("aa") , next data ("cc")

also if got value of "cc", pre_data "bb" , next_data "aa"


Comments

Popular posts from this blog

java - Plugin org.apache.maven.plugins:maven-install-plugin:2.4 or one of its dependencies could not be resolved -

Round ImageView Android -

How can I utilize Yahoo Weather API in android -