I have a table that tracks changes. One column is called beforename and the other aftername.
Some sample data might be:
BeforeName AfterName
a b
b c
c d
I am trying to write a query that will self reference itself in such a way as to return the changes ie:
a->b->c->d (the arrows are just for notation here)
Is this possible to do in SQL?
My database is Sqlite
TIA