-- DBMS: bigquery
CREATE TABLE `bigquery-public-data.chicago_taxi_trips.taxi_trips`
(
  unique_key STRING NOT NULL OPTIONS(description="Unique identifier for the trip."),
  taxi_id STRING NOT NULL OPTIONS(description="A unique identifier for the taxi."),
  trip_start_timestamp TIMESTAMP OPTIONS(description="When the trip started, rounded to the nearest 15 minutes."),
  trip_end_timestamp TIMESTAMP OPTIONS(description="When the trip ended, rounded to the nearest 15 minutes."),
  trip_seconds INT64 OPTIONS(description="Time of the trip in seconds."),
  trip_miles FLOAT64 OPTIONS(description="Distance of the trip in miles."),
  pickup_census_tract INT64 OPTIONS(description="The Census Tract where the trip began. For privacy, this Census Tract is not shown for some trips."),
  dropoff_census_tract INT64 OPTIONS(description="The Census Tract where the trip ended. For privacy, this Census Tract is not shown for some trips."),
  pickup_community_area INT64 OPTIONS(description="The Community Area where the trip began."),
  dropoff_community_area INT64 OPTIONS(description="The Community Area where the trip ended."),
  fare FLOAT64 OPTIONS(description="The fare for the trip."),
  tips FLOAT64 OPTIONS(description="The tip for the trip. Cash tips generally will not be recorded."),
  tolls FLOAT64 OPTIONS(description="The tolls for the trip."),
  extras FLOAT64 OPTIONS(description="Extra charges for the trip."),
  trip_total FLOAT64 OPTIONS(description="Total cost of the trip, the total of the fare, tips, tolls, and extras."),
  payment_type STRING OPTIONS(description="Type of payment for the trip."),
  company STRING OPTIONS(description="The taxi company."),
  pickup_latitude FLOAT64 OPTIONS(description="The latitude of the center of the pickup census tract or the community area if the census tract has been hidden for privacy."),
  pickup_longitude FLOAT64 OPTIONS(description="The longitude of the center of the pickup census tract or the community area if the census tract has been hidden for privacy."),
  pickup_location STRING OPTIONS(description="The location of the center of the pickup census tract or the community area if the census tract has been hidden for privacy."),
  dropoff_latitude FLOAT64 OPTIONS(description="The latitude of the center of the dropoff census tract or the community area if the census tract has been hidden for privacy."),
  dropoff_longitude FLOAT64 OPTIONS(description="The longitude of the center of the dropoff census tract or the community area if the census tract has been hidden for privacy."),
  dropoff_location STRING OPTIONS(description="The location of the center of the dropoff census tract or the community area if the census tract has been hidden for privacy.")
);

INSERT INTO `bigquery-public-data.chicago_taxi_trips.taxi_trips` (unique_key, taxi_id, trip_start_timestamp, trip_end_timestamp, trip_seconds, trip_miles, pickup_census_tract, dropoff_census_tract, pickup_community_area, dropoff_community_area, fare, tips, tolls, extras, trip_total, payment_type, company, pickup_latitude, pickup_longitude, pickup_location, dropoff_latitude, dropoff_longitude, dropoff_location) VALUES ('6254a5aa4bf9be6cf9f205e95e64a09d9f72e115', '924a38617a298fffaf07952020dc1188f8fde7549c2ee5894d64150e3e252d69e0117f357912cdbd601586c8115403e823a8c3900926a939ba670eaf0eb81ed0', '2018-07-06 15:30:00+00:00', '2018-07-06 15:30:00+00:00', 420, 1.0, NULL, NULL, NULL, NULL, 6.5, 3.0, 0.0, 0.0, 10.0, 'Credit Card', 'Service Taxi Association', nan, nan, NULL, nan, nan, NULL), ('e7d0637a1c17bf7a2b6bba58d42aaaf26c498b2d', '924a38617a298fffaf07952020dc1188f8fde7549c2ee5894d64150e3e252d69e0117f357912cdbd601586c8115403e823a8c3900926a939ba670eaf0eb81ed0', '2018-07-06 15:45:00+00:00', '2018-07-06 16:00:00+00:00', 900, 2.3, NULL, NULL, NULL, NULL, 10.75, 2.0, 0.0, 1.0, 14.25, 'Credit Card', 'Service Taxi Association', nan, nan, NULL, nan, nan, NULL), ('f20d80f5eb811d5d62553e970d390c1e569da36c', '924a38617a298fffaf07952020dc1188f8fde7549c2ee5894d64150e3e252d69e0117f357912cdbd601586c8115403e823a8c3900926a939ba670eaf0eb81ed0', '2018-07-06 16:00:00+00:00', '2018-07-06 16:15:00+00:00', 300, 0.9, NULL, NULL, NULL, NULL, 5.75, 0.0, 0.0, 1.0, 6.75, 'Cash', 'Service Taxi Association', nan, nan, NULL, nan, nan, NULL), ('032ba396ddcd77b6da6d6168ff2885d51e0cb4eb', '924a38617a298fffaf07952020dc1188f8fde7549c2ee5894d64150e3e252d69e0117f357912cdbd601586c8115403e823a8c3900926a939ba670eaf0eb81ed0', '2018-07-06 16:15:00+00:00', '2018-07-06 16:30:00+00:00', 420, 0.6, NULL, NULL, NULL, NULL, 5.75, 0.0, 0.0, 0.0, 5.75, 'Cash', 'Service Taxi Association', nan, nan, NULL, nan, nan, NULL), ('f6d1a8ee8fb409823b1e75ac6a40f67ddd063312', 'e792da99c7f81af297fe9b6cacad377b4634a5ab8de2f597ebae1ce41a97d2ef61a1b5a13341fec48cbf4b959f28d60b8bc34f3d7b5da5b20f6b024788c5e9b6', '2016-03-29 08:30:00+00:00', '2016-03-29 08:30:00+00:00', 472, 1.8, NULL, NULL, NULL, NULL, 0.01, 0.0, nan, 0.0, 0.01, 'Cash', '303 Taxi', nan, nan, NULL, nan, nan, NULL);