如何使用 PHPMyAdmin 创建两个表之间的关系? [英] How to create a relation between two tables using PHPMyAdmin?

查看:34
本文介绍了如何使用 PHPMyAdmin 创建两个表之间的关系?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用 PHPMyAdmin 创建两个表之间的关系?

How to create a relation between two tables using PHPMyAdmin?

推荐答案

这仅在您使用 InnoDB 作为存储引擎时有效.然后你有一个链接 Relation view 除了 Print view:

This only works if you use InnoDB as storage engine. Then you have a link Relation view besides Print view:

如果您单击此按钮,您将进入另一个站点,您可以在其中为所有定义了非十进制的列选择关系(遵循模式 table->column).

If you click this you get to another site where you can select the relations for all columns that have indecies defined on them (following the pattern table->column).

这篇关于如何使用 PHPMyAdmin 创建两个表之间的关系?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆