Emulating Sequences in MySQL and MariaDB

Sequences are objects defined by the SQL standard that are used to create monotonically increasing sequences of numeric values. Whenever nextval is called on a sequence object, it generates and returns the next number in the sequence. For MySQL and MariaDB users, this might sound similar to MySQL’s AUTO_INCREMENT columns, but there are some differences: Sequences are defined by the … Read More
PlanetMySQL Voting: Vote UP / Vote DOWN
via Planet MySQL
Emulating Sequences in MySQL and MariaDB