doodling scripts for MySQL