-- Collection of code snippets by Arne Vajhøj 
-- posted to eksperten.dk, usenet and other places (2002-now) 
SELECT * FROM p JOIN c1 ON p.id = c1.id;
SELECT * FROM p JOIN c2 ON p.id = c2.id;
