MCQ Answer

In MySQL, what is the purpose of the AUTO_INCREMENT attribute?

In MySQL, what is the purpose of the AUTO_INCREMENT attribute?

Topic : Database Fundamentals

A. To automatically sort rows in ascending order

B. To automatically insert values into a column based on a specified pattern

C. To automatically generate unique values for a column as records are inserted

D. To automatically update records in a table




Correct Answer is :

C. To automatically generate unique values for a column as records are inserted



Online Exam Quiz for One day Exam Online Typing Test CCC Online Test 2026 Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Best Website and Software Company in Allahabad