Interactive table height and rotation around pivot

So I have a drafting table and I want to be able to grab it, then move the controller up and down to move the model up and down, and move the controller forward and back to rotate the table top around the pivot point.