update team_ctrip set team_id=COALESCE((select id from team where team.ctrip_teamid=team_ctrip.ctrip_id and team.eb_from_site='ctrip' and team.ctrip_teamid >0 limit 0),0)
http://www.itpub.net/thread-334218-1-1.html
update team_ctrip set team_id=COALESCE((select id from team where team.ctrip_teamid=team_ctrip.ctrip_id and team.eb_from_site='ctrip' and team.ctrip_teamid >0 limit 0),0)
http://www.itpub.net/thread-334218-1-1.html