操作:
start transaction; delete from tb_dept where id=2; delete from tb_emp where dept_id===2; commit; rollback ;只要有失败就可以回滚
四大特性ACID:
总结: