-- DBMS: bigquery
CREATE TABLE `isb-cgc.TCGA_bioclin_v0.clinical_v1_1`
(
  case_gdc_id STRING,
  case_barcode STRING,
  program_name STRING,
  disease_code STRING,
  project_short_name STRING,
  age_at_diagnosis INT64,
  age_began_smoking_in_years STRING,
  anatomic_neoplasm_subdivision STRING,
  batch_number INT64,
  bcr STRING,
  bmi FLOAT64,
  clinical_M STRING,
  clinical_N STRING,
  clinical_stage STRING,
  clinical_T STRING,
  colorectal_cancer STRING,
  country STRING,
  days_to_birth INT64,
  days_to_death INT64,
  days_to_initial_pathologic_diagnosis INT64,
  days_to_last_followup INT64,
  days_to_last_known_alive INT64,
  days_to_submitted_specimen_dx STRING,
  ethnicity STRING,
  gender STRING,
  gleason_score_combined STRING,
  h_pylori_infection STRING,
  height INT64,
  histological_type STRING,
  history_of_colon_polyps STRING,
  history_of_neoadjuvant_treatment STRING,
  hpv_calls STRING,
  hpv_status STRING,
  icd_10 STRING,
  icd_o_3_histology STRING,
  icd_o_3_site STRING,
  lymphatic_invasion STRING,
  lymphnodes_examined STRING,
  lymphovascular_invasion_present STRING,
  menopause_status STRING,
  mononucleotide_and_dinucleotide_marker_panel_analysis_status STRING,
  neoplasm_histologic_grade STRING,
  new_tumor_event_after_initial_treatment BOOL,
  number_of_lymphnodes_examined INT64,
  number_of_lymphnodes_positive_by_he STRING,
  number_pack_years_smoked INT64,
  other_dx STRING,
  other_malignancy_anatomic_site STRING,
  other_malignancy_histological_type STRING,
  other_malignancy_type STRING,
  pathologic_M STRING,
  pathologic_N STRING,
  pathologic_stage STRING,
  pathologic_T STRING,
  person_neoplasm_cancer_status STRING,
  pregnancies STRING,
  primary_neoplasm_melanoma_dx STRING,
  primary_therapy_outcome_success STRING,
  psa_value STRING,
  race STRING,
  residual_tumor STRING,
  stopped_smoking_year INT64,
  tobacco_smoking_history INT64,
  tss_code STRING,
  tumor_tissue_site STRING,
  tumor_type STRING,
  venous_invasion STRING,
  vital_status STRING,
  weight INT64,
  year_of_diagnosis INT64,
  year_of_tobacco_smoking_onset INT64,
  project_name STRING
)
OPTIONS(
  description="Copy of clinical_v1 with project_name from Clinical appended to it."
);

INSERT INTO `isb-cgc.TCGA_bioclin_v0.clinical_v1_1` (case_gdc_id, case_barcode, program_name, disease_code, project_short_name, age_at_diagnosis, age_began_smoking_in_years, anatomic_neoplasm_subdivision, batch_number, bcr, bmi, clinical_M, clinical_N, clinical_stage, clinical_T, colorectal_cancer, country, days_to_birth, days_to_death, days_to_initial_pathologic_diagnosis, days_to_last_followup, days_to_last_known_alive, days_to_submitted_specimen_dx, ethnicity, gender, gleason_score_combined, h_pylori_infection, height, histological_type, history_of_colon_polyps, history_of_neoadjuvant_treatment, hpv_calls, hpv_status, icd_10, icd_o_3_histology, icd_o_3_site, lymphatic_invasion, lymphnodes_examined, lymphovascular_invasion_present, menopause_status, mononucleotide_and_dinucleotide_marker_panel_analysis_status, neoplasm_histologic_grade, new_tumor_event_after_initial_treatment, number_of_lymphnodes_examined, number_of_lymphnodes_positive_by_he, number_pack_years_smoked, other_dx, other_malignancy_anatomic_site, other_malignancy_histological_type, other_malignancy_type, pathologic_M, pathologic_N, pathologic_stage, pathologic_T, person_neoplasm_cancer_status, pregnancies, primary_neoplasm_melanoma_dx, primary_therapy_outcome_success, psa_value, race, residual_tumor, stopped_smoking_year, tobacco_smoking_history, tss_code, tumor_tissue_site, tumor_type, venous_invasion, vital_status, weight, year_of_diagnosis, year_of_tobacco_smoking_onset, project_name) VALUES ('44f10972-9f1f-4f7d-b8a0-0062c961001b', 'TCGA-GZ-6640', 'TCGA', 'DLBC', 'TCGA-DLBC', NULL, NULL, NULL, NULL, NULL, nan, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Lymphoid Neoplasm Diffuse Large B-cell Lymphoma'), (NULL, 'TCGA-BR-4274', 'TCGA', 'STAD', 'TCGA-STAD', NULL, NULL, NULL, NULL, NULL, nan, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), ('1ec1e2c4-ba2c-40fc-b5e1-e8f6e38caec6', 'TCGA-GS-6634', 'TCGA', 'DLBC', 'TCGA-DLBC', NULL, NULL, NULL, NULL, NULL, nan, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, 'Lymphoid Neoplasm Diffuse Large B-cell Lymphoma'), (NULL, 'TCGA-PN-A8M9', 'TCGA', 'CESC', 'TCGA-CESC', NULL, NULL, NULL, NULL, NULL, nan, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL), (NULL, 'TCGA-BR-4264', 'TCGA', 'STAD', 'TCGA-STAD', NULL, NULL, NULL, NULL, NULL, nan, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL);