-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.oppexp06`
(
  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.oppexp06` (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', 'N', 2006, 'Q3', '26930438531', '21B', 'F3X', 'SB', 'NORTHERN TRUST CO.', 'SCHAUMBURG', 'IL', '60173', '2006-08-15', 81.84, NULL, 'ITIMIZED CHECK IMPRINT CHARGE', NULL, NULL, NULL, 'ITIMIZED CHECK IMPRINT CHARGE', 'IND', 4101920061070523221, 243214, '61011.E641', NULL), ('C00000059', 'A', 2006, 'M3', '26970083223', '21B', 'F3X', 'SB', NULL, 'JEFFERSON CITY', 'MO', '65101', '2006-02-28', 2.0, NULL, 'TAX EXPENDITURE', NULL, NULL, NULL, NULL, 'ORG', 4030220061064712303, 204878, 'D5536', NULL), ('C00000422', 'N', 2005, 'M7', '25970614009', '21B', 'F3X', 'SB', 'D.C. TREASURER', 'WASHINGTON', 'DC', '20002', '2005-06-15', 1006.0, NULL, 'ESTIMATED TAXES-Y/E 12/31/2005', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4071520051059216068, 179837, 'SB21B.16373', NULL), ('C00000422', 'N', 2005, 'M7', '25970614009', '21B', 'F3X', 'SB', 'PNC ADVISORS', 'WASHINGTON', 'DC', '20090', '2005-06-30', 156.71, NULL, 'BANK CHARGES', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4071520051059216070, 179837, 'SB21B.16375', NULL), ('C00000422', 'N', 2005, 'M7', '25970614009', '21B', 'F3X', 'SB', 'FIRST NATIONAL MERCHANT SOLUTIONS', 'OMAHA', 'NE', '68197', '2005-06-30', 243.31, NULL, 'CREDIT CARD BANK CHARGES', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4071520051059216069, 179837, 'SB21B.16374', NULL);