Set relationship across two tables

تعرفه تبلیغات در سایت

آخرین مطالب

امکانات وب

Vote count: 0

How can I use phpmyadmin to set relationships for column data across two tables?

Let's say I have a user table

id | userName

and a order table

id | customerID | customerName

how can I tell phpmyadmin that the customerName is always equal to the userName based on the customerID even if the username gets updated?

Is such a thing possible and if yes whats the relationship called?

asked 1 min ago

نویسنده : استخدام کار بازدید : 64 تاريخ : جمعه 29 ارديبهشت 1396 ساعت: 7:39

فهرست وبلاگ