Google News
logo
MySQL - Quiz(MCQ)
If a column is expected to store values up to 2 million, the best datatype for it is ________
A)
BIGINT
B)
TINYINT
C)
SMALLINT
D)
MEDIUMINT

Correct Answer :   BIGINT


Explanation : 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.

Advertisement