Google News
logo
MySQL - Quiz(MCQ)
Which of these comparisons is slowest?
A)
INT/INT
B)
INT/BIGINT
C)
BIGINT/BIGINT
D)
None of the Above

Correct Answer :   INT/BIGINT


Explanation : On comparing indexed columns, identical data types will give better performance than dissimilar types. So an INT/INT or BIGINT/BIGINT comparison is faster than an INT/BIGINT comparison.

Advertisement