-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.oppexp08`
(
  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.oppexp08` (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 ('C00000422', 'N', 2007, 'M4', '27930617943', '21B', 'F3X', 'SB', 'FIRST NATIONAL MERCHANT SOLUTIONS', 'OMAHA', 'NE', '68197', '2007-03-31', 1330.07, NULL, 'CREDIT CARD BANK CHARGES', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4042020071076818924, 285567, 'SB21B.21344', NULL), ('C00000422', 'N', 2007, 'M4', '27930617944', '21B', 'F3X', 'SB', 'PNC BANK', 'WASHINGTON', 'DC', '20074', '2007-03-20', 19771.0, NULL, '2006 1120-POL-TAX', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4042020071076818927, 285567, 'SB21B.21347', NULL), ('C00000422', 'N', 2007, 'M5', '27930730914', '21B', 'F3X', 'SB', 'D.C. TREASURER', 'WASHINGTON', 'DC', '20002', '2007-04-13', 2065.0, NULL, 'DC ESTIMATED TAXES', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4052420071077454515, 288968, 'SB21B.21355', NULL), ('C00000422', 'N', 2007, 'M5', '27930730914', '21B', 'F3X', 'SB', 'D.C. TREASURER', 'WASHINGTON', 'DC', '20002', '2007-04-13', 6176.0, NULL, 'D30-12/31/2006 TAXES', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4052420071077454514, 288968, 'SB21B.21354', NULL), ('C00000422', 'N', 2007, 'M7', '27990208172', '21B', 'F3X', 'SB', 'PNC BANK', 'WASHINGTON', 'DC', '20074', '2007-06-15', 7500.0, NULL, '1120-POL ESTIMATED TAXES', '001', 'Administrative/Salary/Overhead Expenses', NULL, NULL, 'ORG', 4071720071078649459, 293842, 'SB21B.21762', NULL);