How can you change a column’s data type in an existing MariaDB table?
a) MODIFY TABLE
b) UPDATE COLUMN
c) ALTER TABLE
d) CHANGE TYPE
Answer:
c) ALTER TABLE
Explanation:
The ALTER TABLE
command is used to modify the structure of an existing table, including changing the data type of a column.