trait_category VARCHAR2(100) NOT NULL,
UNIQUE ( trait_category )
);
- comment on table qtl_trait_category is 'hey, hey, hey, hey';
+ COMMENT ON TABLE qtl_trait_category IS
+ 'hey, hey, hey, hey';
comment on column qtl_trait_category.qtl_trait_category_id
is 'the primary key!';
start_position NUMBER(11,2) NOT NULL,
stop_position NUMBER(11,2) NOT NULL,
comments long,
- UNIQUE ( qtl_accession_id ),
FOREIGN KEY ( qtl_trait_id ) REFERENCES qtl_trait
);
+ CREATE UNIQUE INDEX qtl_accession ON qtl ( qtl_accession_id );
+
CREATE TABLE qtl_trait_synonym
(
qtl_trait_synonym_id NUMBER(11) NOT NULL