Half-baked

Implementing and learning SQL at the same time... I have a feeling that
this setup may not be very fast for large complex sites.