IT4 It
IT4 It
📌
Ans:
📌
Text
📌
Number
Date
4. What is the range of values that a TINYINT data type can hold?
Ans: TINYINT can hold values from -128 to 127 normally, and from 0 to 255 if specified
as UNSIGNED.
10. Write an SQL statement to remove all rows from the Employee table
while keeping the table structure intact.
Ans: TRUNCATE TABLE Employee;
11. What is the purpose of defining a data type for a column in a database
table?
Ans: The data type defines the operations that can be done directly on the data. For
example, if a column is defined as an integer, you can perform arithmetic operations
like summing the data.