mysql not(in) 用法

delete from table1 where prediction_id not in (123,124,125,166);//删除表中prediction_id不为123,124,125,166的记录

你可能感兴趣的:(mysql not(in) 用法)