copied from
http://dev.mysql.com/tech-resources/...tatements.html