Re: [SQL] Organization of tables

2007-06-15 Thread operationsengineer1
ssage From: Salman Tahir <[EMAIL PROTECTED]> To: pgsql-sql@postgresql.org Sent: Thursday, June 14, 2007 4:21:06 AM Subject: [SQL] Organization of tables Hi, I have a question regarding the organization of a table I want to create in my database: I have the following setup: Table Fragments

Re: [SQL] Organization of tables

2007-06-14 Thread Rodrigo De León
On 6/14/07, Salman Tahir <[EMAIL PROTECTED]> wrote: Any help on how best to structure such data would be mostly appreciated. See: http://en.wikipedia.org/wiki/Database_normalization *** Grossly oversimplified example follows *** CREATE TABLE PEPTIDE( NAME TEXT PRIMARY KEY ); CREATE TABLE FR

[SQL] Organization of tables

2007-06-14 Thread Salman Tahir
Hi, I have a question regarding the organization of a table I want to create in my database: I have the following setup: Table Fragments (simplified example): Primary key = {mass} Approach (1) fragment | mass (of fragment) | peptide ---++-