This year I have done quite some MySQL related work and today I
decided to blog about two things I learned: how to create a job
queue or a circulair queue in MySQL, which might not always be a
good idea, and how to use a conditional in ON DUPLICATE
KEY
which uses the current value and the to be assigned
value of a column to determine how to update another column.