"Alan Bullock" <liststuff@gmail.com> wrote in message
news:e83f29$dss$1@sea.gmane.org...
> hi all, I have the following schema:
>
thanks all for such prompt replies! I'm going with Martijn's solution, I'm a
total newbie and it appears simplest (though I realise it's pgsql only)