用sql语句处理
http://www.cnblogs.com/sunxiaonan/archive/2009/11/24/1609439.html
http://blog.csdn.net/anya/article/details/6407280