question string | answer string | context string | dialect string | spider_hardness string | extended_hardness string | classification_status string | syntax_status string | ddl_syntax_status string | schema_status string | syntax_errors list | ddl_syntax_errors list | schema_errors list | classification_errors list | status_history list | correction_status string | component1 int64 | component2 int64 | others int64 | validation_source dict |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
List the names of the schools without any endowment. | SELECT school_name FROM school WHERE NOT school_id IN (SELECT school_id FROM endowment) | CREATE TABLE endowment (school_name VARCHAR, school_id VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 1 | 0 | {
"split": "train",
"row_index": 1101
} |
List all the names of schools with an endowment amount smaller than or equal to 10. | SELECT T2.school_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T1.school_id HAVING SUM(T1.amount) <= 10 | CREATE TABLE school (school_name VARCHAR, school_id VARCHAR); CREATE TABLE endowment (school_id VARCHAR, amount INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 0 | {
"split": "train",
"row_index": 1102
} |
Show the names of donors who donated to both school "Glenn" and "Triton." | SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Glenn' INTERSECT SELECT T1.donator_name FROM endowment AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T2.school_name = 'Triton' | CREATE TABLE school (school_id VARCHAR, school_name VARCHAR); CREATE TABLE endowment (donator_name VARCHAR, school_id VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 1 | 0 | {
"split": "train",
"row_index": 1103
} |
Show the names of all the donors except those whose donation amount less than 9. | SELECT donator_name FROM endowment EXCEPT SELECT donator_name FROM endowment WHERE amount < 9 | CREATE TABLE endowment (donator_name VARCHAR, amount INTEGER) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 0 | 1 | 0 | {
"split": "train",
"row_index": 1104
} |
List the amount and donor name for the largest amount of donation. | SELECT amount, donator_name FROM endowment ORDER BY amount DESC LIMIT 1 | CREATE TABLE endowment (amount VARCHAR, donator_name VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 1105
} |
Show each school name, its budgeted amount, and invested amount in year 2002 or after. | SELECT T2.school_name, T1.budgeted, T1.invested FROM budget AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id WHERE T1.year >= 2002 | CREATE TABLE budget (budgeted VARCHAR, invested VARCHAR, school_id VARCHAR, year VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 1107
} |
Show the number of buildings with a height above the average or a number of floors above the average. | SELECT COUNT(*) FROM building WHERE height_feet > (SELECT AVG(height_feet) FROM building) OR floors > (SELECT AVG(floors) FROM building) | CREATE TABLE building (height_feet INTEGER, floors INTEGER) | generic | extra | extreme | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 2 | 1 | {
"split": "train",
"row_index": 1119
} |
What are the unique names of races that held after 2000 and the circuits were in Spain? | SELECT DISTINCT T1.name FROM races AS T1 JOIN circuits AS T2 ON T1.circuitid = T2.circuitid WHERE T2.country = 'Spain' AND T1.year > 2000 | CREATE TABLE races (name VARCHAR, circuitid VARCHAR, year VARCHAR); CREATE TABLE circuits (circuitid VARCHAR, country VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 1325
} |
Find the distinct driver id and the stop number of all drivers that have a shorter pit stop duration than some drivers in the race with id 841. | SELECT DISTINCT driverid, STOP FROM pitstops WHERE duration < (SELECT MAX(duration) FROM pitstops WHERE raceid = 841) | CREATE TABLE pitstops (driverid VARCHAR, STOP VARCHAR, duration INTEGER, raceid VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 1 | 1 | {
"split": "train",
"row_index": 1326
} |
Find the distinct driver id of all drivers that have a longer stop duration than some drivers in the race whose id is 841? | SELECT DISTINCT driverid, STOP FROM pitstops WHERE duration > (SELECT MIN(duration) FROM pitstops WHERE raceid = 841) | CREATE TABLE pitstops (driverid VARCHAR, STOP VARCHAR, duration INTEGER, raceid VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 1 | 1 | {
"split": "train",
"row_index": 1327
} |
What is the id and last name of the driver who participated in the most races after 2010? | SELECT T1.driverid, T1.surname FROM drivers AS T1 JOIN results AS T2 ON T1.driverid = T2.driverid JOIN races AS T3 ON T2.raceid = T3.raceid WHERE T3.year > 2010 GROUP BY T1.driverid ORDER BY COUNT(*) DESC LIMIT 1 | CREATE TABLE drivers (driverid VARCHAR, surname VARCHAR); CREATE TABLE races (raceid VARCHAR, year INTEGER); CREATE TABLE results (driverid VARCHAR, raceid VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 6 | 0 | 1 | {
"split": "train",
"row_index": 1334
} |
Find the id and location of circuits that belong to France or Belgium? | SELECT circuitid, LOCATION FROM circuits WHERE country = 'France' OR country = 'Belgium' | CREATE TABLE circuits (circuitid VARCHAR, LOCATION VARCHAR, country VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 2 | {
"split": "train",
"row_index": 1336
} |
Find the names of Japanese constructors that have once earned more than 5 points? | SELECT T1.name FROM constructors AS T1 JOIN constructorstandings AS T2 ON T1.constructorid = T2.constructorid WHERE T1.nationality = 'Japanese' AND T2.points > 5 | CREATE TABLE constructorstandings (constructorid VARCHAR, points VARCHAR); CREATE TABLE constructors (name VARCHAR, constructorid VARCHAR, nationality VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 1337
} |
What is the average fastest lap speed in race named 'Monaco Grand Prix' in 2008 ? | SELECT AVG(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = 'Monaco Grand Prix' | CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (raceid VARCHAR, year VARCHAR, name VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 1338
} |
What is the maximum fastest lap speed in race named 'Monaco Grand Prix' in 2008 ? | SELECT MAX(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = 'Monaco Grand Prix' | CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (raceid VARCHAR, year VARCHAR, name VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 1339
} |
What are the maximum fastest lap speed in races held after 2004 grouped by race name and ordered by year? | SELECT MAX(T2.fastestlapspeed), T1.name, T1.year FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year > 2014 GROUP BY T1.name ORDER BY T1.year | CREATE TABLE results (fastestlapspeed INTEGER, raceid VARCHAR); CREATE TABLE races (name VARCHAR, year INTEGER, raceid VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 4 | 0 | 1 | {
"split": "train",
"row_index": 1340
} |
find the highest support percentage, lowest consider rate and oppose rate of all candidates. | SELECT MAX(support_rate), MIN(consider_rate), MIN(oppose_rate) FROM candidate | CREATE TABLE candidate (support_rate INTEGER, consider_rate INTEGER, oppose_rate INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 0 | 0 | 2 | {
"split": "train",
"row_index": 1450
} |
Show the average and maximum damage for all storms with max speed higher than 1000. | SELECT AVG(damage_millions_USD), MAX(damage_millions_USD) FROM storm WHERE max_speed > 1000 | CREATE TABLE storm (damage_millions_USD INTEGER, max_speed INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 2 | {
"split": "train",
"row_index": 1593
} |
What is the total number of deaths and damage for all storms with a max speed greater than the average? | SELECT SUM(number_deaths), SUM(damage_millions_USD) FROM storm WHERE max_speed > (SELECT AVG(max_speed) FROM storm) | CREATE TABLE storm (number_deaths INTEGER, damage_millions_USD INTEGER, max_speed INTEGER) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 1 | 2 | {
"split": "train",
"row_index": 1594
} |
Which assets did not incur any fault log? List the asset model. | SELECT asset_model FROM Assets WHERE NOT asset_id IN (SELECT asset_id FROM Fault_Log) | CREATE TABLE Fault_Log (asset_model VARCHAR, asset_id VARCHAR); CREATE TABLE Assets (asset_model VARCHAR, asset_id VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 1 | 0 | {
"split": "train",
"row_index": 1883
} |
list the local authorities and services provided by all stations. | SELECT local_authority, services FROM station | CREATE TABLE station (local_authority VARCHAR, services VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 0 | 0 | 1 | {
"split": "train",
"row_index": 1884
} |
show all train numbers and names ordered by their time from early to late. | SELECT train_number, name FROM train ORDER BY TIME | CREATE TABLE train (train_number VARCHAR, name VARCHAR, TIME VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 1885
} |
Give me the times and numbers of all trains that go to Chennai, ordered by time. | SELECT TIME, train_number FROM train WHERE destination = 'Chennai' ORDER BY TIME | CREATE TABLE train (TIME VARCHAR, train_number VARCHAR, destination VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 1886
} |
Find the number and time of the train that goes from Chennai to Guruvayur. | SELECT train_number, TIME FROM train WHERE origin = 'Chennai' AND destination = 'Guruvayur' | CREATE TABLE train (train_number VARCHAR, TIME VARCHAR, origin VARCHAR, destination VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 2 | {
"split": "train",
"row_index": 1888
} |
What is the average high temperature for each day of week? | SELECT AVG(high_temperature), day_of_week FROM weekly_weather GROUP BY day_of_week | CREATE TABLE weekly_weather (day_of_week VARCHAR, high_temperature INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 1892
} |
Give me the maximum low temperature and average precipitation at the Amersham station. | SELECT MAX(t1.low_temperature), AVG(t1.precipitation) FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id WHERE t2.network_name = 'Amersham' | CREATE TABLE weekly_weather (low_temperature INTEGER, precipitation INTEGER, station_id VARCHAR); CREATE TABLE station (id VARCHAR, network_name VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 2 | {
"split": "train",
"row_index": 1893
} |
Find names and times of trains that run through stations for the local authority Chiltern. | SELECT t3.name, t3.time FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id JOIN train AS t3 ON t2.train_id = t3.id WHERE t1.local_authority = 'Chiltern' | CREATE TABLE station (id VARCHAR, local_authority VARCHAR); CREATE TABLE route (station_id VARCHAR, train_id VARCHAR); CREATE TABLE train (name VARCHAR, time VARCHAR, id VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 3 | 0 | 1 | {
"split": "train",
"row_index": 1894
} |
Find the id and local authority of the station whose maximum precipitation is higher than 50. | SELECT t2.id, t2.local_authority FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id GROUP BY t1.station_id HAVING MAX(t1.precipitation) > 50 | CREATE TABLE weekly_weather (station_id VARCHAR, precipitation INTEGER); CREATE TABLE station (id VARCHAR, local_authority VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 1897
} |
show the lowest low temperature and highest wind speed in miles per hour. | SELECT MIN(low_temperature), MAX(wind_speed_mph) FROM weekly_weather | CREATE TABLE weekly_weather (low_temperature INTEGER, wind_speed_mph INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 0 | 0 | 2 | {
"split": "train",
"row_index": 1898
} |
Find the average number of factories for the manufacturers that have more than 20 shops. | SELECT AVG(Num_of_Factories) FROM manufacturer WHERE num_of_shops > 20 | CREATE TABLE manufacturer (Num_of_Factories INTEGER, num_of_shops INTEGER) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 2015
} |
what is the average number of factories and maximum number of shops for manufacturers that opened before 1990. | SELECT MAX(num_of_shops), AVG(Num_of_Factories) FROM manufacturer WHERE open_year < 1990 | CREATE TABLE manufacturer (num_of_shops INTEGER, Num_of_Factories INTEGER, open_year INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 2 | {
"split": "train",
"row_index": 2018
} |
List the file size and format for all songs that have resolution lower than 800. | SELECT DISTINCT T1.file_size, T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T2.resolution < 800 | CREATE TABLE song (f_id VARCHAR, resolution INTEGER); CREATE TABLE files (file_size VARCHAR, formats VARCHAR, f_id VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 2088
} |
What is the name of the artist who produced the shortest song? | SELECT T1.artist_name FROM song AS T1 JOIN files AS T2 ON T1.f_id = T2.f_id ORDER BY T2.duration LIMIT 1 | CREATE TABLE files (f_id VARCHAR, duration VARCHAR); CREATE TABLE song (artist_name VARCHAR, f_id VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 3 | 0 | 0 | {
"split": "train",
"row_index": 2089
} |
What are the names and countries of origin for the artists who produced the top three highly rated songs. | SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name ORDER BY T2.rating DESC LIMIT 3 | CREATE TABLE song (artist_name VARCHAR, rating VARCHAR); CREATE TABLE artist (artist_name VARCHAR, country VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 3 | 0 | 1 | {
"split": "train",
"row_index": 2090
} |
What is the average rating of songs produced by female artists? | SELECT AVG(T2.rating) FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T1.gender = 'Female' | CREATE TABLE song (rating INTEGER, artist_name VARCHAR); CREATE TABLE artist (artist_name VARCHAR, gender VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 0 | {
"split": "train",
"row_index": 2093
} |
Find the names of the artists who are from UK and have produced English songs. | SELECT artist_name FROM artist WHERE country = 'UK' INTERSECT SELECT artist_name FROM song WHERE languages = 'english' | CREATE TABLE artist (artist_name VARCHAR, country VARCHAR, languages VARCHAR); CREATE TABLE song (artist_name VARCHAR, country VARCHAR, languages VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 1 | 0 | {
"split": "train",
"row_index": 2095
} |
Find the id of songs that are available in mp4 format and have resolution lower than 1000. | SELECT f_id FROM files WHERE formats = 'mp4' INTERSECT SELECT f_id FROM song WHERE resolution < 1000 | CREATE TABLE song (f_id VARCHAR, formats VARCHAR, resolution INTEGER); CREATE TABLE files (f_id VARCHAR, formats VARCHAR, resolution INTEGER) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 1 | 0 | {
"split": "train",
"row_index": 2096
} |
What is the country of origin of the artist who is female and produced a song in Bangla? | SELECT T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T1.gender = 'Female' AND T2.languages = 'bangla' | CREATE TABLE artist (country VARCHAR, artist_name VARCHAR, gender VARCHAR); CREATE TABLE song (artist_name VARCHAR, languages VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 2097
} |
What is the average duration of songs that have mp3 format and resolution below 800? | SELECT AVG(T1.duration) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.formats = 'mp3' AND T2.resolution < 800 | CREATE TABLE files (duration INTEGER, f_id VARCHAR, formats VARCHAR); CREATE TABLE song (f_id VARCHAR, resolution VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 2098
} |
What is the average rating of songs for each language? | SELECT AVG(rating), languages FROM song GROUP BY languages | CREATE TABLE song (languages VARCHAR, rating INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 2100
} |
Return the gender and name of artist who produced the song with the lowest resolution. | SELECT T1.gender, T1.artist_name FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name ORDER BY T2.resolution LIMIT 1 | CREATE TABLE artist (gender VARCHAR, artist_name VARCHAR); CREATE TABLE song (artist_name VARCHAR, resolution VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 3 | 0 | 1 | {
"split": "train",
"row_index": 2101
} |
Find the distinct names of all songs that have a higher resolution than some songs in English. | SELECT DISTINCT song_name FROM song WHERE resolution > (SELECT MIN(resolution) FROM song WHERE languages = 'english') | CREATE TABLE song (song_name VARCHAR, resolution INTEGER, languages VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 1 | 0 | {
"split": "train",
"row_index": 2103
} |
Find the total population of the districts where the area is bigger than the average city area. | SELECT SUM(city_population) FROM district WHERE city_area > (SELECT AVG(city_area) FROM district) | CREATE TABLE district (city_population INTEGER, city_area INTEGER) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 1 | 0 | {
"split": "train",
"row_index": 2843
} |
What is the average, maximum, and minimum budget for all movies before 2000. | SELECT AVG(budget_million), MAX(budget_million), MIN(budget_million) FROM movie WHERE YEAR < 2000 | CREATE TABLE movie (budget_million INTEGER, YEAR INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 2 | {
"split": "train",
"row_index": 3955
} |
What is the accelerate of the car make amc hornet sportabout (sw)? | SELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Make = 'amc hornet sportabout (sw)' | CREATE TABLE CARS_DATA (Accelerate VARCHAR, Id VARCHAR); CREATE TABLE CAR_NAMES (MakeId VARCHAR, Make VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 0 | {
"split": "train",
"row_index": 4021
} |
What is the average miles per gallon(mpg) of the cars with 4 cylinders? | SELECT AVG(mpg) FROM CARS_DATA WHERE Cylinders = 4 | CREATE TABLE CARS_DATA (mpg INTEGER, Cylinders VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4024
} |
What is the smallest weight of the car produced with 8 cylinders on 1974 ? | SELECT MIN(weight) FROM cars_data WHERE cylinders = 8 AND year = 1974 | CREATE TABLE cars_data (weight INTEGER, cylinders VARCHAR, year VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 4025
} |
What are all the makers and models? | SELECT Maker, Model FROM MODEL_LIST | CREATE TABLE MODEL_LIST (Maker VARCHAR, Model VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 0 | 0 | 1 | {
"split": "train",
"row_index": 4026
} |
What is the average weight of cars each year? | SELECT AVG(Weight), YEAR FROM CARS_DATA GROUP BY YEAR | CREATE TABLE CARS_DATA (YEAR VARCHAR, Weight INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 4029
} |
What is the maximum horsepower and the make of the car models with 3 cylinders? | SELECT T2.horsepower, T1.Make FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.cylinders = 3 ORDER BY T2.horsepower DESC LIMIT 1 | CREATE TABLE CAR_NAMES (Make VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (horsepower VARCHAR, Id VARCHAR, cylinders VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 4 | 0 | 1 | {
"split": "train",
"row_index": 4031
} |
Which model saves the most gasoline? That is to say, have the maximum miles per gallon. | SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id ORDER BY T2.mpg DESC LIMIT 1 | CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (Id VARCHAR, mpg VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 3 | 0 | 0 | {
"split": "train",
"row_index": 4032
} |
What is the car model with the highest mpg ? | SELECT t1.model FROM car_names AS t1 JOIN cars_data AS t2 ON t1.makeid = t2.id ORDER BY t2.mpg DESC LIMIT 1 | CREATE TABLE cars_data (id VARCHAR, mpg VARCHAR); CREATE TABLE car_names (model VARCHAR, makeid VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 3 | 0 | 0 | {
"split": "train",
"row_index": 4033
} |
What is the average horsepower of the cars before 1980? | SELECT AVG(horsepower) FROM CARS_DATA WHERE YEAR < 1980 | CREATE TABLE CARS_DATA (horsepower INTEGER, YEAR INTEGER) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4034
} |
What is the average horsepower for all cars produced before 1980 ? | SELECT AVG(horsepower) FROM cars_data WHERE year < 1980 | CREATE TABLE cars_data (horsepower INTEGER, year INTEGER) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4035
} |
What is the average edispl of the cars of model volvo? | SELECT AVG(T2.edispl) FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T1.Model = 'volvo' | CREATE TABLE CARS_DATA (edispl INTEGER, Id VARCHAR); CREATE TABLE CAR_NAMES (MakeId VARCHAR, Model VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 0 | {
"split": "train",
"row_index": 4036
} |
What is the maximum accelerate for different number of cylinders? | SELECT MAX(Accelerate), Cylinders FROM CARS_DATA GROUP BY Cylinders | CREATE TABLE CARS_DATA (Cylinders VARCHAR, Accelerate INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 4037
} |
Which distinctive models are produced by maker with the full name General Motors or weighing more than 3500? | SELECT DISTINCT T2.Model FROM CAR_NAMES AS T1 JOIN MODEL_LIST AS T2 ON T1.Model = T2.Model JOIN CAR_MAKERS AS T3 ON T2.Maker = T3.Id JOIN CARS_DATA AS T4 ON T1.MakeId = T4.Id WHERE T3.FullName = 'General Motors' OR T4.weight > 3500 | CREATE TABLE MODEL_LIST (Model VARCHAR, Maker VARCHAR); CREATE TABLE CAR_MAKERS (Id VARCHAR, FullName VARCHAR); CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (Id VARCHAR, weight VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 5 | 0 | 1 | {
"split": "train",
"row_index": 4043
} |
In which years cars were produced weighing no less than 3000 and no more than 4000 ? | SELECT DISTINCT year FROM cars_data WHERE weight BETWEEN 3000 AND 4000 | CREATE TABLE cars_data (year VARCHAR, weight INTEGER) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4044
} |
What is the horsepower of the car with the largest accelerate? | SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1 | CREATE TABLE CARS_DATA (horsepower VARCHAR, accelerate VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 0 | {
"split": "train",
"row_index": 4045
} |
For model volvo, how many cylinders does the car with the least accelerate have? | SELECT T1.cylinders FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Model = 'volvo' ORDER BY T1.accelerate LIMIT 1 | CREATE TABLE CARS_DATA (cylinders VARCHAR, Id VARCHAR, accelerate VARCHAR); CREATE TABLE CAR_NAMES (MakeId VARCHAR, Model VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 4 | 0 | 0 | {
"split": "train",
"row_index": 4046
} |
How many cars have a larger accelerate than the car with the largest horsepower? | SELECT COUNT(*) FROM CARS_DATA WHERE Accelerate > (SELECT Accelerate FROM CARS_DATA ORDER BY Horsepower DESC LIMIT 1) | CREATE TABLE CARS_DATA (Accelerate INTEGER, Horsepower VARCHAR) | generic | hard | hard | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 1 | 0 | {
"split": "train",
"row_index": 4047
} |
For the cars with 4 cylinders, which model has the largest horsepower? | SELECT T1.Model FROM CAR_NAMES AS T1 JOIN CARS_DATA AS T2 ON T1.MakeId = T2.Id WHERE T2.Cylinders = 4 ORDER BY T2.horsepower DESC LIMIT 1 | CREATE TABLE CAR_NAMES (Model VARCHAR, MakeId VARCHAR); CREATE TABLE CARS_DATA (Id VARCHAR, Cylinders VARCHAR, horsepower VARCHAR) | generic | extra | extra | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 4 | 0 | 0 | {
"split": "train",
"row_index": 4050
} |
What is the maximum miles per gallon of the car with 8 cylinders or produced before 1980 ? | SELECT MAX(mpg) FROM cars_data WHERE cylinders = 8 OR year < 1980 | CREATE TABLE cars_data (mpg INTEGER, cylinders VARCHAR, year VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 2 | 0 | 1 | {
"split": "train",
"row_index": 4053
} |
Find the average number of staff working for the museums that were open before 2009. | SELECT AVG(num_of_staff) FROM museum WHERE open_year < 2009 | CREATE TABLE museum (num_of_staff INTEGER, open_year INTEGER) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4179
} |
Find the average age of losers and winners of all matches. | SELECT AVG(loser_age), AVG(winner_age) FROM matches | CREATE TABLE matches (loser_age INTEGER, winner_age INTEGER) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 0 | 0 | 2 | {
"split": "train",
"row_index": 4195
} |
Find the average rank of winners in all matches. | SELECT AVG(winner_rank) FROM matches | CREATE TABLE matches (winner_rank INTEGER) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 0 | 0 | 0 | {
"split": "train",
"row_index": 4196
} |
Find the highest rank of losers in all matches. | SELECT MIN(loser_rank) FROM matches | CREATE TABLE matches (loser_rank INTEGER) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 0 | 0 | 0 | {
"split": "train",
"row_index": 4197
} |
What is the maximum number of final tables made among poker players with earnings less than 200000? | SELECT MAX(Final_Table_Made) FROM poker_player WHERE Earnings < 200000 | CREATE TABLE poker_player (Final_Table_Made INTEGER, Earnings INTEGER) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4316
} |
When were ships laid down that were commissioned on october 29, 1965? | SELECT laid_down FROM table_1014206_2 WHERE commissioned = 'October 29, 1965' | CREATE TABLE table_1014206_2 (laid_down VARCHAR, commissioned VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4537
} |
What could a spanish coronel be addressed as in the commonwealth military? | SELECT commonwealth_equivalent FROM table_1015521_2 WHERE rank_in_spanish = 'Coronel' | CREATE TABLE table_1015521_2 (commonwealth_equivalent VARCHAR, rank_in_spanish VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4538
} |
Give me a list of all spanish officer titles that could receive recognition as group captain in english | SELECT rank_in_english FROM table_1015521_2 WHERE commonwealth_equivalent = 'Group Captain' | CREATE TABLE table_1015521_2 (rank_in_english VARCHAR, commonwealth_equivalent VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4539
} |
If you are a pilot officer in the commonwealth then what will you called as in the US air force? | SELECT us_air_force_equivalent FROM table_1015521_2 WHERE commonwealth_equivalent = 'Pilot Officer' | CREATE TABLE table_1015521_2 (us_air_force_equivalent VARCHAR, commonwealth_equivalent VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4540
} |
If you're a major general in the US air force then what ranking will you receive in the commonwealth's air force? | SELECT commonwealth_equivalent FROM table_1015521_2 WHERE us_air_force_equivalent = 'Major General' | CREATE TABLE table_1015521_2 (commonwealth_equivalent VARCHAR, us_air_force_equivalent VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4541
} |
If you get a ranking as major in the english military then what would the spanish military address you as? | SELECT rank_in_spanish FROM table_1015521_2 WHERE rank_in_english = 'Major' | CREATE TABLE table_1015521_2 (rank_in_spanish VARCHAR, rank_in_english VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4542
} |
Which province is grey and bell electorate in | SELECT province FROM table_1024710_2 WHERE electorate = 'Grey and Bell' | CREATE TABLE table_1024710_2 (province VARCHAR, electorate VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4543
} |
Which province is bay of islands in | SELECT province FROM table_1024710_2 WHERE electorate = 'Bay of Islands' | CREATE TABLE table_1024710_2 (province VARCHAR, electorate VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4544
} |
what is the total number of total w–l where doubles w–l is 11–11 | SELECT COUNT(total_w_l) FROM table_10294071_1 WHERE doubles_w_l = '11–11' | CREATE TABLE table_10294071_1 (total_w_l VARCHAR, doubles_w_l VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4545
} |
what is the total number of singles w–l where doubles w–l is 11–14 | SELECT COUNT(singles_w_l) FROM table_10294071_1 WHERE doubles_w_l = '11–14' | CREATE TABLE table_10294071_1 (singles_w_l VARCHAR, doubles_w_l VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4546
} |
what's the total w–l where player is boro jovanović category:articles with hcards | SELECT total_w_l FROM table_10294071_1 WHERE player = 'Boro Jovanović Category:Articles with hCards' | CREATE TABLE table_10294071_1 (total_w_l VARCHAR, player VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4547
} |
what is the maximum ties played where player is josip palada category:articles with hcards | SELECT MAX(ties_played) FROM table_10294071_1 WHERE player = 'Josip Palada Category:Articles with hCards' | CREATE TABLE table_10294071_1 (ties_played INTEGER, player VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4548
} |
what is the total number of ties played where total w–l is 38–24 | SELECT COUNT(ties_played) FROM table_10294071_1 WHERE total_w_l = '38–24' | CREATE TABLE table_10294071_1 (ties_played VARCHAR, total_w_l VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4549
} |
What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143? | SELECT COUNT(frequency) FROM table_10333757_1 WHERE market_rank = 'Burlington - Plattsburgh , Vermont - New York /143' | CREATE TABLE table_10333757_1 (frequency VARCHAR, market_rank VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4550
} |
What is the Branding for Group Owner Qantam of Cape Cod, LLC? | SELECT branding FROM table_10333757_1 WHERE group_owner = 'Qantam of Cape Cod, LLC' | CREATE TABLE table_10333757_1 (branding VARCHAR, group_owner VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4551
} |
What Branding does WRKO calls use? | SELECT branding FROM table_10333757_1 WHERE calls = 'WRKO' | CREATE TABLE table_10333757_1 (branding VARCHAR, calls VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4552
} |
What percentage of The Bronx voters occured when Manhattan had 29.9% of voters? | SELECT the_bronx FROM table_1108394_34 WHERE manhattan = '29.9_percentage' | CREATE TABLE table_1108394_34 (the_bronx VARCHAR, manhattan VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4633
} |
What number of voters did the Bronx have when the total number was 2054? | SELECT the_bronx FROM table_1108394_34 WHERE total = 2054 | CREATE TABLE table_1108394_34 (the_bronx VARCHAR, total VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4634
} |
What number of voters did Queens have when Staten Island had 295 voters? | SELECT queens FROM table_1108394_34 WHERE richmond_[staten_is] = '295' | CREATE TABLE table_1108394_34 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR) | generic | null | easy | extended | valid | valid | valid | [] | [] | [] | [
"Unsupported column expression: richmond_[staten_is]"
] | [
"validated",
"extension_unchanged",
"extended"
] | null | null | null | null | {
"split": "train",
"row_index": 4635
} |
What was Staten Island when Brooklyn was 940? | SELECT staten_island FROM table_1108394_6 WHERE brooklyn = '940' | CREATE TABLE table_1108394_6 (staten_island VARCHAR, brooklyn VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4636
} |
What was the total number in Manhattan when Staten Island was 12,658? | SELECT COUNT(manhattan) FROM table_1108394_6 WHERE staten_island = '12,658' | CREATE TABLE table_1108394_6 (manhattan VARCHAR, staten_island VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4637
} |
What was the total in Brooklyn when Manhattan was 3,139? | SELECT brooklyn FROM table_1108394_6 WHERE manhattan = '3,139' | CREATE TABLE table_1108394_6 (brooklyn VARCHAR, manhattan VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4638
} |
What was the amount in Staten Island when The Bronx was 1,281? | SELECT staten_island FROM table_1108394_6 WHERE the_bronx = '1,281' | CREATE TABLE table_1108394_6 (staten_island VARCHAR, the_bronx VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4640
} |
The candidate who received 133 votes in the Bronx won what percentage overall? | SELECT _percentage FROM table_1108394_47 WHERE the_bronx = '133' | CREATE TABLE table_1108394_47 (_percentage VARCHAR, the_bronx VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4641
} |
How many votes in Brooklyn were won by the candidate who won 321 votes in Manhattan? | SELECT brooklyn FROM table_1108394_47 WHERE manhattan = '321' | CREATE TABLE table_1108394_47 (brooklyn VARCHAR, manhattan VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4643
} |
The man who received 87,676 votes in Queens won what percentage of the total for the election? | SELECT _percentage FROM table_1108394_47 WHERE queens = '87,676' | CREATE TABLE table_1108394_47 (_percentage VARCHAR, queens VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4644
} |
How many parties received 29.9% of the vote in Manhattan? | SELECT COUNT(party) FROM table_1108394_47 WHERE manhattan = '29.9_percentage' | CREATE TABLE table_1108394_47 (party VARCHAR, manhattan VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4645
} |
Name the most late 1943 with late 194 in slovenia | SELECT MAX(late_1943) FROM table_1115992_1 WHERE NOT _late_1941 = 'Slovenia' | CREATE TABLE table_1115992_1 (late_1943 INTEGER, _late_1941 VARCHAR) | generic | medium | medium | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 1 | {
"split": "train",
"row_index": 4646
} |
What is the least september 1943 when late 1943 is 78000 | SELECT MIN(sept_1943) FROM table_1115992_1 WHERE late_1943 = 78000 | CREATE TABLE table_1115992_1 (sept_1943 INTEGER, late_1943 VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4647
} |
What was Eric Dickerson's longest run? | SELECT COUNT(longest_run) FROM table_11157122_5 WHERE player = 'Eric Dickerson' | CREATE TABLE table_11157122_5 (longest_run VARCHAR, player VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4648
} |
When the transmission make/type/speed is eaton fs 5306-a manual synchromesh 6 speed, what is the value of the gcm (kg) technical capacity? | SELECT gcm__kg__technical_capacity FROM table_11497980_1 WHERE transmission_make_type_speed = 'Eaton FS 5306-A Manual Synchromesh 6 Speed' | CREATE TABLE table_11497980_1 (gcm__kg__technical_capacity VARCHAR, transmission_make_type_speed VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4745
} |
Which model possesses a transmission make/type/speed of eaton fs-6306 a manual synchromesh 6 speed? | SELECT model FROM table_11497980_1 WHERE transmission_make_type_speed = 'Eaton FS-6306 A Manual Synchromesh 6 Speed' | CREATE TABLE table_11497980_1 (model VARCHAR, transmission_make_type_speed VARCHAR) | generic | easy | easy | classified | valid | valid | valid | [] | [] | [] | [] | [
"validated",
"extension_unchanged",
"classified"
] | null | 1 | 0 | 0 | {
"split": "train",
"row_index": 4746
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.