MySQL cookbook - DuBois, Paul, 1956- (O'Reilly, 2007)
"Solutions and examples for database developers and DBAs"
"Includes Ruby examples"