0

Mysql-php myadmin!!?

Any one know how assign multiple foriegn key to single primary key in a table!? like i have tables farmer,employees, students etc these will have their primary key i want to make these primary key as foreign key in a table called password. how apply constraints!?

30th Mar 2017, 2:00 AM
Rakshith Shetty
Rakshith Shetty - avatar
1 Odpowiedź
+ 1
You can write them in a field and use the table name as additional information. But it is not something you can tell the database. You would have to keep it consistent by hand.
31st Mar 2017, 4:45 AM
1of3
1of3 - avatar