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
Post a Comment