ads' corner

Double primary key in MySQL

Got a nice MySQL problem: a table, which has the following primary key: id, id.


Gapless Sequences for Primary Keys

Since a lot of people asking for a Sequence without gaps: