MCQ Single Best Answer Easy

QWhich DDL statement is used to change the name of an existing column in MySQL?

ID: #15460 Data definition language - MySQL 101 views
Question Info
#15460Q ID
EasyDifficulty
Data definition language - MySQLTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A MODIFY COLUMN
  • B RENAME COLUMN
  • C UPDATE COLUMN
  • D CHANGE COLUMN
Correct Answer: Option D

Explanation

The CHANGE COLUMN statement in MySQL is used to change the name of an existing column in a table. It allows you to specify the current column name and the new column name.

Share This Question

Challenge a friend or share with your study group.