-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.cms_medicare.physicians_and_other_supplier_2012`
(
  npi STRING NOT NULL OPTIONS(description="National Provider Identifier"),
  nppes_provider_last_org_name STRING OPTIONS(description="Last Name/Organization Name of the Provider"),
  nppes_provider_first_name STRING OPTIONS(description="First Name of the Provider"),
  nppes_provider_mi STRING OPTIONS(description="Middle Initial of the Provider"),
  nppes_credentials STRING OPTIONS(description="Credentials of the Provider"),
  nppes_provider_gender STRING OPTIONS(description="Gender of the Provider"),
  nppes_entity_code STRING OPTIONS(description="Entity Type of the Provider"),
  nppes_provider_street1 STRING OPTIONS(description="Street Address 1 of the Provider"),
  nppes_provider_street2 STRING OPTIONS(description="Street Address 2 of the Provider"),
  nppes_provider_city STRING OPTIONS(description="City of the Provider"),
  nppes_provider_zip STRING OPTIONS(description="Zip Code of the Provider"),
  nppes_provider_state STRING OPTIONS(description="State Code of the Provider"),
  nppes_provider_country STRING OPTIONS(description="Country Code of the Provider"),
  provider_type STRING OPTIONS(description="Provider Type of the Provider"),
  medicare_participation_indicator STRING OPTIONS(description="Medicare Participation Indicator"),
  place_of_service STRING NOT NULL OPTIONS(description="Place of Service"),
  hcpcs_code STRING NOT NULL OPTIONS(description="HCPCS"),
  hcpcs_description STRING OPTIONS(description="HCPCS Description"),
  hcpcs_drug_indicator STRING OPTIONS(description="Identifies HCPCS As Drug Included in the ASP Drug List"),
  line_srvc_cnt FLOAT64 OPTIONS(description="Number of Services"),
  bene_unique_cnt INT64 OPTIONS(description="Number of Medicare Beneficiaries"),
  bene_day_srvc_cnt INT64 OPTIONS(description="Number of Distinct Medicare Beneficiary/Per Day Services"),
  average_medicare_allowed_amt FLOAT64 OPTIONS(description="Average Medicare Allowed Amount"),
  stdev_medicare_allowed_amt FLOAT64 OPTIONS(description=""),
  average_submitted_chrg_amt FLOAT64 OPTIONS(description="Average Submitted Charge Amount"),
  stdev_submitted_chrg_amt FLOAT64 OPTIONS(description=""),
  average_medicare_payment_amt FLOAT64 OPTIONS(description="Average Medicare Payment Amount"),
  stdev_medicare_payment_amt FLOAT64 OPTIONS(description="")
);

INSERT INTO `bigquery-public-data.cms_medicare.physicians_and_other_supplier_2012` (npi, nppes_provider_last_org_name, nppes_provider_first_name, nppes_provider_mi, nppes_credentials, nppes_provider_gender, nppes_entity_code, nppes_provider_street1, nppes_provider_street2, nppes_provider_city, nppes_provider_zip, nppes_provider_state, nppes_provider_country, provider_type, medicare_participation_indicator, place_of_service, hcpcs_code, hcpcs_description, hcpcs_drug_indicator, line_srvc_cnt, bene_unique_cnt, bene_day_srvc_cnt, average_medicare_allowed_amt, stdev_medicare_allowed_amt, average_submitted_chrg_amt, stdev_submitted_chrg_amt, average_medicare_payment_amt, stdev_medicare_payment_amt) VALUES ('1134166523', 'TOUSSAINT', 'LAVILLA', NULL, 'CRNA', 'F', 'I', '1600 SW ARCHER RD', NULL, 'GAINESVILLE', '326103003', 'FL', 'US', 'CRNA', 'Y', 'F', '00103', 'Anesthesia for procedure on eyelid', 'N', 13.0, 13, 13, 134.82615385, 47.840841827, 720.53846154, 90.129840431, 107.86153846, 38.27202691), ('1568402824', 'DUDLEY', 'ROBERT', 'A', 'CRNA', 'M', 'I', '13101 S INDIAN RIVER DR', NULL, 'JENSEN BEACH', '349572229', 'FL', 'US', 'CRNA', 'Y', 'F', '00103', 'Anesthesia for procedure on eyelid', 'N', 33.0, 33, 33, 224.07969697, 48.161700456, 597.0, 76.319503842, 179.26363636, 38.528657797), ('1336197359', 'HEMESATH', 'JAMES', 'F', 'CRNA', 'M', 'I', '1118 FAIRINGTON DR', NULL, 'SIDNEY', '453658913', 'OH', 'US', 'CRNA', 'Y', 'F', '00103', 'Anesthesia for procedure on eyelid', 'N', 34.0, 22, 34, 182.65205882, 27.778927242, 718.08235294, 118.03122585, 141.14382353, 30.016254715), ('1740246024', 'DAVIS', 'ANNE', NULL, 'CRNA', 'F', 'I', '30200 TELEGRAPH RD', 'SUITE 220', 'BINGHAM FARMS', '480254502', 'MI', 'US', 'CRNA', 'Y', 'F', '00103', 'Anesthesia for procedure on eyelid', 'N', 25.0, 25, 25, 90.554, 16.955255468, 846.0, 143.17653439, 72.4436, 13.563859003), ('1679597041', 'MCKAY', 'ELISA', 'A', 'CRNA', 'F', 'I', '2301 HOLMES ST', NULL, 'KANSAS CITY', '641082640', 'MO', 'US', 'CRNA', 'Y', 'F', '00103', 'Anesthesia for procedure on eyelid', 'N', 28.0, 26, 28, 169.24678571, 26.929584641, 735.28571429, 119.81916647, 135.39892857, 21.543872403);