Vidyalelo
MySQL · Q555

MySQL

Programming · MySQL · question 555

Q555

There cannot be more than one column per table with the AUTO_INCREMENT attribute.

A.
True
Answer
B.
False

Answer: Option A

Solution

Answer: Option A
Solution:
This question is about a special feature in MySQL called AUTO_INCREMENT.

AUTO_INCREMENT automatically assigns unique numbers to new rows in a table. Think of it like a counter that keeps going up.

The question asks if you can have more than one column in a table using AUTO_INCREMENT. The answer is A: True.

You can only have one column per table set up to automatically increase. This ensures that each row gets a unique number.