> Actually, if you declared idmember as SERIAL PRIMARY KEY, you could > just do:
I can't do that. idmember is a SERIAL PRIMARY KEY for members. Each member can have many messages (msg table) with the same idmember column value. See my original post.
-- Milos Prudek
---------------------------(end of broadcast)--------------------------- TIP 7: don't forget to increase your free space map settings