Some code for mysql learning