-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.oppexp10`
(
  cmte_id STRING OPTIONS(description="Filer Identification Number"),
  amndt_ind STRING OPTIONS(description="Amendment Indicator"),
  rpt_yr INT64 OPTIONS(description="Report Year"),
  rpt_tp STRING OPTIONS(description="Report Type"),
  image_num STRING OPTIONS(description="Image Number"),
  line_num STRING OPTIONS(description="Line Number"),
  form_tp_cd STRING OPTIONS(description="Form Type"),
  sched_tp_cd STRING OPTIONS(description="Schedule Type"),
  name STRING OPTIONS(description="Contributor/Lender/Transfer Name"),
  city STRING OPTIONS(description="City/Town"),
  state STRING OPTIONS(description="State"),
  zip_code STRING OPTIONS(description="Zip Code"),
  transaction_dt DATE OPTIONS(description="Transaction Date(MMDDYYYY)"),
  transaction_amt FLOAT64 OPTIONS(description="Transaction Amount"),
  transaction_pgi STRING OPTIONS(description="Primary General Indicator"),
  purpose STRING OPTIONS(description="Purpose"),
  category STRING OPTIONS(description="Disbursement Category Code"),
  category_desc STRING OPTIONS(description="Disbursement Category Code Description"),
  memo_cd STRING OPTIONS(description="Memo Code"),
  memo_text STRING OPTIONS(description="Memo Text"),
  entity_tp STRING OPTIONS(description="Entity Type"),
  sub_id INT64 NOT NULL OPTIONS(description="FEC Record Number"),
  file_num INT64 OPTIONS(description="File Number / Report ID"),
  tran_id STRING OPTIONS(description="Transaction ID"),
  back_ref_tran_id STRING OPTIONS(description="Back Reference Transaction ID")
);

INSERT INTO `bigquery-public-data.fec.oppexp10` (cmte_id, amndt_ind, rpt_yr, rpt_tp, image_num, line_num, form_tp_cd, sched_tp_cd, name, city, state, zip_code, transaction_dt, transaction_amt, transaction_pgi, purpose, category, category_desc, memo_cd, memo_text, entity_tp, sub_id, file_num, tran_id, back_ref_tran_id) VALUES ('C00000042', 'A', 2009, 'MY', '10930102447', '21B', 'F3X', 'SB', 'NORTHERN TRUST CO.', 'SCHAUMBURG', 'IL', '60173', '2009-06-09', 180.25, NULL, 'ITIMIZED CHECK IMPRINT CHARGE', NULL, NULL, NULL, 'ITIMIZED CHECK IMPRINT CHARGE', 'IND', 4012520101122704957, 446727, '90728.E788', NULL), ('C00000422', 'N', 2010, 'M7', '10930872944', '21B', 'F3X', 'SB', 'FIRST NATIONAL MERCHANT SOLUTIONS', 'OMAHA', 'NE', '68197', '2010-06-30', 1097.17, NULL, 'CREDIT CARD BANK CHARGES', '001', 'Administrative/Salary/Overhead Expenses', NULL, 'CREDIT CARD BANK CHARGES', 'ORG', 4071920101127542672, 477554, '35632827', NULL), ('C00000422', 'N', 2009, 'YE', '10990163257', '21B', 'F3X', 'SB', 'FIRST NATIONAL MERCHANT SOLUTIONS', 'OMAHA', 'NE', '68197', '2009-12-31', 340.09, NULL, 'CREDIT CARD BANK CHARGES', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4022220101123661956, 447560, 'SB21B.35080', NULL), ('C00000422', 'N', 2009, 'YE', '10990163257', '21B', 'F3X', 'SB', 'D.C. TREASURER', 'WASHINGTON', 'DC', '20002', '2009-12-15', 808.0, NULL, 'DC30ES-12/31/2009-FEIN 36-2470834', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4022220101123661955, 447560, 'SB21B.35082', NULL), ('C00000422', 'N', 2009, 'YE', '10990163257', '21B', 'F3X', 'SB', 'RIGGS NATIONAL BANK', 'WASHINGTON', 'DC', '20074', '2009-12-14', 3100.0, NULL, '1120POL-ES-12/31/2009-FEIN 26-2470834', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4022220101123661957, 447560, 'SB21B.35081', NULL);