python批量删除mysql数据

1.格式:外面用"",里面用''否则执行无效
例子:"DELETE FROM users WHERE username = 'hixiuy'"
2.批量模糊删除:含中文的用  binary 
例子:"DELETE FROM users WHERE binary username LIKE '%秋%' OR username LIKE '%qiu%'"
posted on 2020-09-29 10:41  studyAppStore  阅读(733)  评论(0)    收藏  举报