FAQ

What is an auto-increment column?

An auto-increment column is one of which the value increments automatically each time a row is inserted into the table.

What is the use of auto-increment columns?

An auto-increment column usually serves as the primary key or unique identifier for each row of the table. Since the value automatically increments with each insert, the column guarantees that each row has a unique value associated with it.

An auto-increment column also gives useful information about the sequence of transactions. The higher the column value, the later the row was entered into the table. This can be useful for finding data such as

[click to continue…]

{ 1 comment }