An automatic analytical apparatus, comprising: a pipetting device including a probe (304, 402) configured to suction liquid to be used in an analysis; a transport apparatus configured to transport a rack allowing for mounting of a plurality of containers containing the liquid, wherein the containers may have various diameters, wherein the transport apparatus is configured to transport a container mounted on the rack so as to move to a pipetting position; and a container-clamping apparatus, wherein the container-clamping apparatus comprises: at least two container holding members configured to hold a side wall of the container; said at least two container holding members including: a first container holding member configured to hold one of side walls of the specimen container; a second container holding member configured to hold another of the side walls of the specimen container; a first arm configured to move the first container holding member from a side in a first direction toward the specimen container; a second arm configured to move the second container holding member from a side in a second direction opposite to the first direction the across the container toward the specimen container; a first connection member configured to connect the first arm with the container holding member, a second connection member configured to connect the second arm with the second container holding member, wherein the container-clamping apparatus is configured to clamp a container while being erected on a rack transported by the transport apparatus after having arrived at said pipetting position; at least a part of the first container holding member or the first connection member is formed of an elastic body; and at least a part of the second container holding member or the second connection member is formed of an elastic body; said pipetting position being a position where the pipetting device of the automatic analytical apparatus is configured to move the probe downward in the container and to suction a predetermined amount of suction liquid while the container at the pipetting position is mounted on the rack, wherein the elastic bodies are configured to be compressed when holding a container such that the container is pushed by the elastic bodies from the both sides, and the centers of containers having various diameters are positioned at a same position and the container is held upright by applying the same elastic force from both sides of the container even if a container had been inclined before being clamped by the container-clamping apparatus. a pipetting device including a probe (304, 402) configured to suction liquid to be used in an analysis; a transport apparatus configured to transport a rack allowing for mounting of a plurality of containers containing the liquid, wherein the containers may have various diameters, wherein the transport apparatus is configured to transport a container mounted on the rack so as to move to a pipetting position; and a container-clamping apparatus, at least two container holding members configured to hold a side wall of the container; said at least two container holding members including: a first container holding member configured to hold one of side walls of the specimen container; a second container holding member configured to hold another of the side walls of the specimen container; a first arm configured to move the first container holding member from a side in a first direction toward the specimen container; a second arm configured to move the second container holding member from a side in a second direction opposite to the first direction the across the container toward the specimen container; a first connection member configured to connect the first arm with the container holding member, a second connection member configured to connect the second arm with the second container holding member, wherein the container-clamping apparatus is configured to clamp a container while being erected on a rack transported by the transport apparatus after having arrived at said pipetting position; at least a part of the first container holding member or the first connection member is formed of an elastic body; and at least a part of the second container holding member or the second connection member is formed of an elastic body; said pipetting position being a position where the pipetting device of the automatic analytical apparatus is configured to move the probe downward in the container and to suction a predetermined amount of suction liquid while the container at the pipetting position is mounted on the rack, wherein the elastic bodies are configured to be compressed when holding a container such that the container is pushed by the elastic bodies from the both sides, and the centers of containers having various diameters are positioned at a same position and the container is held upright by applying the same elastic force from both sides of the container even if a container had been inclined before being clamped by the container-clamping apparatus.