标签: mysql
ALTER TABLE `phppos_items_taxes` ADD CONSTRAINT `phppos_items_taxes_ibfk_1` FOREIGN KEY (`item_id`) REFERENCES `phppos_items` (`item_id`) ON DELETE CASCADE;
这是否意味着删除phppos_items.id时,它会删除phppos_items_taxes上的条目?
phppos_items.id
phppos_items_taxes
我很难解释它。
答案 0 :(得分:1)