Hi,
The data residing in a particular table is of the following format:
ROW_VALUE FIELD_VALUE
------------- --------------------
1 1
1 BCKUP
2 13
2 BUSER
3 4
3 AUSER
4 36
4 CUB
5 7
5 BNMP
6 3
ROW_VALUE FIELD_VALUE
------------- --------------------
6 VIION
7 222
7 DDA
8 808
8 DWR
9 2
9 EREP
10 3
10 IM
11 3
11 MDBV
the field row_value unites the records meaning,
for field_value BCKUP = 1 (previous record), BUSER=13....
The previous record value available in the same field is the value to be matched for this record.
The data is stored in the table in the above format.
Help required to have a single select query to fetch the data from the above pattern.
Thanks,
Shantha.
Talent is what you possess;
genius is what possesses you
The data residing in a particular table is of the following format:
ROW_VALUE FIELD_VALUE
------------- --------------------
1 1
1 BCKUP
2 13
2 BUSER
3 4
3 AUSER
4 36
4 CUB
5 7
5 BNMP
6 3
ROW_VALUE FIELD_VALUE
------------- --------------------
6 VIION
7 222
7 DDA
8 808
8 DWR
9 2
9 EREP
10 3
10 IM
11 3
11 MDBV
the field row_value unites the records meaning,
for field_value BCKUP = 1 (previous record), BUSER=13....
The previous record value available in the same field is the value to be matched for this record.
The data is stored in the table in the above format.
Help required to have a single select query to fetch the data from the above pattern.
Thanks,
Shantha.
Talent is what you possess;
genius is what possesses you