1.

What is the storage size in bytes required for the MEDIUMINT datatype?(a) 1(b) 2(c) 3(d) 4This question was posed to me during an internship interview.My question is taken from Running Multiple Servers topic in section General MySQL Administration of MySQL

Answer»

The correct answer is (C) 3

The EXPLANATION is: The numeric DATATYPES used in MySQL VARY over ranges. There are a variety of INT types in the type SPECIFICATION. TINYINT requires 1, SMALLINT requires 2 bytes and MEDIUMINT requires 3.



Discussion

No Comment Found

Related InterviewSolutions