Column attributes such as AUTO_INCREMENT and a column’s default value are not
copied to the destination table. To preserve these attributes, create the table, then
use ALTER TABLE to apply the appropriate modifications to the column definition.
For example, if src_tbl has an id column that is not only a PRIMARY KEY but also
an AUTO_INCREMENT column, copy the table and modify the copy: