A rotary table is a mechanical device on a drilling rig that provides clockwise (as viewed from above) rotational force to the drill string to facilitate the process of drilling a borehole.