The term you’re looking for is “auto-increment”
There are several threads here explaining it, like this one