Dataset Viewer
context
stringlengths 27
489
| answer
stringlengths 18
557
| question
stringlengths 12
244
|
---|---|---|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT COUNT(DISTINCT track_id) AS number_of_toyota_vehicles FROM REALM WHERE vehicle_brand = 'toyota';
|
how many vehicles are of the brand toyota with unique track ids in the database
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT COUNT(DISTINCT track_id) AS number_of_honda_vehicles FROM REALM WHERE vehicle_brand = 'honda';
|
how many honda vehicles are recorded with unique track ids from the database
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT COUNT(DISTINCT track_id) AS number_of_bmw_vehicles FROM REALM WHERE vehicle_brand = 'bmw';
|
what is the total number of distinct bmw vehicles listed in the database
|
CREATE TABLE traffic_data_1 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM traffic_data_1 WHERE license_plate = 'ABC123' AND location = 'Main Street' AND time = '10:00:00'
|
What is the speed of the vehicle with license plate 'ABC123' at location 'Main Street' at 10:00 AM?
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT COUNT(DISTINCT track_id) AS number_of_skoda_vehicles FROM REALM WHERE vehicle_brand = 'skoda';
|
how many vehicles has brand as skoda with unique track ids in the database
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT * FROM REALM WHERE license_plate = 'GH74JKT' ORDER BY license_text_score DESC LIMIT 1;
|
find the details of the vehicle that has the license plate 'GH74JKT' with the highest license text score
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT * FROM REALM WHERE license_plate = 'BJ64ZTY' ORDER BY bbox_score DESC LIMIT 1;
|
retrieve the vehicle information for the license plate 'BJ64ZTY' with the highest bbox score from the database
|
CREATE TABLE traffic_data_2 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM traffic_data_2 WHERE license_plate = 'XYZ456' AND location = 'Park Avenue' AND time = '14:00:00'
|
What is the speed of the vehicle with license plate 'XYZ456' at location 'Park Avenue' at 2:00 PM?
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT * FROM REALM WHERE license_plate = 'KN32RST' ORDER BY license_bbox_score DESC LIMIT 1;
|
What are the full details of the vehicle with the license plate 'KN32RST' that has the highest license plate bbox score?
|
CREATE TABLE traffic_data_3 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM traffic_data_3 WHERE license_plate = 'DEF789' AND location = 'Broadway' AND time = '11:00:00'
|
What is the speed of the vehicle with license plate 'DEF789' at location 'Broadway' at 11:00 AM?
|
CREATE TABLE traffic_data_4 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM traffic_data_4 WHERE license_plate = 'GHI012' AND location = 'Fifth Avenue' AND time = '13:00:00'
|
What is the speed of the vehicle with license plate 'GHI012' at location 'Fifth Avenue' at 1:00 PM?
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT COUNT(DISTINCT track_id) AS number_of_Truck_vehicles FROM REALM WHERE vehicle_type = 'Truck';
|
how many vehicles has vehicle type as Truck with unique track ids in the database
|
CREATE TABLE traffic_data_5 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM traffic_data_5 WHERE license_plate = 'JKL345' AND location = 'Elm Street' AND time = '12:00:00'
|
What is the speed of the vehicle with license plate 'JKL345' at location 'Elm Street' at 12:00 PM?
|
CREATE TABLE traffic_data_6 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM traffic_data_6 WHERE license_plate = 'MNO678' AND location = 'Park Avenue' AND time = '15:00:00'
|
What is the speed of the vehicle with license plate 'MNO678' at location 'Park Avenue' at 3:00 PM?
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT COUNT(DISTINCT track_id) AS number_of_nissan_vehicles FROM REALM WHERE vehicle_brand = 'nissan';
|
how many vehicles has brand as nissan with unique track ids in the database
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT COUNT(DISTINCT track_id) AS number_of_volvo_vehicles FROM REALM WHERE vehicle_brand = 'volvo';
|
how many vehicles has brand as volvo with unique track ids in the database
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT COUNT(DISTINCT track_id) AS number_of_Sedan_vehicles FROM REALM WHERE vehicle_type = 'Sedan';
|
how many vehicles has vehicle type as Sedan with unique track ids in the database
|
CREATE TABLE traffic_data_7 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM traffic_data_7 WHERE license_plate = 'PQR901' AND location = 'Broadway' AND time = '10:00:00'
|
What is the speed of the vehicle with license plate 'PQR901' at location 'Broadway' at 10:00 AM?
|
CREATE TABLE traffic_data_8 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM traffic_data_8 WHERE license_plate = 'STU234' AND location = 'Fifth Avenue' AND time = '11:00:00'
|
What is the speed of the vehicle with license plate 'STU234' at location 'Fifth Avenue' at 11:00 AM?
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT COUNT(DISTINCT track_id) AS number_of_SUv_vehicles FROM REALM WHERE vehicle_type = 'SUV';
|
how many vehicles has vehicle type as SUV with unique track ids in the database
|
CREATE TABLE traffic_data_9 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM traffic_data_9 WHERE license_plate = 'VWX567' AND location = 'Elm Street' AND time = '14:00:00'
|
What is the speed of the vehicle with license plate 'VWX567' at location 'Elm Street' at 2:00 PM?
|
CREATE TABLE traffic_data_10 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM traffic_data_10 WHERE license_plate = 'YZA890' AND location = 'Main Street' AND time = '13:00:00'
|
What is the speed of the vehicle with license plate 'YZA890' at location 'Main Street' at 1:00 PM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT speed FROM table_name_71 WHERE license_plate = 'KA03AB1234' AND location = 'Main Street' AND time = '10:00:00'
|
What is the speed of the vehicle with license plate 'KA03AB1234' at location 'Main Street' at 10:00 AM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'KA03AB1234'
|
What is the average speed of vehicles with license plate 'KA03AB1234'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'DL9CAC4567'
|
How many times was license plate 'DL9CAC4567' captured?
|
CREATE TABLE IF NOT EXISTS REALM ( frame_number INT, track_id INT, vehicle_type VARCHAR, vehicle_brand VARCHAR, license_plate VARCHAR, bbox_score REAL, license_bbox_score REAL, bbox VARCHAR, license_text_score REAL );
|
SELECT COUNT(DISTINCT track_id) AS number_of_Hatchback_vehicles FROM REALM WHERE vehicle_type = 'Hatchback';
|
how many vehicles has vehicle type as Hatchback with unique track ids in the database
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'MH02DE8901'
|
What is the average speed of vehicles with license plate 'MH02DE8901'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'TN19FG2345'
|
How many times was license plate 'TN19FG2345' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'GJ06HI6789'
|
What is the average speed of vehicles with license plate 'GJ06HI6789'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'AP29IJ8901'
|
How many times was license plate 'AP29IJ8901' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'UP16KL4567'
|
What is the average speed of vehicles with license plate 'UP16KL4567'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'TS07MN2345'
|
How many times was license plate 'TS07MN2345' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'RJ14OP6789'
|
What is the average speed of vehicles with license plate 'RJ14OP6789'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'PB18QR8901'
|
How many times was license plate 'PB18QR8901' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'MP15ST2345'
|
What is the average speed of vehicles with license plate 'MP15ST2345'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'KA20UV4567'
|
How many times was license plate 'KA20UV4567' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'DL21WX6789'
|
What is the average speed of vehicles with license plate 'DL21WX6789'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'MH22YZ8901'
|
How many times was license plate 'MH22YZ8901' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'GJ23ZA2345'
|
What is the average speed of vehicles with license plate 'GJ23ZA2345'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'KA03AB1234'
|
What is the average speed of vehicles with license plate 'KA03AB1234'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'DL9CAC4567'
|
How many times was license plate 'DL9CAC4567' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'MH02DE8901'
|
What is the average speed of vehicles with license plate 'MH02DE8901'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'TN19FG2345'
|
How many times was license plate 'TN19FG2345' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'GJ06HI6789'
|
What is the average speed of vehicles with license plate 'GJ06HI6789'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'AP29IJ8901'
|
How many times was license plate 'AP29IJ8901' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'UP16KL4567'
|
What is the average speed of vehicles with license plate 'UP16KL4567'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'TS07MN2345'
|
How many times was license plate 'TS07MN2345' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'RJ14OP6789'
|
What is the average speed of vehicles with license plate 'RJ14OP6789'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'PB18QR8901'
|
How many times was license plate 'PB18QR8901' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'MP15ST2345'
|
What is the average speed of vehicles with license plate 'MP15ST2345'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'KA20UV4567'
|
How many times was license plate 'KA20UV4567' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'DL21WX6789'
|
What is the average speed of vehicles with license plate 'DL21WX6789'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'MH22YZ8901'
|
How many times was license plate 'MH22YZ8901' captured?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'GJ23ZA2345'
|
What is the average speed of vehicles with license plate 'GJ23ZA2345'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE location = 'Main Street' AND time BETWEEN '9:00:00' AND '12:00:00'
|
What is the average speed of vehicles captured at location 'Main Street' between 9:00 AM and 12:00 PM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE location = 'Park Avenue' AND time = '15:00:00'
|
What is the total count of vehicles captured at location 'Park Avenue' at 3:00 PM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT vehicle FROM table_name_71 WHERE location = 'Broadway' AND time = '10:00:00'
|
Which vehicles were captured at location 'Broadway' at 10:00 AM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE camera_id = 101 AND location = 'Fifth Avenue'
|
What is the average speed of vehicles captured by camera ID 101 at location 'Fifth Avenue'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE camera_id = 102 AND location = 'Main Street'
|
What is the total count of vehicles captured by camera ID 102 at location 'Main Street'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE location = 'Elm Street' AND time BETWEEN '08:00:00' AND '10:00:00'
|
What is the average speed of vehicles captured at location 'Elm Street' between 8:00 AM and 10:00 AM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE location = 'Pine Avenue' AND time = '13:00:00'
|
What is the total count of vehicles captured at location 'Pine Avenue' at 1:00 PM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT vehicle FROM table_name_71 WHERE location = 'Maple Street' AND time = '11:00:00'
|
Which vehicles were captured at location 'Maple Street' at 11:00 AM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE camera_id = 103 AND location = 'Oak Avenue'
|
What is the average speed of vehicles captured by camera ID 103 at location 'Oak Avenue'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE camera_id = 104 AND location = 'Cedar Street'
|
What is the total count of vehicles captured by camera ID 104 at location 'Cedar Street'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE location = 'Sycamore Avenue' AND time BETWEEN '10:00:00' AND '12:00:00'
|
What is the average speed of vehicles captured at location 'Sycamore Avenue' between 10:00 AM and 12:00 PM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE location = 'Willow Street' AND time = '14:00:00'
|
What is the total count of vehicles captured at location 'Willow Street' at 2:00 PM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT vehicle FROM table_name_71 WHERE location = 'Birch Avenue' AND time = '12:00:00'
|
Which vehicles were captured at location 'Birch Avenue' at 12:00 PM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE camera_id = 105 AND location = 'Spruce Street'
|
What is the average speed of vehicles captured by camera ID 105 at location 'Spruce Street'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE camera_id = 106 AND location = 'Palm Avenue'
|
What is the total count of vehicles captured by camera ID 106 at location 'Palm Avenue'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE location = 'Cypress Street' AND time BETWEEN '11:00:00' AND '13:00:00'
|
What is the average speed of vehicles captured at location 'Cypress Street' between 11:00 AM and 1:00 PM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE location = 'Fir Avenue' AND time = '15:00:00'
|
What is the total count of vehicles captured at location 'Fir Avenue' at 3:00 PM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT vehicle FROM table_name_71 WHERE location = 'Aspen Street' AND time = '13:00:00'
|
Which vehicles were captured at location 'Aspen Street' at 1:00 PM?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71 WHERE camera_id = 107 AND location = 'Juniper Avenue'
|
What is the average speed of vehicles captured by camera ID 107 at location 'Juniper Avenue'?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT MAX(speed) AS highest_speed FROM table_name_71
|
What is the highest speed recorded?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT vehicle FROM table_name_71 WHERE speed = (SELECT MAX(speed) FROM table_name_71)
|
Which vehicle has the highest speed?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT AVG(speed) AS average_speed FROM table_name_71
|
What is the average speed?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT license_plate FROM table_name_71 WHERE speed = (SELECT MAX(speed) FROM table_name_71)
|
Which license plate is associated with the highest speed?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT vehicle, COUNT(vehicle) AS frequency FROM table_name_71 GROUP BY vehicle ORDER BY frequency DESC LIMIT 1
|
Which vehicle is most frequently recorded?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT location, AVG(speed) AS average_speed FROM table_name_71 GROUP BY location ORDER BY average_speed DESC LIMIT 1
|
Which location has the highest average speed?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(*) AS total_records FROM table_name_71
|
What is the total count of records?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT MAX(speed) AS highest_speed FROM table_name_71 WHERE location = 'specific_location'
|
What is the highest speed recorded in a specific location?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT camera_id FROM table_name_71 WHERE speed = (SELECT MAX(speed) FROM table_name_71)
|
Which camera recorded the highest speed?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT vehicle FROM table_name_71 WHERE speed = (SELECT MIN(speed) FROM table_name_71)
|
Which vehicle has the lowest speed?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT color, AVG(speed) AS average_speed FROM table_name_71 WHERE color = 'specific_color' GROUP BY color
|
What is the average speed of vehicles with a specific color?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT frame_id, COUNT(vehicle) AS vehicle_count FROM table_name_71 GROUP BY frame_id ORDER BY vehicle_count DESC LIMIT 1
|
What is the maximum number of vehicles captured in a single frame?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT MIN(time) AS earliest_timestamp FROM table_name_71
|
What is the earliest recorded timestamp?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT MAX(time) AS latest_timestamp FROM table_name_71
|
What is the latest recorded timestamp?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT license_plate, COUNT(license_plate) AS plate_count FROM table_name_71 GROUP BY license_plate ORDER BY plate_count DESC LIMIT 1
|
Which license plate has been recorded the most?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT COUNT(DISTINCT vehicle) AS distinct_vehicle_count FROM table_name_71
|
What is the total count of distinct vehicles recorded?
|
CREATE TABLE table_name_71 (id INT, frame_id INT, time TIMESTAMP, vehicle VARCHAR, license_plate VARCHAR, color VARCHAR, speed FLOAT, camera_id INT, location VARCHAR)
|
SELECT license_plate, AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'specific_plate' GROUP BY license_plate
|
What is the average speed of vehicles with a specific license plate?
|
CREATE TABLE head (age INTEGER)
|
SELECT COUNT(*) FROM head WHERE age > 56
|
How many heads of the departments are older than 56 ?
|
CREATE TABLE head (name VARCHAR, born_state VARCHAR, age VARCHAR)
|
SELECT name, born_state, age FROM head ORDER BY age
|
List the name, born state and age of the heads of departments ordered by age.
|
CREATE TABLE department (creation VARCHAR, name VARCHAR, budget_in_billions VARCHAR)
|
SELECT creation, name, budget_in_billions FROM department
|
List the creation year, name and budget of each department.
|
CREATE TABLE department (budget_in_billions INTEGER)
|
SELECT MAX(budget_in_billions), MIN(budget_in_billions) FROM department
|
What are the maximum and minimum budget of the departments?
|
CREATE TABLE department (num_employees INTEGER, ranking INTEGER)
|
SELECT AVG(num_employees) FROM department WHERE ranking BETWEEN 10 AND 15
|
What is the average number of employees of the departments whose rank is between 10 and 15?
|
CREATE TABLE head (name VARCHAR, born_state VARCHAR)
|
SELECT name FROM head WHERE born_state <> 'California'
|
What are the names of the heads who are born outside the California state?
|
CREATE TABLE department (creation VARCHAR, department_id VARCHAR); CREATE TABLE management (department_id VARCHAR, head_id VARCHAR); CREATE TABLE head (head_id VARCHAR, born_state VARCHAR)
|
SELECT DISTINCT T1.creation FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id JOIN head AS T3 ON T2.head_id = T3.head_id WHERE T3.born_state = 'Alabama'
|
What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
|
CREATE TABLE head (born_state VARCHAR)
|
SELECT born_state FROM head GROUP BY born_state HAVING COUNT(*) >= 3
|
What are the names of the states where at least 3 heads were born?
|
CREATE TABLE department (creation VARCHAR)
|
SELECT creation FROM department GROUP BY creation ORDER BY COUNT(*) DESC LIMIT 1
|
In which year were most departments established?
|
CREATE TABLE management (department_id VARCHAR, temporary_acting VARCHAR); CREATE TABLE department (name VARCHAR, num_employees VARCHAR, department_id VARCHAR)
|
SELECT T1.name, T1.num_employees FROM department AS T1 JOIN management AS T2 ON T1.department_id = T2.department_id WHERE T2.temporary_acting = 'Yes'
|
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?
|
End of preview. Expand
in Data Studio
No dataset card yet
- Downloads last month
- 5