1、在执行修改、删除等SQL语句时,要习惯性的加上事务(begin transaction rollback transaction commit transaction),这样能避免误操作导致数据不能进行恢复的情况。