The simplest way to rotate the camera around a target object is to add an Empty object at the location of the target, parent the camera to it, and then to rotate the empty. It’s less complicated than it might sound.
The steps are as follows:
Press Shift-A and select Camera. Position your camera, framing the object you want it to circle. You can see what your camera is looking at by pressing 0 on the Numpad.