DELETE FROM mt_click WHERE click_time < xxxxxx AND camp_id = yyy;
这个后面 AND camp_id = yyy;是指定campaign的id是吧
如果要删除所有campaign数据,这样DELETE FROM mt_click WHERE click_time < xxxxxx; 对吧
详情回复
发表于 2017-6-10 17:12
" |# `$ E4 l2 s" ]; L
DELETE FROM mt_click WHERE click_time < xxxxxx AND camp_id = yyy;& o, L7 G5 z/ C6 s& Y e0 X: R
这个后面 AND camp_id = yyy;是指定campaign的id是吧/ f4 g" F7 v% g2 u: ?- w
如果要删除所有campaign数据,这样DELETE FROM mt_click WHERE click_time < xxxxxx; 对吧