-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.usfs_fia.population_stratum_assign`
(
  stratum_assign_sequence_number STRING OPTIONS(description="A unique sequence number used to identify a population plot stratum assignment record."),
  stratum_sequence_number INT64 OPTIONS(description="Foreign key linking the condition down woody material calculation record to the population stratum record."),
  plot_sequence_number INT64 OPTIONS(description="Foreign key linking the condition down woody material calculation record to the plot record."),
  state_code INT64 OPTIONS(description="Bureau of the Census Federal Information Processing Standards (FIPS) two-digit code for each State. Refer to appendix B. For evaluations that do not conform to the boundaries of a single State the value of STATECD should be set to 99."),
  inventory_year INT64 OPTIONS(description="See SURVEY.INVYR description for definition."),
  survey_unit_code INT64 OPTIONS(description="Forest Inventory and Analysis survey unit identification number. Survey units are usually groups of counties within each State. For periodic inventories, Survey units may be made up of lands of particular owners. Refer to appendix B for codes."),
  county_code INT64 OPTIONS(description="The identification number for a county, parish, watershed, borough, or similar governmental unit in a State. FIPS codes from the Bureau of the Census are used. Refer to appendix B for codes."),
  phase_2_plot_number INT64 OPTIONS(description="An identifier for a plot. Along with STATECD, INVYR, UNITCD, COUNTYCD and/or some other combinations of variables, PLOT may be used to uniquely identify a plot."),
  region_or_station_code INT64 OPTIONS(description="Identification number of the Forest Service National Forest System Region or Station (FIA work unit) that provided the inventory data (see appendix B for more information)."),
  evaluation_identifier INT64 OPTIONS(description="The EVALID code and the RSCD code together uniquely identify a set of field plots and associated Phase 1 summary data used to make population estimates."),
  estimation_unit INT64 OPTIONS(description="The specific geographic area that is stratified. Estimation units are often determined by a combination of geographical boundaries, sampling intensity and ownership."),
  stratum_code INT64 OPTIONS(description="The code used for a particular stratum, which is unique within an RSCD, EVALID, ESTN_UNIT."),
  stratum_assign_created_by STRING OPTIONS(description="See SURVEY.CREATED_BY description for definition."),
  stratum_assign_created_date DATE OPTIONS(description="See SURVEY.CREATED_DATE description for definition."),
  stratum_assign_created_in_instance INT64 OPTIONS(description="See SURVEY.CREATED_IN_INSTANCE description for definition."),
  stratum_assign_modified_by STRING OPTIONS(description="See SURVEY.MODIFIED_BY description for definition."),
  stratum_assign_modified_date DATE OPTIONS(description="See SURVEY.MODIFIED_DATE description for definition."),
  stratum_assign_modified_in_instance INT64 OPTIONS(description="See SURVEY.MODIFIED_IN_INSTANCE description for definition.")
)
OPTIONS(
  description="Links plot to stratum information and basic information about the stratum. \t\n\nPages in FIA Documentation: 7-17"
);

INSERT INTO `bigquery-public-data.usfs_fia.population_stratum_assign` (stratum_assign_sequence_number, stratum_sequence_number, plot_sequence_number, state_code, inventory_year, survey_unit_code, county_code, phase_2_plot_number, region_or_station_code, evaluation_identifier, estimation_unit, stratum_code, stratum_assign_created_by, stratum_assign_created_date, stratum_assign_created_in_instance, stratum_assign_modified_by, stratum_assign_modified_date, stratum_assign_modified_in_instance) VALUES ('13320433010497', 13319262010497, 10668816010497, 2, 1997, 1, 201, 9881, 27, 110, 1, 39, NULL, '2011-01-18', 10497, NULL, 'NaT', NULL), ('13320439010497', 13319262010497, 10669907010497, 2, 1998, 1, 130, 4652, 27, 110, 1, 39, NULL, '2011-01-18', 10497, NULL, 'NaT', NULL), ('13320624010497', 13319216010497, 10672124010497, 2, 2001, 1, 282, 28734, 27, 110, 1, 42, NULL, '2011-01-18', 10497, NULL, 'NaT', NULL), ('13326921010497', 13319401010497, 10672212010497, 2, 2000, 1, 282, 30266, 27, 111, 1, 95, NULL, '2011-01-18', 10497, NULL, 'NaT', NULL), ('13325830010497', 13319274010497, 10669558010497, 2, 2002, 1, 122, 30332, 27, 111, 1, 53, NULL, '2011-01-18', 10497, NULL, 'NaT', NULL);