Limit insert in column in mysql : <p>How can I limit the maximum times a string can be inserted in a column in MySQL. If it reaches the maximum amount, it moves to the next. For an example if 1 is entered 3 times it moves to 2.
Like 1 1 1 2 2 2 3 3 3 4 4 4..... and so on.</p>
