nl2sqlproj/spider2-nl2sql huggingface dataset:
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.ccl20`
(
  cand_id STRING OPTIONS(description="Candidate Identification"),
  cand_election_yr INT64 OPTIONS(description="Candidate Election Year"),
  fec_election_yr INT64 OPTIONS(description="FEC Election Year"),
  cmte_id STRING OPTIONS(description="Committee Identification"),
  cmte_tp STRING OPTIONS(description="Committee Type"),
  cmte_design STRING OPTIONS(description="Committee Designation"),
  linkage_id INT64 OPTIONS(description="Linkage ID")
);

INSERT INTO `bigquery-public-data.fec.ccl20` (cand_id, cand_election_yr, fec_election_yr, cmte_id, cmte_tp, cmte_design, linkage_id) VALUES ('S2ND00040', 2010, 2020, 'C00143438', 'N', 'B', 222161), ('H6WA06021', 2012, 2020, 'C00037606', 'Q', 'B', 223061), ('S6NV00218', 2016, 2020, 'C00580688', 'N', 'B', 222911), ('H0FL05147', 2020, 2020, 'C00724005', 'N', 'B', 230270), ('P00015214', 2020, 2020, 'C00746487', 'P', 'B', 233122);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.pas298`
(
  cmte_id STRING OPTIONS(description="Filer Identification Number"),
  amndt_ind STRING OPTIONS(description="Amendment Indicator"),
  rpt_tp STRING OPTIONS(description="Report Type"),
  transaction_pgi STRING OPTIONS(description="Primary-General Indicator"),
  image_num STRING OPTIONS(description="Image Number"),
  transaction_tp STRING OPTIONS(description="Transaction Type"),
  entity_tp STRING OPTIONS(description="Entity Type"),
  name STRING OPTIONS(description="Recipient/Payee"),
  city STRING OPTIONS(description="City/Town"),
  state STRING OPTIONS(description="State"),
  zip_code STRING OPTIONS(description="Zip Code"),
  employer STRING OPTIONS(description="Employer"),
  occupation STRING OPTIONS(description="Occupation"),
  transaction_dt DATE OPTIONS(description="Transaction Date(MMDDYYYY)"),
  transaction_amt FLOAT64 OPTIONS(description="Transaction Amount"),
  other_id STRING OPTIONS(description="Other Identification Number"),
  cand_id STRING OPTIONS(description="Candidate Identification Number"),
  tran_id STRING OPTIONS(description="Transaction ID"),
  file_num INT64 OPTIONS(description="File Number / Report ID"),
  memo_cd STRING OPTIONS(description="Memo Code"),
  memo_text STRING OPTIONS(description="Memo Text"),
  sub_id INT64 NOT NULL OPTIONS(description="FEC Record Number")
);

INSERT INTO `bigquery-public-data.fec.pas298` (cmte_id, amndt_ind, rpt_tp, transaction_pgi, image_num, transaction_tp, entity_tp, name, city, state, zip_code, employer, occupation, transaction_dt, transaction_amt, other_id, cand_id, tran_id, file_num, memo_cd, memo_text, sub_id) VALUES ('C00019653', 'A', 'YE', 'P', '98032811128', '24K', NULL, 'CITIZENS FOR JANET RZEWNICKI', 'WILMINGTON', 'DE', '19803', NULL, NULL, '1997-12-15', 1000.0, 'C00250852', 'H2DE00064', NULL, NULL, NULL, 'CONTRIBUTION MADE TO NON-AFFILIATED', 3062020110011028379), ('C00101105', 'A', 'M8', '0', '98033472403', '24K', NULL, 'ROTH SENATE COMMITTEE', 'WILMINGTON', 'DE', '19899', NULL, NULL, '1998-07-28', 1000.0, 'C00027664', 'S6DE00016', NULL, NULL, NULL, 'CONTRIBUTION MADE TO NON-AFFILIATED', 3062020110009709487), ('C00104810', 'A', 'M8', '0', '98033482109', '24K', NULL, 'ROTH SENATE COMMITTEE', 'WILMINGTON', 'DE', '19899', NULL, NULL, '1998-07-17', 1000.0, 'C00027664', 'S6DE00016', NULL, NULL, NULL, 'CONTRIBUTION MADE TO NON-AFFILIATED', 3062020110011472187), ('C00030676', 'A', 'M9', '0', '97032400931', '24K', NULL, 'ROTH SENATE COMMITTEE', 'WILMINGTON', 'DE', '19899', NULL, NULL, '1997-08-06', 1000.0, 'C00027664', 'S6DE00016', NULL, NULL, NULL, 'CONTRIBUTION MADE TO NON-AFFILIATED', 3062020110012387336), ('C00088088', 'A', 'M12', '0', '98032631173', '24K', NULL, 'ROTH SENATE COMMITTEE', 'WILMINGTON', 'DE', '19899', NULL, NULL, '1997-11-13', -1000.0, 'C00027664', 'S6DE00016', NULL, NULL, NULL, 'CONTRIBUTION MADE TO NON-AFFILIATED', 3062020110012090129);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.pas220`
(
  cmte_id STRING OPTIONS(description="Filer Identification Number"),
  amndt_ind STRING OPTIONS(description="Amendment Indicator"),
  rpt_tp STRING OPTIONS(description="Report Type"),
  transaction_pgi STRING OPTIONS(description="Primary-General Indicator"),
  image_num INT64 OPTIONS(description="Image Number"),
  transaction_tp STRING OPTIONS(description="Transaction Type"),
  entity_tp STRING OPTIONS(description="Entity Type"),
  name STRING OPTIONS(description="Recipient/Payee"),
  city STRING OPTIONS(description="City/Town"),
  state STRING OPTIONS(description="State"),
  zip_code STRING OPTIONS(description="Zip Code"),
  employer STRING OPTIONS(description="Employer"),
  occupation STRING OPTIONS(description="Occupation"),
  transaction_dt DATE OPTIONS(description="Transaction Date(MMDDYYYY)"),
  transaction_amt INT64 OPTIONS(description="Transaction Amount"),
  other_id STRING OPTIONS(description="Other Identification Number"),
  cand_id STRING OPTIONS(description="Candidate Identification Number"),
  tran_id STRING OPTIONS(description="Transaction ID"),
  file_num INT64 OPTIONS(description="File Number / Report ID"),
  memo_cd STRING OPTIONS(description="Memo Code"),
  memo_text STRING OPTIONS(description="Memo Text"),
  sub_id INT64 NOT NULL OPTIONS(description="FEC Record Number")
);

INSERT INTO `bigquery-public-data.fec.pas220` (cmte_id, amndt_ind, rpt_tp, transaction_pgi, image_num, transaction_tp, entity_tp, name, city, state, zip_code, employer, occupation, transaction_dt, transaction_amt, other_id, cand_id, tran_id, file_num, memo_cd, memo_text, sub_id) VALUES ('C90018912', 'N', 'YE', 'G2020', 202001219167279998, '24A', 'ORG', 'RAPID WRISTBANDS', NULL, NULL, NULL, NULL, NULL, '2019-12-26', 65, 'P80001571', 'P80001571', 'F57.000001', 1371561, NULL, NULL, 4012120201685352148), ('C90018912', 'N', 'YE', 'G2020', 202001219167279998, '24A', 'ORG', 'AMAZON WEB SERVICES', NULL, NULL, NULL, NULL, NULL, '2019-11-20', 12, 'P80001571', 'P80001571', 'F57.000002', 1371561, NULL, NULL, 4012120201685352149), ('C00544767', 'N', 'M2', 'P2020', 202002199186538851, '24A', 'ORG', 'NEUTRON MEDIA', 'TORONTO', NULL, NULL, NULL, NULL, '2020-01-17', 40000, 'P80000722', 'P80000722', 'SE24.154296', 1383688, NULL, NULL, 4022320201693929502), ('C00678839', 'N', 'M2', 'P2020', 202002209186611973, '24A', 'ORG', 'HOVER', 'TORONOTO', NULL, NULL, NULL, NULL, 'NaT', 54, 'S8AZ00221', 'S8AZ00221', 'SE.172107', 1384389, 'X', NULL, 4022320201693929445), ('C00678839', 'N', 'M2', 'P2020', 202002209186611974, '24A', 'ORG', 'HOVER', 'TORONOTO', NULL, NULL, NULL, NULL, 'NaT', 14, 'S8AZ00221', 'S8AZ00221', 'SE.172109', 1384389, 'X', NULL, 4022320201693929446);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.other_committee_tx_2018`
(
  cmte_id STRING OPTIONS(description="Filer Identification Number"),
  amndt_ind STRING OPTIONS(description="Amendment Indicator"),
  rpt_tp STRING OPTIONS(description="Report Type"),
  transaction_pgi STRING OPTIONS(description="Primary-General Indicator"),
  image_num INT64 OPTIONS(description="Image Number"),
  transaction_tp STRING OPTIONS(description="Transaction Type"),
  entity_tp STRING OPTIONS(description="Entity 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"),
  employer STRING OPTIONS(description="Employer"),
  occupation STRING OPTIONS(description="Occupation"),
  transaction_dt DATE OPTIONS(description="Transaction Date(MMDDYYYY)"),
  transaction_amt FLOAT64 OPTIONS(description="Transaction Amount"),
  other_id STRING OPTIONS(description="Other Identification Number"),
  tran_id STRING OPTIONS(description="Transaction ID"),
  file_num INT64 OPTIONS(description="File Number / Report ID"),
  memo_cd STRING OPTIONS(description="Memo Code"),
  memo_text STRING OPTIONS(description="Memo Text"),
  sub_id INT64 OPTIONS(description="FEC Record Number")
);

INSERT INTO `bigquery-public-data.fec.other_committee_tx_2018` (cmte_id, amndt_ind, rpt_tp, transaction_pgi, image_num, transaction_tp, entity_tp, name, city, state, zip_code, employer, occupation, transaction_dt, transaction_amt, other_id, tran_id, file_num, memo_cd, memo_text, sub_id) VALUES ('C00487470', 'N', 'M10', 'P', 201810189125625010, '10J', 'COM', 'SENATE REFORM FUND', 'ALEXANDRIA', 'VA', '22313', NULL, NULL, '2018-09-26', 290000.0, NULL, 'SA11C.10197', 1274870, NULL, NULL, 4111320181617383776), ('C00344473', 'A', 'YE', 'P2018', 201903259145932406, '11J', 'ORG', 'SAULT STE MARIE TRIBE OF CHIPPEWA INDIANS', 'SAULT SAINTE MARIE', 'MI', '497831938', NULL, NULL, '2017-09-12', 200.0, NULL, 'VPFM4NS8TC5', 1321100, 'X', NULL, 4032520191645770460), ('C00075820', 'A', 'M3', 'P', 201712059089118128, '11J', 'ORG', 'BARONA BAND OF MISSION INDIANS', 'LAKESIDE', 'CA', '920401541', NULL, NULL, '2016-10-07', 10000.0, NULL, 'SA12.16690500', 1193052, 'X', 'JFC ATTRIB: HUNTER VICTORY FUND - 2016 LIMITS', 4120620171482680256), ('C00652248', 'N', 'Q1', 'P2018', 201804159108217819, '11J', 'ORG', 'ONEIDA INDIAN NATION', 'ONEIDA', 'NY', '134212710', NULL, NULL, '2018-02-28', 2083.0, NULL, 'VTR5HCXV0Z4', 1223484, 'X', NULL, 4050820181546278220), ('C00540617', 'N', 'Q2', 'P2018', 201707149066635101, '11J', 'ORG', 'SANTA YNEZ BAND OF MISSION INDIANS', 'SANTA YNEZ', 'CA', '934600517', NULL, NULL, '2017-06-30', 1000.0, NULL, 'AFC066DB1A09E4CD08F4', 1170793, 'X', 'SCHWEIKERT VICTORY TRANSFER MEMO', 4071420171418888204);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.cn20`
(
  cand_id STRING NOT NULL OPTIONS(description="Candidate Identification"),
  cand_name STRING OPTIONS(description="Candidate Name"),
  cand_pty_affiliation STRING OPTIONS(description="Party Affiliation"),
  cand_election_yr INT64 OPTIONS(description="Year of Election"),
  cand_office_st STRING OPTIONS(description="Candidate State"),
  cand_office STRING OPTIONS(description="Candidate Office"),
  cand_office_district STRING OPTIONS(description="Candidate District"),
  cand_ici STRING OPTIONS(description="Incumbent Challenger Status"),
  cand_status STRING OPTIONS(description="Candidate Status"),
  cand_pcc STRING OPTIONS(description="Principal Campaign Committee"),
  cand_st1 STRING OPTIONS(description="Mailing Address - Street"),
  cand_st2 STRING OPTIONS(description="Mailing Address - Street 2"),
  cand_city STRING OPTIONS(description="Mailing Address - City"),
  cand_st STRING OPTIONS(description="Mailing Address - State"),
  cand_zip STRING OPTIONS(description="Mailing Address - Zip Code")
);

INSERT INTO `bigquery-public-data.fec.cn20` (cand_id, cand_name, cand_pty_affiliation, cand_election_yr, cand_office_st, cand_office, cand_office_district, cand_ici, cand_status, cand_pcc, cand_st1, cand_st2, cand_city, cand_st, cand_zip) VALUES ('H0AL02087', 'ROBY, MARTHA', 'REP', 2020, 'AL', 'H', '02', 'I', 'C', 'C00462143', NULL, NULL, 'MONTGOMERY', NULL, NULL), ('H0AR03055', 'WOMACK, STEVE', 'REP', 2020, 'AR', 'H', '03', 'I', 'C', 'C00477745', NULL, NULL, 'ROGERS', NULL, NULL), ('H0CA03078', 'BERA, AMERISH', 'DEM', 2020, 'CA', 'H', '07', 'I', 'C', 'C00461061', NULL, NULL, 'ELK GROVE', NULL, NULL), ('H0CA10073', 'DESAULNIER, MARK', 'DEM', 2020, 'CA', 'H', '11', 'I', 'C', 'C00554709', NULL, NULL, 'CONCORD', NULL, NULL), ('H0CA10149', 'GARAMENDI, JOHN', 'DEM', 2020, 'CA', 'H', '03', 'I', 'C', 'C00462697', NULL, NULL, 'WALNUT GROVE', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.cn98`
(
  cand_id STRING NOT NULL OPTIONS(description="Candidate Identification"),
  cand_name STRING OPTIONS(description="Candidate Name"),
  cand_pty_affiliation STRING OPTIONS(description="Party Affiliation"),
  cand_election_yr INT64 OPTIONS(description="Year of Election"),
  cand_office_st STRING OPTIONS(description="Candidate State"),
  cand_office STRING OPTIONS(description="Candidate Office"),
  cand_office_district STRING OPTIONS(description="Candidate District"),
  cand_ici STRING OPTIONS(description="Incumbent Challenger Status"),
  cand_status STRING OPTIONS(description="Candidate Status"),
  cand_pcc STRING OPTIONS(description="Principal Campaign Committee"),
  cand_st1 STRING OPTIONS(description="Mailing Address - Street"),
  cand_st2 STRING OPTIONS(description="Mailing Address - Street2"),
  cand_city STRING OPTIONS(description="Mailing Address - City"),
  cand_st STRING OPTIONS(description="Mailing Address - State"),
  cand_zip STRING OPTIONS(description="Mailing Address - Zip Code")
);

INSERT INTO `bigquery-public-data.fec.cn98` (cand_id, cand_name, cand_pty_affiliation, cand_election_yr, cand_office_st, cand_office, cand_office_district, cand_ici, cand_status, cand_pcc, cand_st1, cand_st2, cand_city, cand_st, cand_zip) VALUES ('H8AK00082', 'PECHEK STU', 'DEM', 1998, 'AK', 'H', '00', 'C', 'C', 'C00331355', '3927 VENTURE LN', NULL, 'FAIRBANKS', 'AK', '99709'), ('H8AK00074', 'DUNCAN JIM (JAMES W DUNCAN)', 'DEM', 1998, 'AK', 'H', '00', 'C', 'C', 'C00330456', '1514 LING CT', 'PO BOX 020690', 'JUNEAU', 'AK', '99802'), ('H6AK00045', 'YOUNG DONALD', 'REP', 1998, 'AK', 'H', '00', 'I', 'C', 'C00012229', 'PO BOX 100298', NULL, 'ANCHORAGE', 'AK', '99510'), ('H6AK00128', 'NEMEC WILLIAM JAMES II', 'OTH', 1996, 'AK', 'H', '00', NULL, 'N', 'C00319541', 'HC1 BOX 5001', NULL, 'HEALY', 'AK', '44143'), ('H6AK01043', 'GRAMES JOHN J.G. "JOHNNY"', 'GRE', 1998, 'AK', 'H', '00', 'C', 'N', NULL, 'POST OFFICE BOX 100827', NULL, 'ANCHORAGE', 'AK', '99510');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.pas294`
(
  cmte_id STRING OPTIONS(description="Filer Identification Number"),
  amndt_ind STRING OPTIONS(description="Amendment Indicator"),
  rpt_tp STRING OPTIONS(description="Report Type"),
  transaction_pgi STRING OPTIONS(description="Primary-General Indicator"),
  image_num STRING OPTIONS(description="Image Number"),
  transaction_tp STRING OPTIONS(description="Transaction Type"),
  entity_tp STRING OPTIONS(description="Entity Type"),
  name STRING OPTIONS(description="Recipient/Payee"),
  city STRING OPTIONS(description="City/Town"),
  state STRING OPTIONS(description="State"),
  zip_code STRING OPTIONS(description="Zip Code"),
  employer STRING OPTIONS(description="Employer"),
  occupation STRING OPTIONS(description="Occupation"),
  transaction_dt DATE OPTIONS(description="Transaction Date(MMDDYYYY)"),
  transaction_amt FLOAT64 OPTIONS(description="Transaction Amount"),
  other_id STRING OPTIONS(description="Other Identification Number"),
  cand_id STRING OPTIONS(description="Candidate Identification Number"),
  tran_id STRING OPTIONS(description="Transaction ID"),
  file_num INT64 OPTIONS(description="File Number / Report ID"),
  memo_cd STRING OPTIONS(description="Memo Code"),
  memo_text STRING OPTIONS(description="Memo Text"),
  sub_id INT64 NOT NULL OPTIONS(description="FEC Record Number")
);

INSERT INTO `bigquery-public-data.fec.pas294` (cmte_id, amndt_ind, rpt_tp, transaction_pgi, image_num, transaction_tp, entity_tp, name, city, state, zip_code, employer, occupation, transaction_dt, transaction_amt, other_id, cand_id, tran_id, file_num, memo_cd, memo_text, sub_id) VALUES ('C70002852', 'N', 'Q1', NULL, '93038351230', '24F', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1993-02-28', 4100.0, 'H4OH02040', 'H4OH02040', '21003', NULL, NULL, NULL, 3062020110012969375), ('C70002852', 'N', 'Q1', NULL, '93038351230', '24F', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1993-03-16', 900.0, 'H4OH02040', 'H4OH02040', '21004', NULL, NULL, NULL, 3062020110012969374), ('C70001409', 'N', '30S', NULL, '93038412225', '24F', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1993-04-28', 685.0, 'H4WI01056', 'H4WI01056', '43362', NULL, NULL, NULL, 3062020110012936923), ('C70001409', 'N', '30S', NULL, '93038412225', '24F', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1993-04-23', 1419.0, 'H4WI01056', 'H4WI01056', '43363', NULL, NULL, NULL, 3062020110012969377), ('C70001409', 'N', '30S', NULL, '93038412225', '24F', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1993-04-24', 2197.0, 'H4WI01056', 'H4WI01056', '43364', NULL, NULL, NULL, 3062020110012969376);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.cn00`
(
  cand_id STRING NOT NULL OPTIONS(description="Candidate Identification"),
  cand_name STRING OPTIONS(description="Candidate Name"),
  cand_pty_affiliation STRING OPTIONS(description="Party Affiliation"),
  cand_election_yr INT64 OPTIONS(description="Year of Election"),
  cand_office_st STRING OPTIONS(description="Candidate State"),
  cand_office STRING OPTIONS(description="Candidate Office"),
  cand_office_district STRING OPTIONS(description="Candidate District"),
  cand_ici STRING OPTIONS(description="Incumbent Challenger Status"),
  cand_status STRING OPTIONS(description="Candidate Status"),
  cand_pcc STRING OPTIONS(description="Principal Campaign Committee"),
  cand_st1 STRING OPTIONS(description="Mailing Address - Street"),
  cand_st2 STRING OPTIONS(description="Mailing Address - Street2"),
  cand_city STRING OPTIONS(description="Mailing Address - City"),
  cand_st STRING OPTIONS(description="Mailing Address - State"),
  cand_zip STRING OPTIONS(description="Mailing Address - Zip Code")
);

INSERT INTO `bigquery-public-data.fec.cn00` (cand_id, cand_name, cand_pty_affiliation, cand_election_yr, cand_office_st, cand_office, cand_office_district, cand_ici, cand_status, cand_pcc, cand_st1, cand_st2, cand_city, cand_st, cand_zip) VALUES ('H6AK00045', 'YOUNG DONALD', 'REP', 2000, 'AK', 'H', '00', 'I', 'C', 'C00012229', 'PO BOX 100298', NULL, 'ANCHORAGE', 'AK', '99510'), ('H0AL07060', 'DAVIS ARTUR GENESTRE', 'DEM', 2000, 'AL', 'H', '07', 'C', 'C', 'C00347872', '1003 10TH AVENUE NORTH', NULL, 'BESSEMER', 'AL', '35020'), ('H0AL04026', 'FOLSOM MARSHA GUTHRIE', 'DEM', 2000, 'AL', 'H', '04', 'C', 'C', 'C00349282', 'PO BOX 1187', NULL, 'CULLMAN', 'AL', '35056'), ('H0AL07078', 'MARTIN ED', 'REP', 2000, 'AL', 'H', '07', 'C', 'C', 'C00358317', '6602 COLONY PARK DRIVE', NULL, 'BIRMINGHAM', 'AL', '35243'), ('H2AL07041', 'HILLIARD EARL FREDERICK', 'DEM', 2000, 'AL', 'H', '07', 'I', 'C', 'C00262816', '1625 CASTLEBERRY WAY', NULL, 'BIRMINGHAM', 'AL', '35214');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.pas282`
(
  cmte_id STRING OPTIONS(description="Filer Identification Number"),
  amndt_ind STRING OPTIONS(description="Amendment Indicator"),
  rpt_tp STRING OPTIONS(description="Report Type"),
  transaction_pgi STRING OPTIONS(description="Primary-General Indicator"),
  image_num STRING OPTIONS(description="Image Number"),
  transaction_tp STRING OPTIONS(description="Transaction Type"),
  entity_tp STRING OPTIONS(description="Entity Type"),
  name STRING OPTIONS(description="Recipient/Payee"),
  city STRING OPTIONS(description="City/Town"),
  state STRING OPTIONS(description="State"),
  zip_code STRING OPTIONS(description="Zip Code"),
  employer STRING OPTIONS(description="Employer"),
  occupation STRING OPTIONS(description="Occupation"),
  transaction_dt DATE OPTIONS(description="Transaction Date(MMDDYYYY)"),
  transaction_amt FLOAT64 OPTIONS(description="Transaction Amount"),
  other_id STRING OPTIONS(description="Other Identification Number"),
  cand_id STRING OPTIONS(description="Candidate Identification Number"),
  tran_id STRING OPTIONS(description="Transaction ID"),
  file_num INT64 OPTIONS(description="File Number / Report ID"),
  memo_cd STRING OPTIONS(description="Memo Code"),
  memo_text STRING OPTIONS(description="Memo Text"),
  sub_id INT64 NOT NULL OPTIONS(description="FEC Record Number")
);

INSERT INTO `bigquery-public-data.fec.pas282` (cmte_id, amndt_ind, rpt_tp, transaction_pgi, image_num, transaction_tp, entity_tp, name, city, state, zip_code, employer, occupation, transaction_dt, transaction_amt, other_id, cand_id, tran_id, file_num, memo_cd, memo_text, sub_id) VALUES ('C70000872', 'N', 'M2', NULL, '81031913664', '24F', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1981-01-31', 22.0, 'S0IL00071', 'S0IL00071', '1189', NULL, NULL, NULL, 3062020110012950557), ('C70000872', 'N', 'M2', NULL, '81031913664', '24F', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1981-01-31', 22.0, 'S0IN00012', 'S0IN00012', '1190', NULL, NULL, NULL, 3062020110012950556), ('C70000872', 'N', 'M2', NULL, '81031913664', '24F', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1981-01-31', 22.0, 'H0IN03024', 'H0IN03024', '1191', NULL, NULL, NULL, 3062020110012950555), ('C70000872', 'N', 'M2', NULL, '81031913664', '24F', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1981-01-31', 22.0, 'H8IN08026', 'H8IN08026', '1192', NULL, NULL, NULL, 3062020110012961133), ('C70000872', 'N', 'M2', NULL, '81031913664', '24F', NULL, NULL, NULL, NULL, NULL, NULL, NULL, '1981-01-31', 22.0, 'H0MI03027', 'H0MI03027', '1193', NULL, NULL, NULL, 3062020110012950554);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.cn16`
(
  cand_id STRING NOT NULL OPTIONS(description="Candidate Identification"),
  cand_name STRING OPTIONS(description="Candidate Name"),
  cand_pty_affiliation STRING OPTIONS(description="Party Affiliation"),
  cand_election_yr INT64 OPTIONS(description="Year of Election"),
  cand_office_st STRING OPTIONS(description="Candidate State"),
  cand_office STRING OPTIONS(description="Candidate Office"),
  cand_office_district STRING OPTIONS(description="Candidate District"),
  cand_ici STRING OPTIONS(description="Incumbent Challenger Status"),
  cand_status STRING OPTIONS(description="Candidate Status"),
  cand_pcc STRING OPTIONS(description="Principal Campaign Committee"),
  cand_st1 STRING OPTIONS(description="Mailing Address - Street"),
  cand_st2 STRING OPTIONS(description="Mailing Address - Street 2"),
  cand_city STRING OPTIONS(description="Mailing Address - City"),
  cand_st STRING OPTIONS(description="Mailing Address - State"),
  cand_zip STRING OPTIONS(description="Mailing Address - Zip Code")
);

INSERT INTO `bigquery-public-data.fec.cn16` (cand_id, cand_name, cand_pty_affiliation, cand_election_yr, cand_office_st, cand_office, cand_office_district, cand_ici, cand_status, cand_pcc, cand_st1, cand_st2, cand_city, cand_st, cand_zip) VALUES ('H2CA02068', 'HENNEMANN, RAYMOND G', 'DEM', 2002, 'CA', 'H', '02', NULL, 'N', 'C00371666', '1670 MARKET ST SUITE 120', NULL, 'REDDING', 'CA', '96001'), ('H6CA34245', 'PEREZ, JOHN A', 'DEM', 2017, 'CA', 'H', '34', NULL, 'N', 'C00629618', '777 S FIGUEROA STREET SUITE 4050', NULL, 'LOS ANGELES', 'CA', '90017'), ('H8CA34118', 'CARRILLO DONO, WENDY MARIA', 'DEM', 2017, 'CA', 'H', '34', NULL, 'N', 'C00629675', '550 NORTH SAINT LOUIS STREET', NULL, 'LOS ANGELES', 'CA', '90033'), ('H8CA34134', 'CARMONA, ARTURO', 'DEM', 2017, 'CA', 'H', '34', NULL, 'N', 'C00629865', '2821 BOUDER ST', NULL, 'LOS ANGELES', 'CA', '90033'), ('H8CA34142', 'HERNANDEZ, SARA', 'DEM', 2017, 'CA', 'H', '34', NULL, 'N', 'C00629691', 'P.O. BOX 13464', NULL, 'LOS ANGELES', 'CA', '90013');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.pas216`
(
  cmte_id STRING OPTIONS(description="Filer Identification Number"),
  amndt_ind STRING OPTIONS(description="Amendment Indicator"),
  rpt_tp STRING OPTIONS(description="Report Type"),
  transaction_pgi STRING OPTIONS(description="Primary-General Indicator"),
  image_num INT64 OPTIONS(description="Image Number"),
  transaction_tp STRING OPTIONS(description="Transaction Type"),
  entity_tp STRING OPTIONS(description="Entity Type"),
  name STRING OPTIONS(description="Recipient/Payee"),
  city STRING OPTIONS(description="City/Town"),
  state STRING OPTIONS(description="State"),
  zip_code STRING OPTIONS(description="Zip Code"),
  employer STRING OPTIONS(description="Employer"),
  occupation STRING OPTIONS(description="Occupation"),
  transaction_dt DATE OPTIONS(description="Transaction Date(MMDDYYYY)"),
  transaction_amt INT64 OPTIONS(description="Transaction Amount"),
  other_id STRING OPTIONS(description="Other Identification Number"),
  cand_id STRING OPTIONS(description="Candidate Identification Number"),
  tran_id STRING OPTIONS(description="Transaction ID"),
  file_num INT64 OPTIONS(description="File Number / Report ID"),
  memo_cd STRING OPTIONS(description="Memo Code"),
  memo_text STRING OPTIONS(description="Memo Text"),
  sub_id INT64 NOT NULL OPTIONS(description="FEC Record Number")
);

INSERT INTO `bigquery-public-data.fec.pas216` (cmte_id, amndt_ind, rpt_tp, transaction_pgi, image_num, transaction_tp, entity_tp, name, city, state, zip_code, employer, occupation, transaction_dt, transaction_amt, other_id, cand_id, tran_id, file_num, memo_cd, memo_text, sub_id) VALUES ('C00617696', 'T', 'TER', 'P2016', 201610159032551391, '24A', 'ORG', 'FACEBOOK', 'MENLO PARK', 'CA', '94025', NULL, NULL, '2016-08-24', 500, 'H6FL09179', 'H6FL09179', 'SE.4172', 1107795, NULL, NULL, 4110320161345866743), ('C00594176', 'T', 'TER', 'P2016', 201607199020720043, '24A', 'ORG', 'FACEBOOK', 'MENLO PARK', 'CA', '94025', NULL, NULL, '2016-07-19', 8, 'P80001571', 'P80001571', 'SE.4789', 1088588, NULL, NULL, 4080420161308540969), ('C00594176', 'T', 'TER', 'P2016', 201607199020720043, '24A', 'ORG', 'FACEBOOK', 'MENLO PARK', 'CA', '94025', NULL, NULL, '2016-07-19', 142, 'P80001571', 'P80001571', 'SE.4790', 1088588, NULL, NULL, 4080420161308540971), ('C00594176', 'T', 'TER', 'P2016', 201607199020720044, '24A', 'ORG', 'FACEBOOK', 'MENLO PARK', 'CA', '94025', NULL, NULL, '2016-07-19', 713, 'P80001571', 'P80001571', 'SE.4791', 1088588, NULL, NULL, 4080420161308540973), ('C00617522', 'T', 'TER', 'G2016', 201610119032234625, '24A', 'ORG', 'FACEBOOK', 'MENLO PARK', 'CA', '94025', NULL, NULL, '2016-07-22', 25, 'P80001571', 'P80001571', 'SE.4482', 1103993, NULL, NULL, 4101220161340819582);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.cn82`
(
  cand_id STRING NOT NULL OPTIONS(description="Candidate Identification"),
  cand_name STRING OPTIONS(description="Candidate Name"),
  cand_pty_affiliation STRING OPTIONS(description="Party Affiliation"),
  cand_election_yr INT64 OPTIONS(description="Year of Election"),
  cand_office_st STRING OPTIONS(description="Candidate State"),
  cand_office STRING OPTIONS(description="Candidate Office"),
  cand_office_district STRING OPTIONS(description="Candidate District"),
  cand_ici STRING OPTIONS(description="Incumbent Challenger Status"),
  cand_status STRING OPTIONS(description="Candidate Status"),
  cand_pcc STRING OPTIONS(description="Principal Campaign Committee"),
  cand_st1 STRING OPTIONS(description="Mailing Address - Street"),
  cand_st2 STRING OPTIONS(description="Mailing Address - Street2"),
  cand_city STRING OPTIONS(description="Mailing Address - City"),
  cand_st STRING OPTIONS(description="Mailing Address - State"),
  cand_zip STRING OPTIONS(description="Mailing Address - Zip Code")
);

INSERT INTO `bigquery-public-data.fec.cn82` (cand_id, cand_name, cand_pty_affiliation, cand_election_yr, cand_office_st, cand_office, cand_office_district, cand_ici, cand_status, cand_pcc, cand_st1, cand_st2, cand_city, cand_st, cand_zip) VALUES ('H6DE00115', 'MANGINI JOSEPH', 'DEM', 1980, 'DE', 'H', '00', NULL, 'C', 'C00110627', '2 POPULAR AVE/ELSMERE', NULL, 'WILMINGTON', NULL, NULL), ('H0AK01012', 'PARNELL KEVIN "PAT"', 'DEM', 1980, 'AK', 'H', '01', NULL, 'C', 'C00115931', '3604 E 18TH AVE', NULL, 'ANCHORAGE', 'AK', '99504'), ('H2AK00028', 'MALLOTT RONALD CREIGHTON', 'DEM', 1982, 'AK', 'H', '00', NULL, 'C', 'C00160572', 'P O BOX 3130', NULL, 'ANCHORAGE', 'AK', '99510'), ('H2AK00010', 'CARLSON DAVE', 'DEM', 1982, 'AK', 'H', '00', NULL, 'N', NULL, '2105 JEFFERSON', NULL, 'ANCHORAGE', 'AK', '99503'), ('H8AK00025', 'RODEY PATRICK', 'DEM', 1978, 'AK', 'H', '00', NULL, 'P', 'C00270090', '3271 MONTCLAIRE', NULL, 'ANCHORAGE', 'AK', '99503');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.ccl16`
(
  cand_id STRING OPTIONS(description="Candidate Identification"),
  cand_election_yr INT64 OPTIONS(description="Candidate Election Year"),
  fec_election_yr INT64 OPTIONS(description="FEC Election Year"),
  cmte_id STRING OPTIONS(description="Committee Identification"),
  cmte_tp STRING OPTIONS(description="Committee Type"),
  cmte_design STRING OPTIONS(description="Committee Designation"),
  linkage_id INT64 OPTIONS(description="Linkage ID")
);

INSERT INTO `bigquery-public-data.fec.ccl16` (cand_id, cand_election_yr, fec_election_yr, cmte_id, cmte_tp, cmte_design, linkage_id) VALUES ('P60006111', 2016, 2016, 'C00615401', 'D', 'U', 211188), ('P60017563', 2016, 2016, 'C00615682', 'D', 'U', 211218), ('H8CA00127', 2016, 2016, 'C00622266', 'I', 'U', 212085), ('P60006251', 2016, 2016, 'C00574947', 'I', 'U', 209236), ('S6NY00409', 2016, 2016, 'C00599902', 'I', 'U', 210581);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.ccl00`
(
  cand_id STRING OPTIONS(description="Candidate Identification"),
  cand_election_yr INT64 OPTIONS(description="Candidate Election Year"),
  fec_election_yr INT64 OPTIONS(description="FEC Election Year"),
  cmte_id STRING OPTIONS(description="Committee Identification"),
  cmte_tp STRING OPTIONS(description="Committee Type"),
  cmte_design STRING OPTIONS(description="Committee Designation"),
  linkage_id INT64 OPTIONS(description="Linkage ID")
);

INSERT INTO `bigquery-public-data.fec.ccl00` (cand_id, cand_election_yr, fec_election_yr, cmte_id, cmte_tp, cmte_design, linkage_id) VALUES ('H8SC04029', 1986, 2000, 'C00116137', 'H', 'A', 58163), ('H6HI01113', 1990, 2000, 'C00201608', 'H', 'A', 35771), ('H8GA06112', 1992, 2000, 'C00216192', 'H', 'A', 52309), ('H0MO02031', 1992, 2000, 'C00128207', 'H', 'A', 4661), ('H0CA41011', 1992, 2000, 'C00146209', 'H', 'A', 1673);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.pas200`
(
  cmte_id STRING OPTIONS(description="Filer Identification Number"),
  amndt_ind STRING OPTIONS(description="Amendment Indicator"),
  rpt_tp STRING OPTIONS(description="Report Type"),
  transaction_pgi STRING OPTIONS(description="Primary-General Indicator"),
  image_num STRING OPTIONS(description="Image Number"),
  transaction_tp STRING OPTIONS(description="Transaction Type"),
  entity_tp STRING OPTIONS(description="Entity Type"),
  name STRING OPTIONS(description="Recipient/Payee"),
  city STRING OPTIONS(description="City/Town"),
  state STRING OPTIONS(description="State"),
  zip_code STRING OPTIONS(description="Zip Code"),
  employer STRING OPTIONS(description="Employer"),
  occupation STRING OPTIONS(description="Occupation"),
  transaction_dt DATE OPTIONS(description="Transaction Date(MMDDYYYY)"),
  transaction_amt FLOAT64 OPTIONS(description="Transaction Amount"),
  other_id STRING OPTIONS(description="Other Identification Number"),
  cand_id STRING OPTIONS(description="Candidate Identification Number"),
  tran_id STRING OPTIONS(description="Transaction ID"),
  file_num INT64 OPTIONS(description="File Number / Report ID"),
  memo_cd STRING OPTIONS(description="Memo Code"),
  memo_text STRING OPTIONS(description="Memo Text"),
  sub_id INT64 NOT NULL OPTIONS(description="FEC Record Number")
);

INSERT INTO `bigquery-public-data.fec.pas200` (cmte_id, amndt_ind, rpt_tp, transaction_pgi, image_num, transaction_tp, entity_tp, name, city, state, zip_code, employer, occupation, transaction_dt, transaction_amt, other_id, cand_id, tran_id, file_num, memo_cd, memo_text, sub_id) VALUES ('C00021121', 'A', '30G', NULL, '20990259462', '24A', NULL, 'First Capitol Business Forms Inc.', 'Kingston', 'NY', '12401', NULL, NULL, '2000-11-17', 935.0, 'H2NY02057', 'H2NY02057', NULL, NULL, NULL, NULL, 3062020110012820772), ('C00135368', 'N', 'YE', NULL, '22990557310', '24A', NULL, 'Haddow Communications', 'Takoma Park', 'MD', '20912', NULL, NULL, '2000-12-12', 594.0, 'H0OH12054', 'H0OH12054', NULL, NULL, NULL, NULL, 3062020110012796431), ('C00199802', 'A', '12G', NULL, '20990238093', '24A', NULL, 'EPIC/MRA', 'Lansing', 'MI', '48917', NULL, NULL, '2000-10-18', 600.0, 'S4MI00165', 'S4MI00165', NULL, NULL, NULL, NULL, 3062020110012871019), ('C00199802', 'A', 'Q3', NULL, '20990220270', '24A', NULL, 'EPIC/MRA', 'Lansing', 'MI', '48917', NULL, NULL, '2000-08-14', 1950.0, 'S4MI00165', 'S4MI00165', NULL, NULL, NULL, NULL, 3062020110012831800), ('C00199802', 'A', '12G', NULL, '20990238093', '24A', NULL, 'Lawson Printers Inc.', 'Battle Creek', 'MI', '49015', NULL, NULL, '2000-10-18', 12476.0, 'S4MI00165', 'S4MI00165', NULL, NULL, NULL, NULL, 3062020110012874411);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.fec.cn94`
(
  cand_id STRING NOT NULL OPTIONS(description="Candidate Identification"),
  cand_name STRING OPTIONS(description="Candidate Name"),
  cand_pty_affiliation STRING OPTIONS(description="Party Affiliation"),
  cand_election_yr INT64 OPTIONS(description="Year of Election"),
  cand_office_st STRING OPTIONS(description="Candidate State"),
  cand_office STRING OPTIONS(description="Candidate Office"),
  cand_office_district STRING OPTIONS(description="Candidate District"),
  cand_ici STRING OPTIONS(description="Incumbent Challenger Status"),
  cand_status STRING OPTIONS(description="Candidate Status"),
  cand_pcc STRING OPTIONS(description="Principal Campaign Committee"),
  cand_st1 STRING OPTIONS(description="Mailing Address - Street"),
  cand_st2 STRING OPTIONS(description="Mailing Address - Street2"),
  cand_city STRING OPTIONS(description="Mailing Address - City"),
  cand_st STRING OPTIONS(description="Mailing Address - State"),
  cand_zip STRING OPTIONS(description="Mailing Address - Zip Code")
);

INSERT INTO `bigquery-public-data.fec.cn94` (cand_id, cand_name, cand_pty_affiliation, cand_election_yr, cand_office_st, cand_office, cand_office_district, cand_ici, cand_status, cand_pcc, cand_st1, cand_st2, cand_city, cand_st, cand_zip) VALUES ('H4AK00040', 'SMITH TONY', 'DEM', 1994, 'AK', 'H', '00', NULL, 'C', 'C00283788', 'PO BOX 10-2755', NULL, 'ANCHORAGE', 'AK', '99510'), ('H4AK01022', 'WHITMORE JONI', 'UNK', 1994, 'AK', 'H', '00', NULL, 'C', 'C00289397', 'PO BOX 1119', NULL, 'HOMER', 'AK', '99603'), ('H4AK01014', 'FREIBERGER LAWRENCE JOSEPH', 'DEM', 1994, 'AK', 'H', '00', NULL, 'N', 'C00284547', '1123 W 30TH AVE #3', NULL, 'ANCHORAGE', 'AK', '99503'), ('H0AK00022', 'DIERLAM JESSE HOWELL', 'DEM', 1990, 'AK', 'H', '00', NULL, 'N', 'C00238519', 'P O BOX 20-1554 (1530 GAMBELL ST)', NULL, 'ANCHORAGE', 'AK', '99520'), ('H4AK00057', 'VONDERSAAR FRANK J', 'DEM', 1994, 'AK', 'H', '00', NULL, 'N', 'C00503896', '1748 SALTWATER DR', NULL, 'HOMER', 'AK', '99603');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_properties_29`
(
  molregno STRING,
  mw_freebase STRING,
  alogp STRING,
  hba STRING,
  hbd STRING,
  psa STRING,
  rtb STRING,
  ro3_pass STRING,
  num_ro5_violations STRING,
  cx_most_apka STRING,
  cx_most_bpka STRING,
  cx_logp STRING,
  cx_logd STRING,
  molecular_species STRING,
  full_mwt STRING,
  aromatic_rings STRING,
  heavy_atoms STRING,
  qed_weighted STRING,
  mw_monoisotopic STRING,
  full_molformula STRING,
  hba_lipinski STRING,
  hbd_lipinski STRING,
  num_lipinski_ro5_violations STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_properties_29` (molregno, mw_freebase, alogp, hba, hbd, psa, rtb, ro3_pass, num_ro5_violations, cx_most_apka, cx_most_bpka, cx_logp, cx_logd, molecular_species, full_mwt, aromatic_rings, heavy_atoms, qed_weighted, mw_monoisotopic, full_molformula, hba_lipinski, hbd_lipinski, num_lipinski_ro5_violations) VALUES ('12135', '709.8', '-1.82', '10', '8', '283.5', '21', 'N', '2', '3.47', '8.23', '-3.82', '-6.72', 'ACID', '709.8', '0', '50', '0.05', '709.3647', 'C32H51N7O11', '18', '9', '3'), ('15525', '900.01', '-5.33', '15', '16', '413.76', '14', 'N', '3', '8.68', '15.37', '-7.48', '-12.63', 'BASE', '900.01', '1', '64', '0.08', '899.4726', 'C39H61N15O10', '25', '20', '3'), ('22927', '767.82', '2.51', '8', '7', '235.48', '18', 'N', '2', '1.73', '1.73', '0.76', '-1.6', 'ACID', '767.82', '3', '54', '0.07', '767.3295', 'C38H50N5O10P', '15', '8', '3'), ('23599', '752.87', '1.04', '8', '8', '263.19', '21', 'N', '2', '3.55', NULL, '1.54', '-4.86', 'ACID', '752.87', '2', '54', '0.09', '752.3745', 'C38H52N6O10', '16', '9', '3'), ('23641', '720.82', '-0.54', '10', '8', '272.42', '21', 'N', '2', '3.5', '7.71', '-2.37', '-5.37', 'ACID', '720.82', '1', '51', '0.07', '720.3694', 'C34H52N6O11', '17', '9', '3');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_records_30`
(
  record_id INT64 NOT NULL OPTIONS(description="Unique ID for a compound/record"),
  molregno INT64 OPTIONS(description="Foreign key to compounds table (compound structure)"),
  doc_id INT64 NOT NULL OPTIONS(description="Foreign key to documents table"),
  compound_key STRING OPTIONS(description=" Key text identifying this compound in the scientific document"),
  compound_name STRING OPTIONS(description="Name of this compound recorded in the scientific document"),
  src_id INT64 NOT NULL OPTIONS(description="Foreign key to source table"),
  src_compound_id STRING OPTIONS(description=" Identifier for the compound in the source database (e.g., pubchem SID)"),
  cidx STRING NOT NULL OPTIONS(description="The Depositor Defined Compound Identifier.")
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_records_30` (record_id, molregno, doc_id, compound_key, compound_name, src_id, src_compound_id, cidx) VALUES (2530031, 155006, 94208, 'BDBM50130293', '7-{4-[4-(2,3-dichlorophenyl)piperazin-1-yl]butoxy}-3,4-dihydroquinolin-2(1H)-one::ARIPIPRAZOLE::CHEMBL1112::US9018213, aripprazole::US9156822, Aripiprazole', 37, 'BDBM50130293', 'BDBM50130293'), (2571453, 2027989, 94464, 'BDBM128330', 'US8796280, 20', 37, 'BDBM128330', 'BDBM128330'), (2571438, 2027974, 94464, 'BDBM128315', 'US8796280, 4', 37, 'BDBM128315', 'BDBM128315'), (2571475, 2028011, 94464, 'BDBM128352', 'US8796280, 42', 37, 'BDBM128352', 'BDBM128352'), (2571452, 2027988, 94464, 'BDBM128329', 'US8796280, 19', 37, 'BDBM128329', 'BDBM128329');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.action_type_27`
(
  action_type STRING,
  description STRING,
  parent_type STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.action_type_27` (action_type, description, parent_type) VALUES ('BINDING AGENT', 'Binds to a substance such as a cell surface antigen, targetting a drug to that location, but not necessarily affecting the functioning of the substance itself', 'OTHER'), ('CHELATING AGENT', 'Binds to a metal, reducing its availability for further interactions', 'OTHER'), ('CROSS-LINKING AGENT', 'Induces cross-linking of proteins or nucleic acids', 'OTHER'), ('DISRUPTING AGENT', 'Destabilises or disrupts a protein complex, macromolecular assembly, cell membrane etc', 'OTHER'), ('HYDROLYTIC ENZYME', 'Hydrolyses a substrate through enzymatic reaction', 'OTHER');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.data_validity_lookup_29`
(
  data_validity_comment STRING,
  description STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.data_validity_lookup_29` (data_validity_comment, description) VALUES ('Author confirmed error', 'Error in publication - Author confirmed (personal communication)'), ('Manually validated', 'Data have been checked against the publication and are believed to be accurate'), ('Non standard unit for type', 'Units for this activity type are unusual and may be incorrect (or the standard_type may be incorrect)'), ('Outside typical range', 'Values for this activity type are unusually large/small, so may not be accurate'), ('Potential author error', 'Data have been checked against the publication and are as reported - possibly an error was made by the author');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.patent_use_codes_24`
(
  patent_use_code STRING,
  definition STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.patent_use_codes_24` (patent_use_code, definition) VALUES ('U-158', 'ANGINA'), ('U-228', 'ASTHMA'), ('U-105', 'EMESIS'), ('U-111', 'DIABETES'), ('U-48', 'ANALGESIA');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_synonyms_24`
(
  molregno STRING,
  syn_type STRING,
  molsyn_id STRING,
  res_stem_id STRING,
  synonyms STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_synonyms_24` (molregno, syn_type, molsyn_id, res_stem_id, synonyms) VALUES ('675371', 'ATC', '1829587', NULL, 'L04AB01'), ('675778', 'ATC', '1830586', NULL, 'L01XC08'), ('3012', 'ATC', '1855418', NULL, 'Melatonin'), ('9951', 'ATC', '1855423', NULL, 'Nicotinyl methylamide'), ('13616', 'ATC', '1855431', NULL, 'Propanol');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_frac_classification_23`
(
  mol_frac_id STRING,
  frac_class_id STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_frac_classification_23` (mol_frac_id, frac_class_id, molregno) VALUES ('129', '470', '1493237'), ('57', '471', '499374'), ('60', '472', '515306'), ('28', '473', '430452'), ('77', '474', '990518');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.biotherapeutics_29`
(
  molregno STRING,
  description STRING,
  helm_notation STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.biotherapeutics_29` (molregno, description, helm_notation) VALUES ('3389', 'ENKEPHALIN', 'PEPTIDE1{Y.G.G.F.L}$$$$'), ('10633', '[Val5] - ANGIOTENSIN II', 'PEPTIDE1{D.R.V.Y.V.H.P.F}$$$$'), ('12246', 'MAGAININ 2', 'PEPTIDE1{G.I.G.K.F.L.H.S.A.K.K.F.G.K.A.F.V.G.E.I.M.N.S}$$$$'), ('15695', 'DYNORPHIN', 'PEPTIDE1{Y.G.G.F.L.R.R.[lalloI]}$$$$'), ('16264', 'NEUROPEPTIDE-Y', 'PEPTIDE1{Y.P.S.K.P.D.N.P.G.E.D.A.P.A.E.D.L.A.R.Y.Y.S.A.L.R.H.Y.I.N.L.I.T.R.Q.R.Y.[am]}$$$$');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.activities_23`
(
  activity_id STRING,
  assay_id STRING,
  doc_id STRING,
  record_id STRING,
  molregno STRING,
  standard_relation STRING,
  published_value STRING,
  published_units STRING,
  standard_value STRING,
  standard_units STRING,
  standard_flag STRING,
  standard_type STRING,
  activity_comment STRING,
  published_type STRING,
  data_validity_comment STRING,
  potential_duplicate STRING,
  published_relation STRING,
  pchembl_value STRING,
  bao_endpoint STRING,
  uo_units STRING,
  qudt_units STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.activities_23` (activity_id, assay_id, doc_id, record_id, molregno, standard_relation, published_value, published_units, standard_value, standard_units, standard_flag, standard_type, activity_comment, published_type, data_validity_comment, potential_duplicate, published_relation, pchembl_value, bao_endpoint, uo_units, qudt_units) VALUES ('33164', '18264', '8329', '347488', '290461', '=', '17.62', 'g dl-1', '176200', 'ug.mL-1', '1', 'Solubility', NULL, 'Solubility', 'Outside typical range', '0', '=', NULL, 'BAO_0002135', 'UO_0000274', 'http://www.openphacts.org/units/MicrogramPerMilliliter'), ('34169', '1691', '14499', '163730', '102087', '=', '88', '%', '88', '%', '0', 'Efficacy', NULL, 'Efficacy', NULL, '1', '=', NULL, 'BAO_0000656', 'UO_0000187', 'http://qudt.org/vocab/unit#Percent'), ('37773', '145379', '11635', '285955', '243457', '=', '8.1', NULL, '8.1', NULL, '0', 'pKa', NULL, 'pKa', NULL, '0', '=', NULL, 'BAO_0002131', NULL, NULL), ('47524', '22428', '14281', '292297', '11595', '=', '10.09', NULL, '10.09', NULL, '0', 'pKa', NULL, 'pKa', NULL, '0', '=', NULL, 'BAO_0002131', NULL, NULL), ('64894', '11798', '13509', '205385', '179429', '=', '3', 'uM', '3', 'uM', '0', 'Concentration', NULL, 'Concentration', NULL, '0', '=', NULL, 'BAO_0002752', 'UO_0000064', 'http://www.openphacts.org/units/Micromolar');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.go_classification_33`
(
  go_id STRING,
  parent_go_id STRING,
  pref_name STRING,
  class_level STRING,
  aspect STRING,
  path STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.go_classification_33` (go_id, parent_go_id, pref_name, class_level, aspect, path) VALUES ('GO:0003674', NULL, 'molecular_function', '0', 'F', 'molecular_function'), ('GO:0005575', NULL, 'cellular_component', '0', 'C', 'cellular_component'), ('GO:0008150', NULL, 'biological_process', '0', 'P', 'biological_process'), ('GO:0000166', 'GO:0003674', 'nucleotide binding', '1', 'F', 'molecular_function  nucleotide binding'), ('GO:0000988', 'GO:0003674', 'protein binding transcription factor activity', '1', 'F', 'molecular_function  protein binding transcription factor activity');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.molecule_atc_classification_23`
(
  mol_atc_id STRING,
  level5 STRING,
  molregno STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.molecule_atc_classification_23` (mol_atc_id, level5, molregno) VALUES ('25513', 'C02CA01', '97'), ('25589', 'N07BA01', '115'), ('26313', 'S01AE01', '146'), ('24886', 'J01MA01', '146'), ('27386', 'S02AA16', '146');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.organism_class_28`
(
  oc_id STRING,
  tax_id STRING,
  l1 STRING,
  l2 STRING,
  l3 STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.organism_class_28` (oc_id, tax_id, l1, l2, l3) VALUES ('281', '2210', 'Archaea', NULL, NULL), ('282', '2261', 'Archaea', NULL, NULL), ('283', '2287', 'Archaea', NULL, NULL), ('284', '187420', 'Archaea', NULL, NULL), ('1218', '32644', 'Unclassified', NULL, NULL);
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.go_classification_25`
(
  go_id STRING,
  parent_go_id STRING,
  pref_name STRING,
  class_level STRING,
  aspect STRING,
  path STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.go_classification_25` (go_id, parent_go_id, pref_name, class_level, aspect, path) VALUES ('GO:0003674', NULL, 'molecular_function', '0', 'F', 'molecular_function'), ('GO:0005575', NULL, 'cellular_component', '0', 'C', 'cellular_component'), ('GO:0008150', NULL, 'biological_process', '0', 'P', 'biological_process'), ('GO:0000166', 'GO:0003674', 'nucleotide binding', '1', 'F', 'molecular_function  nucleotide binding'), ('GO:0000988', 'GO:0003674', 'protein binding transcription factor activity', '1', 'F', 'molecular_function  protein binding transcription factor activity');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.compound_records_26`
(
  record_id STRING,
  molregno STRING,
  doc_id STRING,
  compound_key STRING,
  compound_name STRING,
  src_id STRING,
  src_compound_id STRING,
  cidx STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.compound_records_26` (record_id, molregno, doc_id, compound_key, compound_name, src_id, src_compound_id, cidx) VALUES ('864042', '583699', '49165', 'GNF-Pf-477', 'GNF-Pf-477', '3', NULL, 'CLD0'), ('864095', '583751', '49165', 'GNF-Pf-530', 'GNF-Pf-530', '3', NULL, 'CLD0'), ('864108', '583763', '49165', 'GNF-Pf-543', 'GNF-Pf-543', '3', NULL, 'CLD0'), ('864114', '583769', '49165', 'GNF-Pf-549', 'GNF-Pf-549', '3', NULL, 'CLD0'), ('864120', '583775', '49165', 'GNF-Pf-555', 'GNF-Pf-555', '3', NULL, 'CLD0');
-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.ebi_chembl.protein_classification_23`
(
  protein_class_id STRING,
  parent_id STRING,
  pref_name STRING,
  short_name STRING,
  protein_class_desc STRING,
  definition STRING,
  class_level STRING
);

INSERT INTO `bigquery-public-data.ebi_chembl.protein_classification_23` (protein_class_id, parent_id, pref_name, short_name, protein_class_desc, definition, class_level) VALUES ('0', NULL, 'Protein class', 'Protein class', 'protein class', 'Root of the ChEMBL protein family classification', '0'), ('2', '0', 'Adhesion', 'Adhesion', 'adhesion', 'Surface ligands, usually glycoproteins, that mediate cell-to-cell adhesion. Their functions include the assembly and interconnection of various vertebrate systems, as well as maintenance of tissue integration, wound healing, morphogenic movements, cellular migrations, and metastasis. [MESH:D015815]', '1'), ('836', '0', 'Epigenetic regulator', 'Epigenetic', 'epigenetic regulator', 'A class of proteins that alter gene expression through methylation of DNA or post-translational modification (e.g., methylation/acetylation) of histones', '1'), ('11', '0', 'Membrane receptor', 'Membrane receptor', 'membrane receptor', 'Cell surface proteins that bind signalling molecules external to the cell with high affinity and convert this extracellular event into one or more intracellular signals that alter the behavior of the target cell (From Alberts, Molecular Biology of the Cell, 2nd ed, pp693-5). Cell surface receptors, unlike enzymes, do not chemically alter their ligands. [MESH:D011956]', '1'), ('9', '0', 'Surface antigen', 'Surface antigen', 'surface antigen', 'Antigens on surfaces of cells, including infectious or foreign cells or viruses. They are usually protein-containing groups on cell membranes or walls and may be isolated. [MESH:D000954]', '1');