Rumah >pangkalan data >tutorial mysql >mysql not in(一批数据) 数据量大 线上不适合建表
mysql数据
select * from tb_aabb where id not in (20001,20002,20185,20204,20285,20738,40002,40003,40004,40005,40006,40011,40013);
tb_aabb数据量百万级,同时id总量有1500,线上数据不适合建表联表,这种的有什么解决方案么?谢过了