Google News
logo
MySQL - Quiz(MCQ)
Which among the following is the correct syntax for modifying the definition of an existing table?
A)
ALTER TABLE person
B)
ALTER TABLE person MODIFY person_id ;
C)
ALTER TABLE person person_id SMALLINT UNSIGNED AUTO_INCREMENT;
D)
ALTER TABLE person MODIFY person_id SMALLINT UNSIGNED AUTO_INCREMENT;

Correct Answer :   ALTER TABLE person MODIFY person_id SMALLINT UNSIGNED AUTO_INCREMENT;

Advertisement