求大家MySql语句
alfal 2003-10-13 03:32:19 想实现一个语句,例:
update ltsmsreport,ltmobile set ltsmsreport.city=ltmobile.city where left(ltsmsreport.mobile,7) = ltmobile.mobile;
这样在MySql里面总是提示出错:
ERROR 1064: You have an error in your SQL syntax near 'ltmobile set ltsmsreport.city=ltmobile.city where left(ltsmsreport.mobile,7) = l' at line 1
想问一个这样的语句能实现么?