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

What does the AUTO_INCREMENT attribute do?

  1. A Automatically increases column width
  2. B Generates a unique sequential number for new rows
  3. C Automatically indexes the column
  4. D Increments all values in the column
Answer

Generates a unique sequential number for new rows

AUTO_INCREMENT is typically used on surrogate primary keys. Values are not reused after deletion and gaps are normal after rolled-back transactions.

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