delete from testtable where id not in
( select max(a.id) from testtable
a group by a.username ) 报这样的错误:“you cant not specify target bable 'testtabel' for update in from clause" (是在MySql下运行的)
请指点
( select max(a.id) from testtable
a group by a.username ) 报这样的错误:“you cant not specify target bable 'testtabel' for update in from clause" (是在MySql下运行的)
请指点
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货