question
stringlengths 12
244
| create_table_statement
stringlengths 97
895
| sql_query
stringlengths 27
479
| wiki_sql_table_id
stringlengths 8
14
|
---|---|---|---|
What was the losing bonus that had 53 points? | CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "losing_bonus" FROM "league_table" WHERE "points"='53'; | 1-17941032-2 |
List all points against with a 0 try bonus and points for of 150. | CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "points_against" FROM "league_table" WHERE "try_bonus"='0' AND "points_for"='150'; | 1-17941032-2 |
Name the tries against when tries for is 30 | CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "tries_against" FROM "league_table" WHERE "tries_for"='30'; | 1-17941032-3 |
Name the points when tries for is 49 | CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "points" FROM "league_table" WHERE "tries_for"='49'; | 1-17941032-3 |
Name the try bonus for lost being 11 and losing bonus is 6 | CREATE TABLE "league_table" (
"club" text,
"played" text,
"won" text,
"drawn" text,
"lost" text,
"points_for" text,
"points_against" text,
"tries_for" text,
"tries_against" text,
"try_bonus" text,
"losing_bonus" text,
"points" text
); | SELECT "try_bonus" FROM "league_table" WHERE "lost"='11' AND "losing_bonus"='6'; | 1-17941032-3 |
What is the aggregate when the second leg is 1-3? | CREATE TABLE "knockout_stages" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
); | SELECT "aggregate" FROM "knockout_stages" WHERE "2nd_leg"='1-3'; | 1-17968229-1 |
For home of River Plate, what is the first leg listed? | CREATE TABLE "knockout_stages" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
); | SELECT "1st_leg" FROM "knockout_stages" WHERE "home_2nd_leg"='River Plate'; | 1-17968229-1 |
With an aggregate of 0-2, what is listed for home? | CREATE TABLE "knockout_stages" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
); | SELECT "home_2nd_leg" FROM "knockout_stages" WHERE "aggregate"='0-2'; | 1-17968229-1 |
If the home is Atlético Tucumán, what is the name of the first leg? | CREATE TABLE "knockout_stages" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
); | SELECT "1st_leg" FROM "knockout_stages" WHERE "home_2nd_leg"='Atlético Tucumán'; | 1-17968229-1 |
If second leg is Newell's Old Boys, what name is first leg? | CREATE TABLE "knockout_stages" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
); | SELECT "1st_leg" FROM "knockout_stages" WHERE "home_2nd_leg"='Newell''s Old Boys'; | 1-17968229-1 |
What is the chinese name for whom chan chi-yuen, paul is listed as the romanised name? | CREATE TABLE "political_assistants" (
"romanised_name" text,
"chinese_name" text,
"age_at_appointment" real,
"foreign_nationality" text,
"portfolio_attachment" text,
"prior_occupation" text,
"govt_salary" text
); | SELECT "chinese_name" FROM "political_assistants" WHERE "romanised_name"='Chan Chi-yuen, Paul'; | 1-17964087-2 |
The name cheung, raymond man-to is listed as a romanised name is cheung, raymond man-to? | CREATE TABLE "political_assistants" (
"romanised_name" text,
"chinese_name" text,
"age_at_appointment" real,
"foreign_nationality" text,
"portfolio_attachment" text,
"prior_occupation" text,
"govt_salary" text
); | SELECT "foreign_nationality" FROM "political_assistants" WHERE "romanised_name"='Cheung, Raymond Man-to'; | 1-17964087-2 |
For the chinese name 盧奕基 how many in total is the govt salary? | CREATE TABLE "political_assistants" (
"romanised_name" text,
"chinese_name" text,
"age_at_appointment" real,
"foreign_nationality" text,
"portfolio_attachment" text,
"prior_occupation" text,
"govt_salary" text
); | SELECT COUNT("govt_salary") FROM "political_assistants" WHERE "chinese_name"='盧奕基'; | 1-17964087-2 |
For the name romanised name is lo yik-kee, victor what is the total number foreign nationality that is listed? | CREATE TABLE "political_assistants" (
"romanised_name" text,
"chinese_name" text,
"age_at_appointment" real,
"foreign_nationality" text,
"portfolio_attachment" text,
"prior_occupation" text,
"govt_salary" text
); | SELECT COUNT("foreign_nationality") FROM "political_assistants" WHERE "romanised_name"='Lo Yik-kee, Victor'; | 1-17964087-2 |
For the prior occupation listed as assistant police commissioner (ret'd) what are the entire list of romanised name. | CREATE TABLE "political_assistants" (
"romanised_name" text,
"chinese_name" text,
"age_at_appointment" real,
"foreign_nationality" text,
"portfolio_attachment" text,
"prior_occupation" text,
"govt_salary" text
); | SELECT "romanised_name" FROM "political_assistants" WHERE "prior_occupation"='Assistant Police Commissioner (ret''d)'; | 1-17964087-2 |
Name the most played when points is 105 | CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
); | SELECT MAX("played") FROM "relegation" WHERE "points"=105; | 1-17968282-1 |
Name the total number of points for newell's old boys | CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
); | SELECT COUNT("points") FROM "relegation" WHERE "team"='Newell''s Old Boys'; | 1-17968282-1 |
Name the points for 1992-93 for 42 | CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1991_92" text,
"1992_93" text,
"1993_94" real
); | SELECT "points" FROM "relegation" WHERE "1992_93"='42'; | 1-17968282-1 |
If the aggregate is 3-4, what is the first leg? | CREATE TABLE "losers_knockout" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
); | SELECT "home_1st_leg" FROM "losers_knockout" WHERE "aggregate"='3-4'; | 1-17968233-2 |
If the second leg is Instituto, what is the total number of aggregate? | CREATE TABLE "losers_knockout" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
); | SELECT COUNT("aggregate") FROM "losers_knockout" WHERE "home_2nd_leg"='Instituto'; | 1-17968233-2 |
If the second leg is 1-1, what is the first leg? | CREATE TABLE "losers_knockout" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
); | SELECT "home_1st_leg" FROM "losers_knockout" WHERE "2nd_leg"='1-1'; | 1-17968233-2 |
If the second leg is 3-2, what is the first leg? | CREATE TABLE "losers_knockout" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
); | SELECT "home_1st_leg" FROM "losers_knockout" WHERE "2nd_leg"='3-2'; | 1-17968233-2 |
If the second leg is 1-1, what is the first leg? | CREATE TABLE "losers_knockout" (
"home_1st_leg" text,
"home_2nd_leg" text,
"1st_leg" text,
"2nd_leg" text,
"aggregate" text
); | SELECT "1st_leg" FROM "losers_knockout" WHERE "2nd_leg"='1-1'; | 1-17968233-2 |
How many games were played by the Vélez Sársfield team from 1989-90? | CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1988_89" text,
"1989_90" text,
"1990_1991" real
); | SELECT "1989_90" FROM "relegation" WHERE "team"='Vélez Sársfield'; | 1-17968274-2 |
What was the average of the team if they played 31 games from 1990-1991? | CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1988_89" text,
"1989_90" text,
"1990_1991" real
); | SELECT "average" FROM "relegation" WHERE "1990_1991"=31; | 1-17968274-2 |
What was the team that scored 122 points? | CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1988_89" text,
"1989_90" text,
"1990_1991" real
); | SELECT "team" FROM "relegation" WHERE "points"=122; | 1-17968274-2 |
What was the average if the game played during 1990-91 is 40 and the points are less than 121.0? | CREATE TABLE "relegation" (
"team" text,
"average" text,
"points" real,
"played" real,
"1988_89" text,
"1989_90" text,
"1990_1991" real
); | SELECT "average" FROM "relegation" WHERE "1990_1991"=40 AND "points"<121.0; | 1-17968274-2 |
What is the opponent played on October 4? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "opponent" FROM "schedule" WHERE "date"='October 4'; | 1-17972136-1 |
Where is riverfront stadium the game site for the week? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT MIN("week") FROM "schedule" WHERE "game_site"='Riverfront Stadium'; | 1-17972136-1 |
How many number of lakes are there in the Valdez-Cordova (CA) area? | CREATE TABLE "table1_17978052_2" (
"num_s_dam_and_gnis_query_link" real,
"num_s_lake_and_gnis_query_link" real,
"num_s_reservoir_and_gnis_query_link" real,
"borough_or_census_area" text,
"comment" text
); | SELECT MIN("num_s_lake_and_gnis_query_link") FROM "table1_17978052_2" WHERE "borough_or_census_area"='Valdez-Cordova (CA)'; | 1-17978052-2 |
What was the comment on the Denali area? | CREATE TABLE "table1_17978052_2" (
"num_s_dam_and_gnis_query_link" real,
"num_s_lake_and_gnis_query_link" real,
"num_s_reservoir_and_gnis_query_link" real,
"borough_or_census_area" text,
"comment" text
); | SELECT "comment" FROM "table1_17978052_2" WHERE "borough_or_census_area"='Denali'; | 1-17978052-2 |
How many dams are there in the Lake and Peninsula area? | CREATE TABLE "table1_17978052_2" (
"num_s_dam_and_gnis_query_link" real,
"num_s_lake_and_gnis_query_link" real,
"num_s_reservoir_and_gnis_query_link" real,
"borough_or_census_area" text,
"comment" text
); | SELECT MAX("num_s_dam_and_gnis_query_link") FROM "table1_17978052_2" WHERE "borough_or_census_area"='Lake and Peninsula'; | 1-17978052-2 |
How many dams are there in the Nome (CA) area? | CREATE TABLE "table1_17978052_2" (
"num_s_dam_and_gnis_query_link" real,
"num_s_lake_and_gnis_query_link" real,
"num_s_reservoir_and_gnis_query_link" real,
"borough_or_census_area" text,
"comment" text
); | SELECT MIN("num_s_dam_and_gnis_query_link") FROM "table1_17978052_2" WHERE "borough_or_census_area"='Nome (CA)'; | 1-17978052-2 |
How many comments are there in the Bethel (CA) Borough area? | CREATE TABLE "table1_17978052_2" (
"num_s_dam_and_gnis_query_link" real,
"num_s_lake_and_gnis_query_link" real,
"num_s_reservoir_and_gnis_query_link" real,
"borough_or_census_area" text,
"comment" text
); | SELECT COUNT("comment") FROM "table1_17978052_2" WHERE "borough_or_census_area"='Bethel (CA)'; | 1-17978052-2 |
How many total numbers of attendance are there during the game in October 27? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT COUNT("attendance") FROM "schedule" WHERE "date"='October 27'; | 1-17972193-1 |
What was the game record when the opponent was 'at Los Angeles Raiders'? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "record" FROM "schedule" WHERE "opponent"='at Los Angeles Raiders'; | 1-17972193-1 |
When was the game played when the opponent was 'at Los Angeles Rams'? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT "date" FROM "schedule" WHERE "opponent"='at Los Angeles Rams'; | 1-17972193-1 |
How many total number of attendance were there when the game was held in Anaheim Stadium? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT COUNT("attendance") FROM "schedule" WHERE "game_site"='Anaheim Stadium'; | 1-17972193-1 |
How many were in attendance when the game was held in Arrowhead Stadium? | CREATE TABLE "schedule" (
"week" real,
"date" text,
"opponent" text,
"result" text,
"game_site" text,
"record" text,
"attendance" real
); | SELECT MIN("attendance") FROM "schedule" WHERE "game_site"='Arrowhead Stadium'; | 1-17972193-1 |
What is the highest position a team with 7 draws earned? | CREATE TABLE "a_lyga" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MAX("position") FROM "a_lyga" WHERE "draws"=7; | 1-18018214-1 |
Name the original air date for ai% for 83 | CREATE TABLE "table1_18012738_1" (
"story_no" text,
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"uk_viewers_million" text,
"ai_pct" real,
"original_air_date" text,
"production_code" text
); | SELECT "original_air_date" FROM "table1_18012738_1" WHERE "ai_pct"=83; | 1-18012738-1 |
Name the story number for paul cornell | CREATE TABLE "table1_18012738_1" (
"story_no" text,
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"uk_viewers_million" text,
"ai_pct" real,
"original_air_date" text,
"production_code" text
); | SELECT "story_no" FROM "table1_18012738_1" WHERE "written_by"='Paul Cornell'; | 1-18012738-1 |
Name the total number directed by for uk viewers being 6.86 | CREATE TABLE "table1_18012738_1" (
"story_no" text,
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"uk_viewers_million" text,
"ai_pct" real,
"original_air_date" text,
"production_code" text
); | SELECT COUNT("directed_by") FROM "table1_18012738_1" WHERE "uk_viewers_million"='6.86'; | 1-18012738-1 |
Name the least ai % | CREATE TABLE "table1_18012738_1" (
"story_no" text,
"episode" real,
"title" text,
"directed_by" text,
"written_by" text,
"uk_viewers_million" text,
"ai_pct" real,
"original_air_date" text,
"production_code" text
); | SELECT MIN("ai_pct") FROM "table1_18012738_1"; | 1-18012738-1 |
What is the highest number of games played? | CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MAX("games_played") FROM "2_lyga_zone_south"; | 1-18018214-4 |
In the game with 31 points, how many goals were conceded? | CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT COUNT("goals_conceded") FROM "2_lyga_zone_south" WHERE "points"=31; | 1-18018214-4 |
How many games had 22 points? | CREATE TABLE "2_lyga_zone_south" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT COUNT("games_played") FROM "2_lyga_zone_south" WHERE "points"=22; | 1-18018214-4 |
How many wins had 58 goals scored? | CREATE TABLE "farm_team_league" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT "wins" FROM "farm_team_league" WHERE "goals_scored"=58; | 1-18018248-2 |
How many clubs had 29 points? | CREATE TABLE "farm_team_league" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT COUNT("club") FROM "farm_team_league" WHERE "points"=29; | 1-18018248-2 |
Which clubs had draws of 9? | CREATE TABLE "farm_team_league" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT "club" FROM "farm_team_league" WHERE "draws"=9; | 1-18018248-2 |
How many draws were there when the conceded goals was numbered at 45? | CREATE TABLE "farm_team_league" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT COUNT("draws") FROM "farm_team_league" WHERE "goals_conceded"=45; | 1-18018248-2 |
What is the least amount of games played with 21 losses? | CREATE TABLE "farm_team_league" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MIN("games_played") FROM "farm_team_league" WHERE "loses"=21; | 1-18018248-2 |
How many games did each team played? | CREATE TABLE "2_lyga_zone_east" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MIN("games_played") FROM "2_lyga_zone_east"; | 1-18018214-3 |
HOw many points where there when the number of goals scored was 47? | CREATE TABLE "2_lyga_zone_east" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MAX("points") FROM "2_lyga_zone_east" WHERE "goals_scored"=47; | 1-18018214-3 |
How many goals were scored by club team fm (losc) vilnius | CREATE TABLE "2_lyga_zone_east" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT "goals_scored" FROM "2_lyga_zone_east" WHERE "club"='FM (LOSC) Vilnius'; | 1-18018214-3 |
How many losses occurred when the club team was ekranas-2 panevėžys | CREATE TABLE "2_lyga_zone_east" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MAX("loses") FROM "2_lyga_zone_east" WHERE "club"='Ekranas-2 Panevėžys'; | 1-18018214-3 |
What was the highest number of wins for any team? | CREATE TABLE "2_lyga_zone_east" (
"position" real,
"club" text,
"games_played" real,
"wins" real,
"draws" real,
"loses" real,
"goals_scored" real,
"goals_conceded" real,
"points" real
); | SELECT MAX("wins") FROM "2_lyga_zone_east"; | 1-18018214-3 |
What is the June 22 ncaat baseball record for Fresno State Bulldogs? | CREATE TABLE "schedule_results" (
"num" real,
"date" text,
"opponent" text,
"score" text,
"site_stadium" text,
"win" text,
"loss" text,
"save" text,
"attendance" real,
"overall_record" text,
"ncaat_record" text
); | SELECT "ncaat_record" FROM "schedule_results" WHERE "date"='June 22'; | 1-18025024-7 |
How many saves were in the Georgia game, versus the Bulldogs, with a score of 7-6? | CREATE TABLE "schedule_results" (
"num" real,
"date" text,
"opponent" text,
"score" text,
"site_stadium" text,
"win" text,
"loss" text,
"save" text,
"attendance" real,
"overall_record" text,
"ncaat_record" text
); | SELECT "save" FROM "schedule_results" WHERE "score"='7-6'; | 1-18025024-7 |
What is the June 21 ncaat baseball record for Fresno State Bulldogs? | CREATE TABLE "schedule_results" (
"num" real,
"date" text,
"opponent" text,
"score" text,
"site_stadium" text,
"win" text,
"loss" text,
"save" text,
"attendance" real,
"overall_record" text,
"ncaat_record" text
); | SELECT "ncaat_record" FROM "schedule_results" WHERE "date"='June 21'; | 1-18025024-7 |
What is the Papal name of the Pope announced as Ioannis Pauli Primi? | CREATE TABLE "actual_examples" (
"birth_name" text,
"birth_name_as_announced_in_latin_accusative_case_forename_undeclined_surname" text,
"papal_name" text,
"papal_name_as_announced_in_latin" text,
"latin_declension_of_papal_name" text,
"numeral_in_papal_name" text
); | SELECT "papal_name" FROM "actual_examples" WHERE "papal_name_as_announced_in_latin"='Ioannis Pauli primi'; | 1-1802173-1 |
What is the announced birth name of the pope whose numeral is not given and whose latin declension is genitive? | CREATE TABLE "actual_examples" (
"birth_name" text,
"birth_name_as_announced_in_latin_accusative_case_forename_undeclined_surname" text,
"papal_name" text,
"papal_name_as_announced_in_latin" text,
"latin_declension_of_papal_name" text,
"numeral_in_papal_name" text
); | SELECT "birth_name_as_announced_in_latin_accusative_case_forename_undeclined_surname" FROM "actual_examples" WHERE "numeral_in_papal_name"='not given' AND "latin_declension_of_papal_name"='genitive'; | 1-1802173-1 |
What pope was announced in latin as Pium? | CREATE TABLE "actual_examples" (
"birth_name" text,
"birth_name_as_announced_in_latin_accusative_case_forename_undeclined_surname" text,
"papal_name" text,
"papal_name_as_announced_in_latin" text,
"latin_declension_of_papal_name" text,
"numeral_in_papal_name" text
); | SELECT "papal_name" FROM "actual_examples" WHERE "papal_name_as_announced_in_latin"='Pium'; | 1-1802173-1 |
What is the latin birth name of the pope announced as Ioannis Pauli Primi? | CREATE TABLE "actual_examples" (
"birth_name" text,
"birth_name_as_announced_in_latin_accusative_case_forename_undeclined_surname" text,
"papal_name" text,
"papal_name_as_announced_in_latin" text,
"latin_declension_of_papal_name" text,
"numeral_in_papal_name" text
); | SELECT "birth_name_as_announced_in_latin_accusative_case_forename_undeclined_surname" FROM "actual_examples" WHERE "papal_name_as_announced_in_latin"='Ioannis Pauli primi'; | 1-1802173-1 |
how many times did estudiantes de la plata participate in 2008 suruga bank championship | CREATE TABLE "table1_18027411_1" (
"team_competition" text,
"2008_suruga_bank_championship" text,
"2008_recopa_sudamericana" text,
"2008_copa_sudamericana" text,
"2009_copa_libertadores" text
); | SELECT COUNT("2008_suruga_bank_championship") FROM "table1_18027411_1" WHERE "team_competition"='Estudiantes de La Plata'; | 1-18027411-1 |
How did the team which was first round eliminated by estudiantes do in 2008 recopa sudamericana | CREATE TABLE "table1_18027411_1" (
"team_competition" text,
"2008_suruga_bank_championship" text,
"2008_recopa_sudamericana" text,
"2008_copa_sudamericana" text,
"2009_copa_libertadores" text
); | SELECT "2008_recopa_sudamericana" FROM "table1_18027411_1" WHERE "2008_copa_sudamericana"='First Round eliminated by Estudiantes'; | 1-18027411-1 |
how many teams were first round eliminated by estudiantes in 2008 copa sudamericana | CREATE TABLE "table1_18027411_1" (
"team_competition" text,
"2008_suruga_bank_championship" text,
"2008_recopa_sudamericana" text,
"2008_copa_sudamericana" text,
"2009_copa_libertadores" text
); | SELECT COUNT("2008_suruga_bank_championship") FROM "table1_18027411_1" WHERE "2008_copa_sudamericana"='First Round eliminated by Estudiantes'; | 1-18027411-1 |
What date was the match against Morocco played? | CREATE TABLE "doubles_17" (
"edition" text,
"round" text,
"date" text,
"partnering" text,
"against" text,
"surface" text,
"opponents" text,
"w_l" text,
"result" text
); | SELECT "date" FROM "doubles_17" WHERE "against"='Morocco'; | 1-18042031-16 |
What country did Gil play against on 21–23 september 2007? | CREATE TABLE "doubles_17" (
"edition" text,
"round" text,
"date" text,
"partnering" text,
"against" text,
"surface" text,
"opponents" text,
"w_l" text,
"result" text
); | SELECT "against" FROM "doubles_17" WHERE "date"='21–23 September 2007'; | 1-18042031-16 |
Who was Gil's partner on 10–12 july 2009 | CREATE TABLE "doubles_17" (
"edition" text,
"round" text,
"date" text,
"partnering" text,
"against" text,
"surface" text,
"opponents" text,
"w_l" text,
"result" text
); | SELECT "partnering" FROM "doubles_17" WHERE "date"='10–12 July 2009'; | 1-18042031-16 |
Where was the successor formally installed on December 3, 1858? | CREATE TABLE "table1_1802760_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
); | SELECT "state_class" FROM "table1_1802760_3" WHERE "date_of_successors_formal_installation"='December 3, 1858'; | 1-1802760-3 |
Why did the change happen in the state where the formal installation happen on February 14, 1859? | CREATE TABLE "table1_1802760_3" (
"state_class" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_of_successors_formal_installation" text
); | SELECT "reason_for_change" FROM "table1_1802760_3" WHERE "date_of_successors_formal_installation"='February 14, 1859'; | 1-1802760-3 |
Name the vacator for tennessee 1st | CREATE TABLE "table1_1802522_4" (
"district" text,
"vacator" text,
"reason_for_change" text,
"successor" text,
"date_successor_seated" text
); | SELECT "vacator" FROM "table1_1802522_4" WHERE "district"='Tennessee 1st'; | 1-1802522-4 |
If the passengers are 15,505,566, what is the iata code? | CREATE TABLE "table1_18047346_4" (
"rank" real,
"airport_name" text,
"location" text,
"iata_code" text,
"passengers" text,
"pct_chg_2009_10" text
); | SELECT "iata_code" FROM "table1_18047346_4" WHERE "passengers"='15,505,566'; | 1-18047346-4 |
If the location is Chicago, Illinois, what is the airport name? | CREATE TABLE "table1_18047346_4" (
"rank" real,
"airport_name" text,
"location" text,
"iata_code" text,
"passengers" text,
"pct_chg_2009_10" text
); | SELECT "airport_name" FROM "table1_18047346_4" WHERE "location"='Chicago, Illinois'; | 1-18047346-4 |
If the amount of passengers is 15,505,566, what is the %/chg. for 2009/10? | CREATE TABLE "table1_18047346_4" (
"rank" real,
"airport_name" text,
"location" text,
"iata_code" text,
"passengers" text,
"pct_chg_2009_10" text
); | SELECT "pct_chg_2009_10" FROM "table1_18047346_4" WHERE "passengers"='15,505,566'; | 1-18047346-4 |
What university did Steve Hoar attend. | CREATE TABLE "table1_18042409_1" (
"player" text,
"alma_mater" text,
"national_lacrosse_league" text,
"major_league_lacrosse" text,
"international_competition" text
); | SELECT "alma_mater" FROM "table1_18042409_1" WHERE "player"='Steve Hoar'; | 1-18042409-1 |
List the plats that attended Wilfrid Laurier University. | CREATE TABLE "table1_18042409_1" (
"player" text,
"alma_mater" text,
"national_lacrosse_league" text,
"major_league_lacrosse" text,
"international_competition" text
); | SELECT "player" FROM "table1_18042409_1" WHERE "alma_mater"='Wilfrid Laurier University'; | 1-18042409-1 |
List all the international lacrosse league competitions for Toronto Rock. | CREATE TABLE "table1_18042409_1" (
"player" text,
"alma_mater" text,
"national_lacrosse_league" text,
"major_league_lacrosse" text,
"international_competition" text
); | SELECT "international_competition" FROM "table1_18042409_1" WHERE "national_lacrosse_league"='Toronto Rock'; | 1-18042409-1 |
List all of the NLL Toronto Rock players. | CREATE TABLE "table1_18042409_1" (
"player" text,
"alma_mater" text,
"national_lacrosse_league" text,
"major_league_lacrosse" text,
"international_competition" text
); | SELECT "player" FROM "table1_18042409_1" WHERE "national_lacrosse_league"='Toronto Rock'; | 1-18042409-1 |
What rank is the airport whose IATA Code is JFK? | CREATE TABLE "table1_18047346_5" (
"rank" real,
"airport_name" text,
"location" text,
"iata_code" text,
"tonnes" text,
"pct_chg_2010_11" text
); | SELECT "rank" FROM "table1_18047346_5" WHERE "iata_code"='JFK'; | 1-18047346-5 |
Which airport has an IATA Code of ORD? | CREATE TABLE "table1_18047346_5" (
"rank" real,
"airport_name" text,
"location" text,
"iata_code" text,
"tonnes" text,
"pct_chg_2010_11" text
); | SELECT "airport_name" FROM "table1_18047346_5" WHERE "iata_code"='ORD'; | 1-18047346-5 |
Louisville International Airport had how many tonnes of cargo in 2011? | CREATE TABLE "table1_18047346_5" (
"rank" real,
"airport_name" text,
"location" text,
"iata_code" text,
"tonnes" text,
"pct_chg_2010_11" text
); | SELECT "tonnes" FROM "table1_18047346_5" WHERE "airport_name"='Louisville International Airport'; | 1-18047346-5 |
How many tonnes of cargo did the airport have with the IATA Code IND? | CREATE TABLE "table1_18047346_5" (
"rank" real,
"airport_name" text,
"location" text,
"iata_code" text,
"tonnes" text,
"pct_chg_2010_11" text
); | SELECT "tonnes" FROM "table1_18047346_5" WHERE "iata_code"='IND'; | 1-18047346-5 |
Who is the incumbent democratic party in district florida 11? | CREATE TABLE "table1_1805191_10" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT "incumbent" FROM "table1_1805191_10" WHERE "party"='Democratic' AND "district"='Florida 11'; | 1-1805191-10 |
In which district is the first elected 2000? | CREATE TABLE "table1_1805191_10" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT "district" FROM "table1_1805191_10" WHERE "first_elected"=2000; | 1-1805191-10 |
When is the first elected in the Florida 19 district? | CREATE TABLE "table1_1805191_10" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT "first_elected" FROM "table1_1805191_10" WHERE "district"='Florida 19'; | 1-1805191-10 |
What are the results of incumbent dave weldon? | CREATE TABLE "table1_1805191_10" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT COUNT("results") FROM "table1_1805191_10" WHERE "incumbent"='Dave Weldon'; | 1-1805191-10 |
How many districts have the incumbent, Charles Rangel? | CREATE TABLE "new_york" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT COUNT("district") FROM "new_york" WHERE "incumbent"='Charles Rangel'; | 1-1805191-33 |
What is the party affiliation of New York 26? | CREATE TABLE "new_york" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT "party" FROM "new_york" WHERE "district"='New York 26'; | 1-1805191-33 |
In the district of Pennsylvania 1, what is the total number of political parties? | CREATE TABLE "pennsylvania" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT COUNT("party") FROM "pennsylvania" WHERE "district"='Pennsylvania 1'; | 1-1805191-39 |
What year was Tim Holden first elected? | CREATE TABLE "pennsylvania" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT MIN("first_elected") FROM "pennsylvania" WHERE "incumbent"='Tim Holden'; | 1-1805191-39 |
How many parties were first elected in 1994? | CREATE TABLE "pennsylvania" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT COUNT("party") FROM "pennsylvania" WHERE "first_elected"=1994; | 1-1805191-39 |
In district Pennsylvania 11, what was the total numbers of results? | CREATE TABLE "pennsylvania" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT COUNT("results") FROM "pennsylvania" WHERE "district"='Pennsylvania 11'; | 1-1805191-39 |
During what year was Representative Spencer Bachus first elected? | CREATE TABLE "alabama" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT COUNT("first_elected") FROM "alabama" WHERE "incumbent"='Spencer Bachus'; | 1-1805191-2 |
What is the party affiliation of the incumbent Robert Cramer? | CREATE TABLE "alabama" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT "party" FROM "alabama" WHERE "incumbent"='Robert Cramer'; | 1-1805191-2 |
Who is the incumbent in the Washington 1 district? | CREATE TABLE "washington" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT "incumbent" FROM "washington" WHERE "district"='Washington 1'; | 1-1805191-48 |
How many categories of first elected are in Washington 4 district? | CREATE TABLE "washington" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT COUNT("first_elected") FROM "washington" WHERE "district"='Washington 4'; | 1-1805191-48 |
What was the result in the election where the date of first elected was 2000? | CREATE TABLE "washington" (
"district" text,
"incumbent" text,
"party" text,
"first_elected" real,
"results" text,
"candidates" text
); | SELECT "results" FROM "washington" WHERE "first_elected"=2000; | 1-1805191-48 |
Who directed the episode titled "Smells Like Teen Sellout"? | CREATE TABLE "table1_18054886_1" (
"no_in_series" real,
"title" text,
"directed_by" text,
"written_by" text,
"original_air_date" text,
"prod_code" real,
"viewers_millions" text
); | SELECT "directed_by" FROM "table1_18054886_1" WHERE "title"='\"Smells Like Teen Sellout\"'; | 1-18054886-1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.