Database Design Exercise #1: NPP Dataset (Kristin)
Database Design Exercise #1: NPP Dataset (Kristin)
NPP Dataset
(Kristin)
Date Site Web Plot Quad SPECIES COVER HEIGHT COUNT COMMENTS
2/5/2005 G 1 N 1 BOER4 1 12 7
2/5/2005 G 1 N 1 BOER4 0.5 12 1
2/5/2005 G 1 N 1 BOER4 0.25 10 3
2/5/2005 G 1 N 1 LATR2 9 24 1 grazed
2/6/2005 G 1 N 1 LATR2 5 18 4
2/6/2005 G 1 N 2 SPCR 4 12 1
2/6/2005 G 1 N 2 SPCR 1 12 3
Database Design Exercise #1
Date Site Web Plot Quad SPECIES COVER HEIGHT COUNT COMMENTS
2/5/2005 G 1 N 1 BOER4 1 12 7
2/5/2005 G 1 N 1 BOER4 0.5 12 1
2/5/2005 G 1 N 1 BOER4 0.25 10 3
2/5/2005 G 1 N 1 LATR2 9 24 1 grazed
2/6/2005 G 1 N 1 LATR2 5 18 4
2/6/2005 G 1 N 2 SPCR 4 12 1
2/6/2005 G 1 N 2 SPCR 1 12 3
Location
Site enum(‘B’,’C’,’G’,P’)
Web integer(1)
Plot enum(‘N’,’S’,’E’,’W’)
Quad integer
1:n
Location_id (PK) integer
Observation
date date Species
species_id integer Abbreviation varchar
Cover float Scientific Name varchar
Height float Common Name varchar
Comments text 1:n Species_id (PK) integer
Location_id (FK) integer
Observation_id (PK) integer
Database Design Exercise #2
Exercise Data:
• NPP Data in text format (zipped)
Software:
• DB Designer
• MySQL Administrator & MySQL Query Browser Bundle
http://jkim.sdsu.edu/LaSelva/