Chapter 3
The script below builds all the data used in the examples.
It also includes some advanced features described in chapter
4 (particulary views and a link table.) Feel free to run the
SQL script in phpMyAdmin to play with the same database I'm using for
the examples.