Say for example
__
_____ | | ____
--------|_____|----------| |---------|____
|__|
That ASCII art is supposed to represent a "rolling" revolute joint followed by a "Yawing" revolute joint, followed by the tool frame.
Would the rows in the DH table represent
BASE-J1
J1-J2
Or would they represent
J1-J2
J2-Tool Frame