Is possible to have two tables with the same incrementing sequence?
I was trying to do a tree with ID, NAME, ParentID
and i have to join two tables.
If i have different id the tree scheme of ID - ParentId
will not work.
Table A Table B
ID | NAME | PID ID | NAME | PID
1 | xpto | 0 1 | xpto | 1