-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.new_york_mv_collisions.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 DATETIME 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_mv_collisions.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 (NULL, 'Driver Inattention/Distraction', 'Unspecified', NULL, NULL, NULL, NULL, '2018-10-13 01:00:00', nan, nan, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 'MANHATTAN BR LOWER              ', 4000042, 'Sedan', 'Sedan', NULL, NULL, NULL, NULL), (NULL, 'Driver Inattention/Distraction', 'Unspecified', NULL, NULL, NULL, NULL, '2018-08-14 16:10:00', nan, nan, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 'BRONX RIVER PARKWAY RAMP        ', 3962000, 'Sedan', 'Sedan', NULL, NULL, NULL, NULL), (NULL, 'Turning Improperly', NULL, NULL, NULL, NULL, 'FEATHERBED LANE', '2018-07-13 11:48:00', nan, nan, NULL, 0, 0, 0, 0, 1, 0, 1, 0, NULL, 'MACOMBS ROAD                    ', 3940514, 'Station Wagon/Sport Utility Vehicle', NULL, NULL, NULL, NULL, NULL), (NULL, 'Failure to Yield Right-of-Way', 'Unspecified', NULL, NULL, NULL, 'liberty avenue', '2018-07-05 01:00:00', nan, nan, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 'south conduit blvd              ', 3935871, 'Sedan', 'Sedan', NULL, NULL, NULL, NULL), (NULL, 'Unspecified', 'Unspecified', NULL, NULL, NULL, 'SOUTHERN STATE PARKWAY', '2018-05-29 08:30:00', nan, nan, NULL, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 'CROSS ISLAND PARKWAY            ', 3909997, 'Sedan', 'Station Wagon/Sport Utility Vehicle', NULL, NULL, NULL, NULL);