mysql用查询结果当删除的判断条件进行删除报错1093 You can't specify target table解决方法 #分开两个sql执行正常的语句,只保留最新1000条数据,删掉1000条以前的旧数据select number from historydata order by number desc limit 1001,1;delete from historydata where number < 201911270538;#直接合并后报错:错误代码: 1093 You can…