How to find the equal and opposite rows in a table.E.g.:book positionA 500B -500C -500The output should return the rows having equal and opposite positions.O/P:A 500B -500I have tried self join on a table but in vain.Do we need to cursors for these row level handling?
↧