Animation an object to swivel - Student Needs Help

I need help to make an object rotate to where one end is at a fixed point so that it acts as a swivel.

Just make 2 parts and make one rotate ??? ? ? ? :no_mouth:

Here is a video I made for simple rotational (turntable) animation. More here.