Home » MYSQL » Connection » Question
  1. What is the best datatype for a column that is expected to store values up to 2 million?
    1. BIGINT
    2. SMALLINT
    3. TINYINT
    4. MEDIUMINT
    5. None of these
Correct Option: A

The different numeric types used in MySQL are used to store different range of values. To store values of the order of a million, the MEDIUMINT or BIGINT datatype is sufficient.



Your comments will be displayed only after manual approval.