您即将离开腾讯云开发者社区,请注意您的账号财产安全
http://dev.mysql.com/doc/refman/5.0/en/control-flow-functions.html#function_if
继续访问