Q11
True / FalseIn MySQL, the ALTER TABLE statement can be used to add a new column to an existing table.
The ALTER TABLE statement is used to add, delete, or modify columns in an existing table.
Q12
True / FalseThe ALTER TABLE statement in MySQL can be used to rename a column.
The ALTER TABLE statement can rename a column using the CHANGE clause.
Q13
True / FalseYou can use the ALTER TABLE statement in MySQL to directly insert data into a table.
The ALTER TABLE statement is used for altering the structure of a table, not for inserting data. Data insertion is done with the INSERT INTO statement.
Q14
True / FalseIn MySQL, to change the data type of a column, the ALTER TABLE statement can be used with the MODIFY COLUMN clause.
The MODIFY COLUMN clause is used with the ALTER TABLE statement to change the data type or properties of an existing column.
Q15
True / FalseMySQL allows adding multiple columns in a single ALTER TABLE statement.
Multiple columns can be added in a single ALTER TABLE statement by listing each ADD COLUMN clause separated by commas.
Q16
True / FalseTo remove a primary key constraint from a column, you use the ALTER TABLE statement with the DROP PRIMARY KEY clause in MySQL.
The ALTER TABLE statement with the DROP PRIMARY KEY clause is used to remove a primary key constraint from a table.
Q17
True / FalseThe ALTER TABLE statement in MySQL can be used to change the storage engine of a table.
The ALTER TABLE statement can change the storage engine of a table using the ENGINE clause.
Q18
True / FalseYou can use the ALTER TABLE statement to add a foreign key constraint in MySQL without specifying the referenced table and column.
When adding a foreign key constraint, the ALTER TABLE statement must specify the referenced table and column.
Q19
True / FalseMySQL's ALTER TABLE statement can be used to rename an existing table.
The ALTER TABLE statement can rename an existing table using the RENAME TO clause.
Q20
True / FalseIn MySQL, using the ALTER TABLE statement to add a unique constraint to a column will automatically index that column.
Adding a unique constraint to a column using the ALTER TABLE statement will automatically create a unique index on that column in MySQL.