What is a sequence? When do we need one?
The primary key is a column in a table. The primary key needs a unique value, which needs to come from somewhere. The sequence is a feature by some database products which just creates unique values. It just increments a value and returns it. The special thing about it is: there is no transaction isolation, … Read more