-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.oppexp14`
(
  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.oppexp14` (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', 2013, 'M4', '13940513662', '21B', 'F3X', 'SB', 'FIRST NATIONAL MERCHANT SOLUTIONS', 'OMAHA', 'NE', '68197', '2013-03-31', 1231.65, '', 'CREDIT CARD BANK CHARGES', '001', 'Administrative/Salary/Overhead Expenses', '', 'CREDIT CARD BANK CHARGES', 'ORG', 4040920131186229352, 864381, '50501953', ''), ('C00000422', 'N', 2013, 'M12', '13943263632', '21B', 'F3X', 'SB', 'PNC BANK', 'WASHINGTON', 'DC', '20074', '2013-11-30', 1749.87, '', 'CREDIT CARD BANK CHARGES', '001', 'Administrative/Salary/Overhead Expenses', '', 'CREDIT CARD BANK CHARGES', 'ORG', 4121120131200661499, 896904, '55921590', ''), ('C00000422', 'N', 2013, 'M5', '13962168413', '21B', 'F3X', 'SB', 'FIRST NATIONAL MERCHANT SOLUTIONS', 'OMAHA', 'NE', '68197', '2013-04-30', 1037.71, '', 'CREDIT CARD BANK CHARGES', '001', 'Administrative/Salary/Overhead Expenses', '', 'CREDIT CARD BANK CHARGES', 'ORG', 4050720131188629722, 869949, '51046124', ''), ('C00000422', 'N', 2013, 'M6', '13962827961', '21B', 'F3X', 'SB', 'FIRST NATIONAL MERCHANT SOLUTIONS', 'OMAHA', 'NE', '68197', '2013-05-31', 903.92, '', 'CREDIT CARD BANK CHARGES', '001', 'Administrative/Salary/Overhead Expenses', '', 'CREDIT CARD BANK CHARGES', 'ORG', 4060620131191058771, 873164, '51595192', ''), ('C00000422', 'N', 2013, 'M7', '13964037682', '21B', 'F3X', 'SB', 'PNC BANK', 'WASHINGTON', 'DC', '20074', '2013-06-30', 1583.19, '', 'CREDIT CARD BANK CHARGES', '001', 'Administrative/Salary/Overhead Expenses', '', 'CREDIT CARD BANK CHARGES', 'ORG', 4071120131192350070, 876825, '52009329', '');