On 12/5/06 6:49 PM, Clayton Scott wrote:
> CREATE TABLE club      (id serial PRIMARY KEY, name text);
> CREATE TABLE person  (id serial PRIMARY KEY, name text);
> CREATE TABLE position (id serial PRIMARY KEY, name text);
> 
> CREATE TABLE company_person_map (
>    club            integer not null REFERENCES club (id),
>    person_id    integer not null REFERENCES person (id),
>    position_id   integer not null REFERENCES position (id),
> );

What is the primary key on company_person_map?  Why does company_person_map
contain a reference to a club?

-John



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Rose-db-object mailing list
Rose-db-object@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rose-db-object

Reply via email to