question
stringlengths
16
239
table_name
stringlengths
3
43
columns
listlengths
5
20
column_types
listlengths
5
20
gold_sql
stringlengths
35
209
db_id
stringclasses
1 value
source
stringclasses
1 value
Name the drive for points being 13
race_results
[ "fin_pos", "car_no", "driver", "team", "laps", "time_retired", "grid", "laps_led", "points" ]
[ "real", "real", "text", "text", "real", "text", "real", "real", "text" ]
SELECT "driver" FROM race_results WHERE "points" = '13'
dev
wikisql
Name the team for scott dixon
race_results
[ "fin_pos", "car_no", "driver", "team", "laps", "time_retired", "grid", "laps_led", "points" ]
[ "real", "real", "text", "text", "real", "text", "real", "real", "text" ]
SELECT "team" FROM race_results WHERE "driver" = 'Scott Dixon'
dev
wikisql
Name the team of darren manning
race_results
[ "fin_pos", "car_no", "driver", "team", "laps", "time_retired", "grid", "laps_led", "points" ]
[ "real", "real", "text", "text", "real", "text", "real", "real", "text" ]
SELECT "team" FROM race_results WHERE "driver" = 'Darren Manning'
dev
wikisql
Name the record for score of l 93–104 (ot)
rookies_season
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "record" FROM rookies_season WHERE "score" = 'L 93–104 (OT)'
dev
wikisql
On what date did the Rockets play Memphis?
rookies_game_stats_2
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "date" FROM rookies_game_stats_2 WHERE "team" = 'Memphis'
dev
wikisql
Who had the most poinst in game 72?
rookies_game_stats_2
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "high_points" FROM rookies_game_stats_2 WHERE "game" = 72
dev
wikisql
When tracy mcgrady (8) is leading in assists what is the date?
rookies_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "date" FROM rookies_game_stats WHERE "high_assists" = 'Tracy McGrady (8)'
dev
wikisql
When @ new orleans is the team who has the highest amount of rebounds?
rookies_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "high_rebounds" FROM rookies_game_stats WHERE "team" = '@ New Orleans'
dev
wikisql
When aaron brooks (6) had the highest amount of assists what is the date?
rookies_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "date" FROM rookies_game_stats WHERE "high_assists" = 'Aaron Brooks (6)'
dev
wikisql
What was the record on November 1?
mavericks_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "record" FROM mavericks_game_stats WHERE "date" = 'November 1'
dev
wikisql
What was the record on November 7?
mavericks_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("record") FROM mavericks_game_stats WHERE "date" = 'November 7'
dev
wikisql
What is the grid for the driver who earned 14 points?
indycar_race
[ "fin_pos", "car_no", "driver", "team", "laps", "time_retired", "grid", "laps_led", "points" ]
[ "real", "real", "text", "text", "real", "text", "real", "real", "text" ]
SELECT "grid" FROM indycar_race WHERE "points" = '14'
dev
wikisql
Name the total number of cars for panther racing and grid of 9
indychallenge_2007
[ "fin_pos", "car_no", "driver", "team", "laps", "time_retired", "grid", "laps_led", "points" ]
[ "real", "real", "text", "text", "real", "text", "real", "real", "text" ]
SELECT COUNT("car_no") FROM indychallenge_2007 WHERE "team" = 'Panther Racing' AND "grid" = 9
dev
wikisql
Name the least grid for 17 points
indychallenge_2007
[ "fin_pos", "car_no", "driver", "team", "laps", "time_retired", "grid", "laps_led", "points" ]
[ "real", "real", "text", "text", "real", "text", "real", "real", "text" ]
SELECT MIN("grid") FROM indychallenge_2007 WHERE "points" = '17'
dev
wikisql
Name the total number of fin pos for 12 points of accident
indychallenge_2007
[ "fin_pos", "car_no", "driver", "team", "laps", "time_retired", "grid", "laps_led", "points" ]
[ "real", "real", "text", "text", "real", "text", "real", "real", "text" ]
SELECT COUNT("fin_pos") FROM indychallenge_2007 WHERE "points" = '12' AND "time_retired" = 'Accident'
dev
wikisql
Name the number of driver for fin pos of 19
indychallenge_2007
[ "fin_pos", "car_no", "driver", "team", "laps", "time_retired", "grid", "laps_led", "points" ]
[ "real", "real", "text", "text", "real", "text", "real", "real", "text" ]
SELECT COUNT("driver") FROM indychallenge_2007 WHERE "fin_pos" = 19
dev
wikisql
how many high assists stats were maade on february 4
hawks_game
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("high_assists") FROM hawks_game WHERE "date" = 'February 4'
dev
wikisql
who made high assists on february 4
hawks_game
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "high_assists" FROM hawks_game WHERE "date" = 'February 4'
dev
wikisql
What was the score in game 81?
magic_season_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "score" FROM magic_season_stats WHERE "game" = 81
dev
wikisql
Which player had the highest points in game 79?
magic_season_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "high_points" FROM magic_season_stats WHERE "game" = 79
dev
wikisql
What team(s) did they play on march 9?
heat_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "team" FROM heat_game_stats WHERE "date" = 'March 9'
dev
wikisql
Who had the high point total against cleveland?
heat_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "high_points" FROM heat_game_stats WHERE "team" = 'Cleveland'
dev
wikisql
When did they play Miami?
nba_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "date" FROM nba_game_stats WHERE "team" = 'Miami'
dev
wikisql
Name the total number of score for staples center 13,266
clippers_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("score") FROM clippers_game_stats WHERE "location_attendance" = 'Staples Center 13,266'
dev
wikisql
Name the high points for the date of november 24
clippers_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "high_points" FROM clippers_game_stats WHERE "date" = 'November 24'
dev
wikisql
Name the high assists for l 98–103 (ot)
clippers_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "high_assists" FROM clippers_game_stats WHERE "score" = 'L 98–103 (OT)'
dev
wikisql
What was the team's score on April 1?
suns_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "score" FROM suns_game_stats WHERE "date" = 'April 1'
dev
wikisql
Who did the most assists when Matt Barnes (11) got the most rebounds?
suns_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "high_assists" FROM suns_game_stats WHERE "high_rebounds" = 'Matt Barnes (11)'
dev
wikisql
Steve Nash (24) got high points for how many teams?
suns_game_stats
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("team") FROM suns_game_stats WHERE "high_points" = 'Steve Nash (24)'
dev
wikisql
After the March 15 game, what was the team's record?
nba_game_stats_2
[ "game", "date", "team", "score", "high_points", "high_rebounds", "high_assists", "location_attendance", "record" ]
[ "real", "text", "text", "text", "text", "text", "text", "text", "text" ]
SELECT "record" FROM nba_game_stats_2 WHERE "date" = 'March 15'
dev
wikisql
Name who wrote the episode directed by arthur albert
tv_episode_data_9
[ "series", "season", "title", "directed_by", "written_by", "original_air_date" ]
[ "real", "real", "text", "text", "text", "text" ]
SELECT "written_by" FROM tv_episode_data_9 WHERE "directed_by" = 'Arthur Albert'
dev
wikisql
Name the title that was written by r. scott gemmill
tv_episode_data_9
[ "series", "season", "title", "directed_by", "written_by", "original_air_date" ]
[ "real", "real", "text", "text", "text", "text" ]
SELECT "title" FROM tv_episode_data_9 WHERE "written_by" = 'R. Scott Gemmill'
dev
wikisql
Name who directed the episode for the series number 236
tv_episode_data_9
[ "series", "season", "title", "directed_by", "written_by", "original_air_date" ]
[ "real", "real", "text", "text", "text", "text" ]
SELECT "directed_by" FROM tv_episode_data_9 WHERE "series" = 236
dev
wikisql
How many games did the team who scored 60 goals win?
northern_league_stats
[ "position", "team", "played", "won", "drawn", "lost", "goals_for", "goals_against", "goal_average_1", "points_2" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "text", "real" ]
SELECT MIN("won") FROM northern_league_stats WHERE "goals_for" = 60
dev
wikisql
How many points did Goole Town accumulate?
northern_league_stats
[ "position", "team", "played", "won", "drawn", "lost", "goals_for", "goals_against", "goal_average_1", "points_2" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "text", "real" ]
SELECT COUNT("points_2") FROM northern_league_stats WHERE "team" = 'Goole Town'
dev
wikisql
List all losses with average goals of 1.21.
northern_league_stats_2
[ "position", "team", "played", "won", "drawn", "lost", "goals_for", "goals_against", "goal_average_1", "points_2" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "text", "real" ]
SELECT "lost" FROM northern_league_stats_2 WHERE "goal_average_1" = '1.21'
dev
wikisql
Which team had goal averages of 1.34?
northern_league_stats_2
[ "position", "team", "played", "won", "drawn", "lost", "goals_for", "goals_against", "goal_average_1", "points_2" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "text", "real" ]
SELECT "team" FROM northern_league_stats_2 WHERE "goal_average_1" = '1.34'
dev
wikisql
What is the highest position of the Bangor City team?
northern_league_stats_2
[ "position", "team", "played", "won", "drawn", "lost", "goals_for", "goals_against", "goal_average_1", "points_2" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "text", "real" ]
SELECT MAX("position") FROM northern_league_stats_2 WHERE "team" = 'Bangor City'
dev
wikisql
How many times did the Lancaster City team play?
northern_league_stats_2
[ "position", "team", "played", "won", "drawn", "lost", "goals_for", "goals_against", "goal_average_1", "points_2" ]
[ "real", "text", "real", "real", "real", "real", "real", "real", "text", "real" ]
SELECT COUNT("played") FROM northern_league_stats_2 WHERE "team" = 'Lancaster City'
dev
wikisql
Which athlete competed in the flyweight division?
athlete_tournament_results
[ "athlete", "event", "round_of_32", "round_of_16", "quarterfinals", "semifinals" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "athlete" FROM athlete_tournament_results WHERE "event" = 'Flyweight'
dev
wikisql
When there was a bye in the round of 32, what was the result in the round of 16?
athlete_tournament_results
[ "athlete", "event", "round_of_32", "round_of_16", "quarterfinals", "semifinals" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "semifinals" FROM athlete_tournament_results WHERE "round_of_32" = 'Bye'
dev
wikisql
What is the part 4 when part 1 is "lesan"?
germanic_strong_verb
[ "class", "part_1", "part_2", "part_3", "part_4", "verb_meaning" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "part_4" FROM germanic_strong_verb WHERE "part_1" = 'lesan'
dev
wikisql
What is the verb meaning of the word with part 3 "sufun"?
germanic_strong_verb
[ "class", "part_1", "part_2", "part_3", "part_4", "verb_meaning" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "verb_meaning" FROM germanic_strong_verb WHERE "part_3" = 'sufun'
dev
wikisql
What class in the word with part 4 "giheizan"?
germanic_strong_verb
[ "class", "part_1", "part_2", "part_3", "part_4", "verb_meaning" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "class" FROM germanic_strong_verb WHERE "part_4" = 'giheizan'
dev
wikisql
What is the part 4 of the word with the part 1 "heizan"?
germanic_strong_verb
[ "class", "part_1", "part_2", "part_3", "part_4", "verb_meaning" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "part_4" FROM germanic_strong_verb WHERE "part_1" = 'heizan'
dev
wikisql
What is the part 3 of the word in class 7a?
germanic_strong_verb
[ "class", "part_1", "part_2", "part_3", "part_4", "verb_meaning" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "part_3" FROM germanic_strong_verb WHERE "class" = '7a'
dev
wikisql
What is the verb meaning of the word with part 2 "bant"?
germanic_strong_verb
[ "class", "part_1", "part_2", "part_3", "part_4", "verb_meaning" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "verb_meaning" FROM germanic_strong_verb WHERE "part_2" = 'bant'
dev
wikisql
What was the swimsuit score for the country with the average score of 8.848?
miss_usa_1985_scores
[ "country", "preliminary", "interview", "swimsuit", "evening_gown", "average" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "swimsuit" FROM miss_usa_1985_scores WHERE "average" = '8.848'
dev
wikisql
What country had a swimsuit score of 8.788?
miss_usa_1985_scores
[ "country", "preliminary", "interview", "swimsuit", "evening_gown", "average" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "country" FROM miss_usa_1985_scores WHERE "swimsuit" = '8.788'
dev
wikisql
What was the swimsuit score for Illinois?
miss_usa_1985_scores
[ "country", "preliminary", "interview", "swimsuit", "evening_gown", "average" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "swimsuit" FROM miss_usa_1985_scores WHERE "country" = 'Illinois'
dev
wikisql
What was the average score for the country with the evening gown score of 9.100?
miss_usa_1985_scores
[ "country", "preliminary", "interview", "swimsuit", "evening_gown", "average" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT COUNT("average") FROM miss_usa_1985_scores WHERE "evening_gown" = '9.100'
dev
wikisql
What was the swimsuit score for the country with the average score of 8.848?
miss_usa_1985_scores
[ "country", "preliminary", "interview", "swimsuit", "evening_gown", "average" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "swimsuit" FROM miss_usa_1985_scores WHERE "average" = '8.848'
dev
wikisql
Name the swuinsuit for oregon
miss_usa_1984_scores
[ "state", "preliminary", "interview", "swimsuit", "evening_gown", "average" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "swimsuit" FROM miss_usa_1984_scores WHERE "state" = 'Oregon'
dev
wikisql
Name the preliminary for north carolina
miss_usa_1984_scores
[ "state", "preliminary", "interview", "swimsuit", "evening_gown", "average" ]
[ "text", "text", "text", "text", "text", "text" ]
SELECT "preliminary" FROM miss_usa_1984_scores WHERE "state" = 'North Carolina'
dev
wikisql
What are the census ranking(s) of maugerville?
sunbury_county
[ "official_name", "status", "area_km_2", "population", "census_ranking" ]
[ "text", "text", "text", "real", "text" ]
SELECT "census_ranking" FROM sunbury_county WHERE "official_name" = 'Maugerville'
dev
wikisql
What is the status(es) of the place with an area of 304.06 km2?
sunbury_county
[ "official_name", "status", "area_km_2", "population", "census_ranking" ]
[ "text", "text", "text", "real", "text" ]
SELECT "status" FROM sunbury_county WHERE "area_km_2" = '304.06'
dev
wikisql
What are the official name(s) of places with an area of 304.06 km2?
sunbury_county
[ "official_name", "status", "area_km_2", "population", "census_ranking" ]
[ "text", "text", "text", "real", "text" ]
SELECT "official_name" FROM sunbury_county WHERE "area_km_2" = '304.06'
dev
wikisql
What are the official name(s) of places with an area of 304.06 km2?
sunbury_county
[ "official_name", "status", "area_km_2", "population", "census_ranking" ]
[ "text", "text", "text", "real", "text" ]
SELECT "official_name" FROM sunbury_county WHERE "area_km_2" = '304.06'
dev
wikisql
Name the school for columbia city
schools_data
[ "school", "est_denotes_original_date_of_establishment_of_the_school_changes_in_name_and_or_location_noted_in_corresponding_ootnote", "location_denotes_location_of_school_by_seattle_neighborhood_does_not_necessary_correspond_with_attendance_area", "nickname", "11_12_enrollment" ]
[ "text", "real", "text", "text", "real" ]
SELECT "school" FROM schools_data WHERE "location_denotes_location_of_school_by_seattle_neighborhood_does_not_necessary_correspond_with_attendance_area" = 'Columbia City'
dev
wikisql
Name the location for school eckstein
schools_data
[ "school", "est_denotes_original_date_of_establishment_of_the_school_changes_in_name_and_or_location_noted_in_corresponding_ootnote", "location_denotes_location_of_school_by_seattle_neighborhood_does_not_necessary_correspond_with_attendance_area", "nickname", "11_12_enrollment" ]
[ "text", "real", "text", "text", "real" ]
SELECT "location_denotes_location_of_school_by_seattle_neighborhood_does_not_necessary_correspond_with_attendance_area" FROM schools_data WHERE "school" = 'Eckstein'
dev
wikisql
Name the minimum 11-12 enrollment for washington school
schools_data
[ "school", "est_denotes_original_date_of_establishment_of_the_school_changes_in_name_and_or_location_noted_in_corresponding_ootnote", "location_denotes_location_of_school_by_seattle_neighborhood_does_not_necessary_correspond_with_attendance_area", "nickname", "11_12_enrollment" ]
[ "text", "real", "text", "text", "real" ]
SELECT MIN("11_12_enrollment") FROM schools_data WHERE "school" = 'Washington'
dev
wikisql
Name the most 11-12 enrollment for columbia city
schools_data
[ "school", "est_denotes_original_date_of_establishment_of_the_school_changes_in_name_and_or_location_noted_in_corresponding_ootnote", "location_denotes_location_of_school_by_seattle_neighborhood_does_not_necessary_correspond_with_attendance_area", "nickname", "11_12_enrollment" ]
[ "text", "real", "text", "text", "real" ]
SELECT MAX("11_12_enrollment") FROM schools_data WHERE "location_denotes_location_of_school_by_seattle_neighborhood_does_not_necessary_correspond_with_attendance_area" = 'Columbia City'
dev
wikisql
What's the curb weight of the model with a wheelbase of mm (in) and height of mm (in) mm (in) (4Matic)?
vehicle_specs
[ "body_style", "wheelbase", "length", "height", "curb_weight" ]
[ "text", "text", "text", "text", "text" ]
SELECT "curb_weight" FROM vehicle_specs WHERE "wheelbase" = 'mm (in)' AND "height" = 'mm (in) mm (in) (4Matic)'
dev
wikisql
What's the length of the model with 500 E body style?
vehicle_specs
[ "body_style", "wheelbase", "length", "height", "curb_weight" ]
[ "text", "text", "text", "text", "text" ]
SELECT "length" FROM vehicle_specs WHERE "body_style" = '500 E'
dev
wikisql
What's the length of the model with Sedan body style?
vehicle_specs
[ "body_style", "wheelbase", "length", "height", "curb_weight" ]
[ "text", "text", "text", "text", "text" ]
SELECT "length" FROM vehicle_specs WHERE "body_style" = 'Sedan'
dev
wikisql
What are the lengths of the models that are mm (in) tall?
vehicle_specs
[ "body_style", "wheelbase", "length", "height", "curb_weight" ]
[ "text", "text", "text", "text", "text" ]
SELECT "length" FROM vehicle_specs WHERE "height" = 'mm (in)'
dev
wikisql
How many providers are there where the resale category is yes and bandwith is up is 1024?
dsl_connection_details
[ "dsl_type", "provider", "resale", "down_up_to_kbit_s", "up_up_to_kbit_s" ]
[ "text", "text", "text", "real", "real" ]
SELECT COUNT("provider") FROM dsl_connection_details WHERE "resale" = 'yes' AND "up_up_to_kbit_s" = 1024
dev
wikisql
What is download bandwith where the provider is deutsche telekom ag?
dsl_connection_details
[ "dsl_type", "provider", "resale", "down_up_to_kbit_s", "up_up_to_kbit_s" ]
[ "text", "text", "text", "real", "real" ]
SELECT MAX("down_up_to_kbit_s") FROM dsl_connection_details WHERE "provider" = 'Deutsche Telekom AG'
dev
wikisql
Who are all of the telecom providers for which the upload rate is 1024 kbits and the resale category is yes?
dsl_connection_details
[ "dsl_type", "provider", "resale", "down_up_to_kbit_s", "up_up_to_kbit_s" ]
[ "text", "text", "text", "real", "real" ]
SELECT "provider" FROM dsl_connection_details WHERE "up_up_to_kbit_s" = 1024 AND "resale" = 'yes'
dev
wikisql
What are all the dsl type offered by the M-Net telecom company?
dsl_connection_details
[ "dsl_type", "provider", "resale", "down_up_to_kbit_s", "up_up_to_kbit_s" ]
[ "text", "text", "text", "real", "real" ]
SELECT "dsl_type" FROM dsl_connection_details WHERE "provider" = 'M-net'
dev
wikisql
What is the resale category for the provider NetCologne?
dsl_connection_details
[ "dsl_type", "provider", "resale", "down_up_to_kbit_s", "up_up_to_kbit_s" ]
[ "text", "text", "text", "real", "real" ]
SELECT "resale" FROM dsl_connection_details WHERE "provider" = 'Netcologne'
dev
wikisql
How many results are listed for week 13?
broncos_1966_season
[ "week", "date", "opponent", "result", "game_site", "record", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT COUNT("result") FROM broncos_1966_season WHERE "week" = 13
dev
wikisql
On October 16, 1966, what was the game site?
broncos_1966_season
[ "week", "date", "opponent", "result", "game_site", "record", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT "game_site" FROM broncos_1966_season WHERE "date" = 'October 16, 1966'
dev
wikisql
What was the date of the game when the opponent was the Miami Dolphins?
broncos_1966_season
[ "week", "date", "opponent", "result", "game_site", "record", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT "date" FROM broncos_1966_season WHERE "opponent" = 'Miami Dolphins'
dev
wikisql
On how many dates was the complete 4th series released?
rush_tv_series
[ "season", "date_released", "of_episodes", "of_discs", "special_features" ]
[ "text", "text", "real", "real", "text" ]
SELECT COUNT("date_released") FROM rush_tv_series WHERE "season" = 'The Complete 4th Series'
dev
wikisql
How many discs for the complete 4th series?
rush_tv_series
[ "season", "date_released", "of_episodes", "of_discs", "special_features" ]
[ "text", "text", "real", "real", "text" ]
SELECT MAX("of_discs") FROM rush_tv_series WHERE "season" = 'The Complete 4th Series'
dev
wikisql
What day was the complete 2nd series: volume one released?
rush_tv_series
[ "season", "date_released", "of_episodes", "of_discs", "special_features" ]
[ "text", "text", "real", "real", "text" ]
SELECT "date_released" FROM rush_tv_series WHERE "season" = 'The Complete 2nd Series: Volume One'
dev
wikisql
Which US air date had 4.4 million viewers?
tv_episode_data_10
[ "no_in_series", "no_in_season", "title", "directed_by", "written_by", "original_u_s_air_date", "prod_code", "viewers_millions" ]
[ "real", "real", "text", "text", "text", "text", "real", "text" ]
SELECT "original_u_s_air_date" FROM tv_episode_data_10 WHERE "viewers_millions" = '4.4'
dev
wikisql
How many million viewers watched episode 6?
tv_episode_data_10
[ "no_in_series", "no_in_season", "title", "directed_by", "written_by", "original_u_s_air_date", "prod_code", "viewers_millions" ]
[ "real", "real", "text", "text", "text", "text", "real", "text" ]
SELECT "viewers_millions" FROM tv_episode_data_10 WHERE "no_in_season" = 6
dev
wikisql
Who was the directed for the episode titled "twister: part 1"?
tv_episode_data_10
[ "no_in_series", "no_in_season", "title", "directed_by", "written_by", "original_u_s_air_date", "prod_code", "viewers_millions" ]
[ "real", "real", "text", "text", "text", "text", "real", "text" ]
SELECT "directed_by" FROM tv_episode_data_10 WHERE "title" = '"Twister: Part 1"'
dev
wikisql
What episode number was titled "my oh maya"?
tv_episode_data_10
[ "no_in_series", "no_in_season", "title", "directed_by", "written_by", "original_u_s_air_date", "prod_code", "viewers_millions" ]
[ "real", "real", "text", "text", "text", "text", "real", "text" ]
SELECT MIN("no_in_season") FROM tv_episode_data_10 WHERE "title" = '"My Oh Maya"'
dev
wikisql
Name the most wickets for best is 4/22
twenty20_2008_stats
[ "player", "team", "matches", "overs", "runs", "wickets", "best", "econ", "s_rate", "4_inns", "5_inns", "average" ]
[ "text", "text", "real", "text", "real", "real", "text", "text", "text", "real", "real", "text" ]
SELECT MAX("wickets") FROM twenty20_2008_stats WHERE "best" = '4/22'
dev
wikisql
Name the least matches for runs being 276
twenty20_2008_stats
[ "player", "team", "matches", "overs", "runs", "wickets", "best", "econ", "s_rate", "4_inns", "5_inns", "average" ]
[ "text", "text", "real", "text", "real", "real", "text", "text", "text", "real", "real", "text" ]
SELECT MIN("matches") FROM twenty20_2008_stats WHERE "runs" = 276
dev
wikisql
Name the matches for wickets 17
twenty20_2008_stats
[ "player", "team", "matches", "overs", "runs", "wickets", "best", "econ", "s_rate", "4_inns", "5_inns", "average" ]
[ "text", "text", "real", "text", "real", "real", "text", "text", "text", "real", "real", "text" ]
SELECT "matches" FROM twenty20_2008_stats WHERE "wickets" = 17
dev
wikisql
Name the most 4/inns
twenty20_2008_stats
[ "player", "team", "matches", "overs", "runs", "wickets", "best", "econ", "s_rate", "4_inns", "5_inns", "average" ]
[ "text", "text", "real", "text", "real", "real", "text", "text", "text", "real", "real", "text" ]
SELECT MAX("4_inns") FROM twenty20_2008_stats
dev
wikisql
What was the date of the week 4 game?
broncos_1976_season
[ "week", "date", "opponent", "result", "game_site", "record", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT "date" FROM broncos_1976_season WHERE "week" = 4
dev
wikisql
What was the week number when the opponent was the New York Jets?
broncos_1976_season
[ "week", "date", "opponent", "result", "game_site", "record", "attendance" ]
[ "real", "text", "text", "text", "text", "text", "real" ]
SELECT MAX("week") FROM broncos_1976_season WHERE "opponent" = 'New York Jets'
dev
wikisql
What is the district when the first elected was in 1986?
election_results_2006
[ "district", "incumbent", "party", "first_elected", "results", "candidates" ]
[ "text", "text", "text", "real", "text", "text" ]
SELECT "district" FROM election_results_2006 WHERE "first_elected" = 1986
dev
wikisql
Who were the candidates when the first elected was a republican in 1998?
election_results_2006
[ "district", "incumbent", "party", "first_elected", "results", "candidates" ]
[ "text", "text", "text", "real", "text", "text" ]
SELECT "candidates" FROM election_results_2006 WHERE "first_elected" = 1998 AND "party" = 'Republican'
dev
wikisql
How many times was Mike McIntyre elected?
election_results_2006_2
[ "district", "incumbent", "party", "first_elected", "results", "candidates" ]
[ "text", "text", "text", "real", "text", "text" ]
SELECT COUNT("results") FROM election_results_2006_2 WHERE "incumbent" = 'Mike McIntyre'
dev
wikisql
Which party was elected first in 1998?
election_results_2006_2
[ "district", "incumbent", "party", "first_elected", "results", "candidates" ]
[ "text", "text", "text", "real", "text", "text" ]
SELECT "party" FROM election_results_2006_2 WHERE "first_elected" = 1998
dev
wikisql
How many times did Robin Hayes run?
election_results_2006_2
[ "district", "incumbent", "party", "first_elected", "results", "candidates" ]
[ "text", "text", "text", "real", "text", "text" ]
SELECT COUNT("candidates") FROM election_results_2006_2 WHERE "incumbent" = 'Robin Hayes'
dev
wikisql
What district first elected a Democratic incumbent in 1998?
election_results_2006_3
[ "district", "incumbent", "party", "first_elected", "results", "candidates" ]
[ "text", "text", "text", "real", "text", "text" ]
SELECT "district" FROM election_results_2006_3 WHERE "party" = 'Democratic' AND "first_elected" = 1998
dev
wikisql
How many tackle assists for the player who averages 23.7?
defensive_stats
[ "name", "gp_gs", "solo", "ast", "total", "tfl_yds", "no_yds", "brup", "qbh", "no_yds_2", "avg", "td", "long", "rcv_yds", "ff", "blkd_kick" ]
[ "text", "text", "real", "real", "real", "text", "text", "real", "real", "text", "text", "real", "real", "text", "real", "real" ]
SELECT "ast" FROM defensive_stats WHERE "avg" = '23.7'
dev
wikisql
How many players named jake flaherty?
defensive_stats
[ "name", "gp_gs", "solo", "ast", "total", "tfl_yds", "no_yds", "brup", "qbh", "no_yds_2", "avg", "td", "long", "rcv_yds", "ff", "blkd_kick" ]
[ "text", "text", "real", "real", "real", "text", "text", "real", "real", "text", "text", "real", "real", "text", "real", "real" ]
SELECT COUNT("solo") FROM defensive_stats WHERE "name" = 'Jake Flaherty'
dev
wikisql
What is the total brup for the team?
defensive_stats
[ "name", "gp_gs", "solo", "ast", "total", "tfl_yds", "no_yds", "brup", "qbh", "no_yds_2", "avg", "td", "long", "rcv_yds", "ff", "blkd_kick" ]
[ "text", "text", "real", "real", "real", "text", "text", "real", "real", "text", "text", "real", "real", "text", "real", "real" ]
SELECT "brup" FROM defensive_stats WHERE "name" = 'Total'
dev
wikisql
What is the largest number of tds scored for a player?
defensive_stats
[ "name", "gp_gs", "solo", "ast", "total", "tfl_yds", "no_yds", "brup", "qbh", "no_yds_2", "avg", "td", "long", "rcv_yds", "ff", "blkd_kick" ]
[ "text", "text", "real", "real", "real", "text", "text", "real", "real", "text", "text", "real", "real", "text", "real", "real" ]
SELECT MAX("td") FROM defensive_stats
dev
wikisql
How many yards for the player with tfl-yds of 2.5-4?
defensive_stats
[ "name", "gp_gs", "solo", "ast", "total", "tfl_yds", "no_yds", "brup", "qbh", "no_yds_2", "avg", "td", "long", "rcv_yds", "ff", "blkd_kick" ]
[ "text", "text", "real", "real", "real", "text", "text", "real", "real", "text", "text", "real", "real", "text", "real", "real" ]
SELECT "no_yds_2" FROM defensive_stats WHERE "tfl_yds" = '2.5-4'
dev
wikisql
What is the lowest number associated with Tonkolili?
sierra_leone_education
[ "measure", "bo", "bombali", "bonthe", "kailahun", "kambia", "kenema", "koinadugu", "kono", "moyamba", "port_loko", "pujehun", "tonkolili" ]
[ "text", "real", "real", "real", "real", "text", "real", "real", "real", "text", "text", "real", "real" ]
SELECT MIN("tonkolili") FROM sierra_leone_education
dev
wikisql
What is the main service for the station with 14.849 million passengers 2011-12?
railway_stats
[ "rank", "railway_station", "annual_entry_exit_millions_2011_12", "annual_interchanges_millions_2011_12", "total_passengers_millions_2011_12", "location", "main_services", "number_of_platforms" ]
[ "real", "text", "text", "text", "text", "text", "text", "real" ]
SELECT "main_services" FROM railway_stats WHERE "total_passengers_millions_2011_12" = '14.849'
dev
wikisql