question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the speed of the vehicle with license plate 'ABC123' at location 'Main Street' at 10:00 AM?
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 'XYZ456' at location 'Park Avenue' at 2:00 PM?
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 'DEF789' at location 'Broadway' at 11:00 AM?
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 'GHI012' at location 'Fifth Avenue' at 1:00 PM?
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 'JKL345' at location 'Elm Street' at 12:00 PM?
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 'MNO678' at location 'Park Avenue' at 3: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 'PQR901' at location 'Broadway' at 10:00 AM?
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 'STU234' at location 'Fifth Avenue' at 11: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 'VWX567' at location 'Elm Street' at 2:00 PM?
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 'YZA890' at location 'Main Street' at 1: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 '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 speed FROM table_name_71 WHERE license_plate = 'KA03AB1234' AND location = 'Main Street' AND time = '10:00:00'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'KA03AB1234'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'DL9CAC4567'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'MH02DE8901'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'TN19FG2345'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'GJ06HI6789'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'AP29IJ8901'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'UP16KL4567'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'TS07MN2345'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'RJ14OP6789'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'PB18QR8901'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'MP15ST2345'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'KA20UV4567'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'DL21WX6789'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'MH22YZ8901'
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 = 'GJ23ZA2345'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'KA03AB1234'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'DL9CAC4567'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'MH02DE8901'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'TN19FG2345'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'GJ06HI6789'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'AP29IJ8901'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'UP16KL4567'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'TS07MN2345'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'RJ14OP6789'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'PB18QR8901'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'MP15ST2345'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'KA20UV4567'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE license_plate = 'DL21WX6789'
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 COUNT(*) AS plate_count FROM table_name_71 WHERE license_plate = 'MH22YZ8901'
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 = 'GJ23ZA2345'
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 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 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 COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE location = 'Park Avenue' AND time = '15: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 vehicle FROM table_name_71 WHERE location = 'Broadway' AND time = '10:00:00'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE camera_id = 101 AND location = 'Fifth Avenue'
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 COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE camera_id = 102 AND location = 'Main Street'
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 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 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 COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE location = 'Pine Avenue' AND time = '13: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 vehicle FROM table_name_71 WHERE location = 'Maple Street' AND time = '11:00:00'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE camera_id = 103 AND location = 'Oak Avenue'
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 COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE camera_id = 104 AND location = 'Cedar Street'
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 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 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 COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE location = 'Willow Street' AND time = '14: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 vehicle FROM table_name_71 WHERE location = 'Birch Avenue' AND time = '12:00:00'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE camera_id = 105 AND location = 'Spruce Street'
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 COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE camera_id = 106 AND location = 'Palm Avenue'
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 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 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 COUNT(vehicle) AS vehicle_count FROM table_name_71 WHERE location = 'Fir Avenue' AND time = '15: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 vehicle FROM table_name_71 WHERE location = 'Aspen Street' AND time = '13:00:00'
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 AVG(speed) AS average_speed FROM table_name_71 WHERE camera_id = 107 AND location = 'Juniper Avenue'
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 MAX(speed) AS highest_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 vehicle FROM table_name_71 WHERE speed = (SELECT MAX(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 AVG(speed) AS average_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 license_plate FROM table_name_71 WHERE speed = (SELECT MAX(speed) FROM table_name_71)
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 vehicle, COUNT(vehicle) AS frequency FROM table_name_71 GROUP BY vehicle ORDER BY frequency 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 location, AVG(speed) AS average_speed FROM table_name_71 GROUP BY location ORDER BY average_speed DESC LIMIT 1
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 COUNT(*) AS total_records FROM table_name_71
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 MAX(speed) AS highest_speed FROM table_name_71 WHERE location = 'specific_location'
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 camera_id FROM table_name_71 WHERE speed = (SELECT MAX(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 vehicle FROM table_name_71 WHERE speed = (SELECT MIN(speed) FROM table_name_71)
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 color, AVG(speed) AS average_speed FROM table_name_71 WHERE color = 'specific_color' GROUP BY color
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 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 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 MIN(time) AS earliest_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 MAX(time) AS latest_timestamp FROM table_name_71
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 license_plate, COUNT(license_plate) AS plate_count FROM table_name_71 GROUP BY license_plate ORDER BY plate_count DESC LIMIT 1
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 COUNT(DISTINCT vehicle) AS distinct_vehicle_count FROM table_name_71
What is the average speed of vehicles with a specific license plate?
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
How many heads of the departments are older than 56 ?
CREATE TABLE head (age INTEGER)
SELECT COUNT(*) FROM head WHERE age > 56
List the name, born state and age of the heads of departments ordered by age.
CREATE TABLE head (name VARCHAR, born_state VARCHAR, age VARCHAR)
SELECT name, born_state, age FROM head ORDER BY age
List the creation year, name and budget of each department.
CREATE TABLE department (creation VARCHAR, name VARCHAR, budget_in_billions VARCHAR)
SELECT creation, name, budget_in_billions FROM department
What are the maximum and minimum budget of the departments?
CREATE TABLE department (budget_in_billions INTEGER)
SELECT MAX(budget_in_billions), MIN(budget_in_billions) FROM department
What is the average number of employees of the departments whose rank is between 10 and 15?
CREATE TABLE department (num_employees INTEGER, ranking INTEGER)
SELECT AVG(num_employees) FROM department WHERE ranking BETWEEN 10 AND 15
What are the names of the heads who are born outside the California state?
CREATE TABLE head (name VARCHAR, born_state VARCHAR)
SELECT name FROM head WHERE born_state <> 'California'
What are the distinct creation years of the departments managed by a secretary born in state 'Alabama'?
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 names of the states where at least 3 heads were born?
CREATE TABLE head (born_state VARCHAR)
SELECT born_state FROM head GROUP BY born_state HAVING COUNT(*) >= 3
In which year were most departments established?
CREATE TABLE department (creation VARCHAR)
SELECT creation FROM department GROUP BY creation ORDER BY COUNT(*) DESC LIMIT 1
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes'?
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'
How many acting statuses are there?
CREATE TABLE management (temporary_acting VARCHAR)
SELECT COUNT(DISTINCT temporary_acting) FROM management
How many departments are led by heads who are not mentioned?
CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR)
SELECT COUNT(*) FROM department WHERE NOT department_id IN (SELECT department_id FROM management)
What are the distinct ages of the heads who are acting?
CREATE TABLE head (age VARCHAR, head_id VARCHAR); CREATE TABLE management (head_id VARCHAR, temporary_acting VARCHAR)
SELECT DISTINCT T1.age FROM management AS T2 JOIN head AS T1 ON T1.head_id = T2.head_id WHERE T2.temporary_acting = 'Yes'
List the states where both the secretary of 'Treasury' department and the secretary of 'Homeland Security' were born.
CREATE TABLE management (department_id VARCHAR, head_id VARCHAR); CREATE TABLE head (born_state VARCHAR, head_id VARCHAR); CREATE TABLE department (department_id VARCHAR, name VARCHAR)
SELECT T3.born_state 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 T1.name = 'Treasury' INTERSECT SELECT T3.born_state 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 T1.name = 'Homeland Security'
Which department has more than 1 head at a time? List the id, name and the number of heads.
CREATE TABLE management (department_id VARCHAR); CREATE TABLE department (department_id VARCHAR, name VARCHAR)
SELECT T1.department_id, T1.name, COUNT(*) FROM management AS T2 JOIN department AS T1 ON T1.department_id = T2.department_id GROUP BY T1.department_id HAVING COUNT(*) > 1
Which head's name has the substring 'Ha'? List the id and name.
CREATE TABLE head (head_id VARCHAR, name VARCHAR)
SELECT head_id, name FROM head WHERE name LIKE '%Ha%'
What is the speed of the vehicle with license plate 'TN19FG2345' at location 'Fifth 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 speed FROM table_name_71 WHERE license_plate = 'TN19FG2345' AND location = 'Fifth Avenue' AND time = '13:00:00'
What is the speed of the vehicle with license plate 'GJ06HI6789' at location 'Elm Street' 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 speed FROM table_name_71 WHERE license_plate = 'GJ06HI6789' AND location = 'Elm Street' AND time = '12:00:00'
What is the speed of the vehicle with license plate 'AP29IJ8901' at location 'Main Street' 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 speed FROM table_name_71 WHERE license_plate = 'AP29IJ8901' AND location = 'Main Street' AND time = '15:00:00'
What is the speed of the vehicle with license plate 'UP16KL4567' at location 'Park Avenue' 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 speed FROM table_name_71 WHERE license_plate = 'UP16KL4567' AND location = 'Park Avenue' AND time = '10:00:00'
What is the speed of the vehicle with license plate 'TS07MN2345' at location 'Broadway' 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 speed FROM table_name_71 WHERE license_plate = 'TS07MN2345' AND location = 'Broadway' AND time = '11:00:00'
What is the speed of the vehicle with license plate 'RJ14OP6789' at location 'Fifth Avenue' 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 speed FROM table_name_71 WHERE license_plate = 'RJ14OP6789' AND location = 'Fifth Avenue' AND time = '14:00:00'
What is the speed of the vehicle with license plate 'PB18QR8901' at location 'Elm 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 = 'PB18QR8901' AND location = 'Elm Street' AND time = '13:00:00'