
MySQL is a relational database.
An important feature of relational systems is that a single database can be
spread across several tables as opposed to our flat-file phone book example.
Related data is stored in separate tables and allows you to put them together by
using a key common to both tables. The key is the
relation between the tables. The selection of a primary
key is one of the most critical decisions you'll make in designing a...