What is the difference between tinyint, smallint, mediumint, bigint and int in MySQL?
In what cases should these be used?
The difference is the amount of memory allocated to each integer, and how large a number they each can store.