# Between which joints does a given DH table row represent?

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


tl;dr The rows (I guess you refer a row to a set of 4 DH-parameters) represent, roughly speaking, every link. So it's BASE-J1, J1-J2, and J2-Tool Frame.