想请教一下如果要删除id从 2500 到id3000的会员 用sql语言 怎么写啊?感谢!
答案:
delete from phome_enewsmember where userid>=2500 and userid<=3000;
delete from phome_enewsmemberadd where userid>=2500 and userid<=3000;
时间: 2024-10-25 06:45:48
想请教一下如果要删除id从 2500 到id3000的会员 用sql语言 怎么写啊?感谢!
答案:
delete from phome_enewsmember where userid>=2500 and userid<=3000;
delete from phome_enewsmemberadd where userid>=2500 and userid<=3000;