1.

The storage size in bytes required for the MEDIUMINT datatype is ___________(a) 1(b) 2(c) 3(d) 4The question was posed to me during an online interview.My query is from MySQL Data Types topic in division Data Types of MySQL

Answer»

Right option is (c) 3

Easy explanation: 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