-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.new_york.nypd_mv_collisions`
(
  borough STRING OPTIONS(description=""),
  contributing_factor_vehicle_1 STRING OPTIONS(description=""),
  contributing_factor_vehicle_2 STRING OPTIONS(description=""),
  contributing_factor_vehicle_3 STRING OPTIONS(description=""),
  contributing_factor_vehicle_4 STRING OPTIONS(description=""),
  contributing_factor_vehicle_5 STRING OPTIONS(description=""),
  cross_street_name STRING OPTIONS(description=""),
  timestamp TIMESTAMP OPTIONS(description=""),
  latitude FLOAT64 OPTIONS(description=""),
  longitude FLOAT64 OPTIONS(description=""),
  location STRING OPTIONS(description=""),
  number_of_cyclist_injured INT64 OPTIONS(description=""),
  number_of_cyclist_killed INT64 OPTIONS(description=""),
  number_of_motorist_injured INT64 OPTIONS(description=""),
  number_of_motorist_killed INT64 OPTIONS(description=""),
  number_of_pedestrians_injured INT64 OPTIONS(description=""),
  number_of_pedestrians_killed INT64 OPTIONS(description=""),
  number_of_persons_injured INT64 OPTIONS(description=""),
  number_of_persons_killed INT64 OPTIONS(description=""),
  off_street_name STRING OPTIONS(description=""),
  on_street_name STRING OPTIONS(description=""),
  unique_key INT64 NOT NULL OPTIONS(description=""),
  vehicle_type_code1 STRING OPTIONS(description=""),
  vehicle_type_code2 STRING OPTIONS(description=""),
  vehicle_type_code_3 STRING OPTIONS(description=""),
  vehicle_type_code_4 STRING OPTIONS(description=""),
  vehicle_type_code_5 STRING OPTIONS(description=""),
  zip_code INT64 OPTIONS(description="")
);

INSERT INTO `bigquery-public-data.new_york.nypd_mv_collisions` (borough, contributing_factor_vehicle_1, contributing_factor_vehicle_2, contributing_factor_vehicle_3, contributing_factor_vehicle_4, contributing_factor_vehicle_5, cross_street_name, timestamp, latitude, longitude, location, number_of_cyclist_injured, number_of_cyclist_killed, number_of_motorist_injured, number_of_motorist_killed, number_of_pedestrians_injured, number_of_pedestrians_killed, number_of_persons_injured, number_of_persons_killed, off_street_name, on_street_name, unique_key, vehicle_type_code1, vehicle_type_code2, vehicle_type_code_3, vehicle_type_code_4, vehicle_type_code_5, zip_code) VALUES ('', 'Unspecified', '', '', '', '', 'COURT STREET', '2017-11-01 15:55:00+00:00', 40.68916, -73.99263, '(40.68916, -73.99263)', 0, 0, 0, 0, 0, 0, 0, 0, '', 'PACIFIC STREET', 3796076, 'DS', 'BU', '', '', '', NULL), ('', 'Unspecified', '', '', '', '', 'HOLLIS AVENUE', '2017-11-01 13:30:00+00:00', 40.71051, -73.77117, '(40.71051, -73.77117)', 0, 0, 0, 0, 0, 0, 0, 0, '', 'JAMAICA AVENUE', 3782006, 'BU', 'DP', '', '', '', NULL), ('', 'Driver Inattention/Distraction', 'Unspecified', '', '', '', 'VANWYCK EXPRESSWAY', '2018-01-20 09:01:00+00:00', 40.699512, -73.81461, '(40.699512, -73.81461)', 0, 0, 0, 0, 0, 0, 0, 0, '', '91 AVENUE', 3832313, 'SPORT UTILITY / STATION WAGON', 'CM', '', '', '', NULL), ('', 'Reaction to Other Uninvolved Vehicle', 'Unspecified', '', '', '', 'WESTCHESTER AVENUE', '2017-12-06 13:48:00+00:00', 40.842564, -73.83842, '(40.842564, -73.83842)', 0, 0, 0, 0, 0, 0, 0, 0, '', 'WATERS PLACE', 3805363, 'TAXI', 'TK', '', '', '', NULL), ('', 'Unspecified', 'Unspecified', '', '', '', 'BLONDELL AVENUE', '2017-11-02 16:27:00+00:00', 40.841064, -73.84126, '(40.841064, -73.84126)', 0, 0, 0, 0, 0, 0, 0, 0, '', 'WESTCHESTER AVENUE', 3783463, 'PICK-UP TRUCK', 'MOTORCYCLE', '', '', '', NULL);