Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up

Which statement adds a new column to an existing table?

  1. A UPDATE table ADD column
  2. B ALTER TABLE table ADD COLUMN name TYPE
  3. C INSERT COLUMN INTO table
  4. D MODIFY TABLE table ADD name
Answer

ALTER TABLE table ADD COLUMN name TYPE

ALTER TABLE performs schema changes. On large tables, adding a nullable column with no default is the cheapest form of this operation.

All MySQL MCQs

Login to manage your account

Please enter a valid email address.
Forgot Password?
Please enter a valid password.
OR

Don't have an account yet? Sign up as