MySQL: Advanced Routines, Optimization, and DCL