October 2009
Beginner
408 pages
7h 27m
English
MySQL is a relational database management system, which lets you store data in multiple tables, where each table contains a set of named columns and each row consists of a data entry into the table. Tables will often contain information about other table entries, which allows developers to group relevant information into smaller groups to ease a script's load on the server, as well as simplifying data retrieval.
For example, take a look at how you might store information about musical artists (see Tables 4-1 and 4-2).
| artist_id | artist_name |
|---|---|
| 1 | Bon Iver |
| 2 | Feist |
| album_id | artist_id | album_name |
|---|---|---|
| 1 | 1 | For Emma, Forever Ago |
| 2 | 1 | Blood Bank - EP3 |
| 3 | 2 | Let It Die |
| 4 | 2 | The Reminder |
The ...
Read now
Unlock full access