Our Scripts Vault contains many game scripts that you can use to create your own game!
I found this MySQL cheat sheet that has come in handy for me at times It's certainly very useful http://www.nparikh.org/unix/mysql.php