You have a column that will only contain values from 0 to 256. What is the most economical data type to use for the column?
(a) TINYINT
(b) SMALLINT
(c) INT
(d) DECIMAL(1)
I had been asked this question in an interview for job.
This interesting question is from Transformation of Relational Expressions topic in portion Query Processing Techniques of Database Management
Select the correct answer from above options
Interview Questions and Answers, Database Interview Questions and Answers for Freshers and Experience