-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.irs_990.irs_990_ein`
(
  ein STRING NOT NULL OPTIONS(description="Employer Identification Number (EIN)"),
  name STRING OPTIONS(description="Primary Name of Organization"),
  ico STRING OPTIONS(description="In Care of Name"),
  street STRING OPTIONS(description="Street Address"),
  city STRING OPTIONS(description="City"),
  state STRING OPTIONS(description="State"),
  zip STRING OPTIONS(description="Zip Code"),
  `group` INT64 OPTIONS(description="Group Exemption Number"),
  subsection INT64 OPTIONS(description="Subsection Code"),
  affiliation INT64 OPTIONS(description="Affiliation Code"),
  classification INT64 OPTIONS(description="Classification Code(s)"),
  ruling INT64 OPTIONS(description="Ruling Date"),
  deductibility INT64 OPTIONS(description="Deductibility Code"),
  foundation INT64 OPTIONS(description="Foundation Code"),
  activity INT64 OPTIONS(description="Activity Codes"),
  organization INT64 OPTIONS(description="Organization Code"),
  status INT64 OPTIONS(description="Exempt Organization Status Code"),
  tax_period INT64 OPTIONS(description="Tax Period"),
  asset_cd INT64 OPTIONS(description="Asset Code"),
  income_cd INT64 OPTIONS(description="Income Code"),
  filing_req_cd INT64 OPTIONS(description="Filing Requirement Code"),
  pf_filing_req_cd INT64 OPTIONS(description="PF Filing Requirement Code"),
  acct_pd INT64 OPTIONS(description="Accounting Period"),
  asset_amt INT64 OPTIONS(description="Asset Amount"),
  income_amt INT64 OPTIONS(description="Income Amount (includes negative sign if amount is negative)"),
  revenue_amt INT64 OPTIONS(description="Form 990 Revenue Amount (includes negative sign if amount is negative)"),
  ntee_cd STRING OPTIONS(description="National Taxonomy of Exempt Entities (NTEE) Code"),
  sort_name STRING OPTIONS(description="Sort Name (Secondary Name Line)")
);

INSERT INTO `bigquery-public-data.irs_990.irs_990_ein` (ein, name, ico, street, city, state, zip, group, subsection, affiliation, classification, ruling, deductibility, foundation, activity, organization, status, tax_period, asset_cd, income_cd, filing_req_cd, pf_filing_req_cd, acct_pd, asset_amt, income_amt, revenue_amt, ntee_cd, sort_name) VALUES ('226052253', 'BROADWAY BAPTIST CHURCH TRUST', '% FIRST FIDELITY BANK NA', '100 N MAIN ST 13TH FLR', 'WINSTON SALEM', 'NC', '27150-0001', 0, 91, 3, 1000, 0, 0, 0, 909000000, 6, 12, NULL, 0, 0, 2, 0, 12, NULL, NULL, NULL, 'T90Z', 'BROADWAY BAPTIST CHURCH TTEE'), ('753110876', 'CEDAR CREEK CHURCH TR', NULL, '3581 BENDERS FERRY RD', 'MT JULIET', 'TN', '37122-5410', 0, 3, 0, 7000, 0, 1, 10, 0, 0, 1, NULL, 0, 0, 6, 0, 12, NULL, NULL, NULL, NULL, 'CEDAR CREEK CLUB INC'), ('464834675', 'IGLESIA HERMOSA SANTA FE', '% HERMINIO ESTRADA', '1250 W ALAMEDA ST', 'SANTA FE', 'NM', '87501-1750', 1947, 3, 9, 7000, 0, 0, 10, 1000000, 5, 1, NULL, 0, 0, 2, 0, 12, NULL, NULL, NULL, NULL, 'IGLESIA HERMOSA'), ('522421690', 'TEMPLO CRISTO VIENE', '% JOEL DIAZ', '20124 SW 118TH CT', 'MIAMI', 'FL', '33177-5468', 1620, 3, 9, 7000, 0, 0, 10, 0, 0, 1, NULL, 0, 0, 6, 0, 12, NULL, NULL, NULL, NULL, NULL), ('953845986', 'RIM OF THE WORLD COMMUNITY CHURC', NULL, '31116 HILLTOP BLVD', 'RUNNING SPRINGS', 'CA', '92382-0000', 0, 3, 3, 1000, 0, 1, 10, 1000000, 1, 1, NULL, 0, 0, 6, 0, 12, NULL, NULL, NULL, NULL, NULL);