Mysql Database Foreign Keys
What is a foreign key? A foreign key is a relationship made in a database to link one row of data to another row of data. For example: We have a person's name and birth date stored in a database table, we would then like to store N amount ( "N" being a number we feel like ) phone numbers for this person. In order to uniquely identify this person, we will use a system generated number for an ID. In another database table we would store the phone number, now we need a way to relate the two tables ... read more!
Posted in technology | Post Comment

RSS Feed