Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Sql > Re: Table schem...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 3355 of 3799
Post > Topic >>

Re: Table schema

by Lew <lew@[EMAIL PROTECTED] > Mar 24, 2008 at 08:08 AM

Please do not multi-post.  How is someone reading one group supposed to be 
aware of the conversation in another, except by accident?  Multi-posting
is 
very bad practice.  If you must reach multiple groups, rarely very
helpful, 
you can cross-post instead.

Eric Kaplan wrote:
> I have a group of TV listing data need to map into database tables.
> 
> Data looks like following:
> http://www.oniva.com/upload/1356/crew.jpg
> 
> I want to create a table for productionCrew of each TV program
> 
> the data is like -
> crew -> programID -> member 
>                                -> member
>                                -> member ... etc
>          -> programID  -> member
>                                -> member
>                                -> member ... etc
>          -> programID  -> member
>                                -> member
>                                -> member ... etc
>           ... etc
> 
> above are data from productionCrew of all TV program, for each
> programID we have a list of members.
> 
> Should I merge all member into a big string?

I don't know what you mean by that question, but the answer is no.

> Or should I use 2 tables to store the Crew data?

If Crew data were the only things you saved, one might do, but you're also

storing member data and program data, right?

You need at least three tables.

Study up on database normalization and third-normal form.  This will clear
up 
the matter.

> If i use 2 tables, how the fields / column will look like?

What are the attributes of the real-world things your database will model?

-- 
Lew
 




 1 Posts in Topic:
Re: Table schema
Lew <lew@[EMAIL PROTEC  2008-03-24 08:08:34 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 22:23:06 CST 2008.