context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR) | If the home is Atlético Tucumán, what is the name of the first leg? | SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "Atlético Tucumán" |
CREATE TABLE table_17968229_1 (home__2nd_leg_ VARCHAR) | If second leg is Newell's Old Boys, what name is first leg? | SELECT 1 AS st_leg FROM table_17968229_1 WHERE home__2nd_leg_ = "Newell's Old Boys" |
CREATE TABLE table_17964087_2 (chinese_name VARCHAR, romanised_name VARCHAR) | What is the chinese name for whom chan chi-yuen, paul is listed as the romanised name? | SELECT chinese_name FROM table_17964087_2 WHERE romanised_name = "Chan Chi-yuen, Paul" |
CREATE TABLE table_17964087_2 (foreign_nationality VARCHAR, romanised_name VARCHAR) | The name cheung, raymond man-to is listed as a romanised name is cheung, raymond man-to? | SELECT foreign_nationality FROM table_17964087_2 WHERE romanised_name = "Cheung, Raymond Man-to" |
CREATE TABLE table_17964087_2 (govt_salary VARCHAR, chinese_name VARCHAR) | For the chinese name 盧奕基 how many in total is the govt salary? | SELECT COUNT(govt_salary) FROM table_17964087_2 WHERE chinese_name = "盧奕基" |
CREATE TABLE table_17964087_2 (foreign_nationality VARCHAR, romanised_name VARCHAR) | For the name romanised name is lo yik-kee, victor what is the total number foreign nationality that is listed? | SELECT COUNT(foreign_nationality) FROM table_17964087_2 WHERE romanised_name = "Lo Yik-kee, Victor" |
CREATE TABLE table_17964087_2 (romanised_name VARCHAR, prior_occupation VARCHAR) | For the prior occupation listed as assistant police commissioner (ret'd) what are the entire list of romanised name. | SELECT romanised_name FROM table_17964087_2 WHERE prior_occupation = "Assistant Police Commissioner (ret'd)" |
CREATE TABLE table_17968282_1 (played INTEGER, points VARCHAR) | Name the most played when points is 105 | SELECT MAX(played) FROM table_17968282_1 WHERE points = 105 |
CREATE TABLE table_17968282_1 (points VARCHAR, team VARCHAR) | Name the total number of points for newell's old boys | SELECT COUNT(points) FROM table_17968282_1 WHERE team = "Newell's Old Boys" |
CREATE TABLE table_17968233_2 (home__1st_leg_ VARCHAR, aggregate VARCHAR) | If the aggregate is 3-4, what is the first leg? | SELECT home__1st_leg_ FROM table_17968233_2 WHERE aggregate = "3-4" |
CREATE TABLE table_17968233_2 (aggregate VARCHAR, home__2nd_leg_ VARCHAR) | If the second leg is Instituto, what is the total number of aggregate? | SELECT COUNT(aggregate) FROM table_17968233_2 WHERE home__2nd_leg_ = "Instituto" |
CREATE TABLE table_17968274_2 (team VARCHAR) | How many games were played by the Vélez Sársfield team from 1989-90? | SELECT 1989 AS _90 FROM table_17968274_2 WHERE team = "Vélez Sársfield" |
CREATE TABLE table_17968274_2 (team VARCHAR, points VARCHAR) | What was the team that scored 122 points? | SELECT team FROM table_17968274_2 WHERE points = 122 |
CREATE TABLE table_17972136_1 (opponent VARCHAR, date VARCHAR) | What is the opponent played on October 4? | SELECT opponent FROM table_17972136_1 WHERE date = "October 4" |
CREATE TABLE table_17972136_1 (week INTEGER, game_site VARCHAR) | Where is riverfront stadium the game site for the week? | SELECT MIN(week) FROM table_17972136_1 WHERE game_site = "Riverfront Stadium" |
CREATE TABLE table_17978052_2 (_number_s_lake_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) | How many number of lakes are there in the Valdez-Cordova (CA) area? | SELECT MIN(_number_s_lake_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Valdez-Cordova (CA)" |
CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR) | What was the comment on the Denali area? | SELECT comment FROM table_17978052_2 WHERE borough_or_census_area = "Denali" |
CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) | How many dams are there in the Lake and Peninsula area? | SELECT MAX(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Lake and Peninsula" |
CREATE TABLE table_17978052_2 (_number_s_dam_and_gnis_query_link INTEGER, borough_or_census_area VARCHAR) | How many dams are there in the Nome (CA) area? | SELECT MIN(_number_s_dam_and_gnis_query_link) FROM table_17978052_2 WHERE borough_or_census_area = "Nome (CA)" |
CREATE TABLE table_17978052_2 (comment VARCHAR, borough_or_census_area VARCHAR) | How many comments are there in the Bethel (CA) Borough area? | SELECT COUNT(comment) FROM table_17978052_2 WHERE borough_or_census_area = "Bethel (CA)" |
CREATE TABLE table_17972193_1 (attendance VARCHAR, date VARCHAR) | How many total numbers of attendance are there during the game in October 27? | SELECT COUNT(attendance) FROM table_17972193_1 WHERE date = "October 27" |
CREATE TABLE table_17972193_1 (record VARCHAR, opponent VARCHAR) | What was the game record when the opponent was 'at Los Angeles Raiders'? | SELECT record FROM table_17972193_1 WHERE opponent = "at Los Angeles Raiders" |
CREATE TABLE table_17972193_1 (date VARCHAR, opponent VARCHAR) | When was the game played when the opponent was 'at Los Angeles Rams'? | SELECT date FROM table_17972193_1 WHERE opponent = "at Los Angeles Rams" |
CREATE TABLE table_17972193_1 (attendance VARCHAR, game_site VARCHAR) | How many total number of attendance were there when the game was held in Anaheim Stadium? | SELECT COUNT(attendance) FROM table_17972193_1 WHERE game_site = "Anaheim Stadium" |
CREATE TABLE table_17972193_1 (attendance INTEGER, game_site VARCHAR) | How many were in attendance when the game was held in Arrowhead Stadium? | SELECT MIN(attendance) FROM table_17972193_1 WHERE game_site = "Arrowhead Stadium" |
CREATE TABLE table_18018214_1 (position INTEGER, draws VARCHAR) | What is the highest position a team with 7 draws earned? | SELECT MAX(position) FROM table_18018214_1 WHERE draws = 7 |
CREATE TABLE table_18012738_1 (original_air_date VARCHAR, ai___percentage_ VARCHAR) | Name the original air date for ai% for 83 | SELECT original_air_date FROM table_18012738_1 WHERE ai___percentage_ = 83 |
CREATE TABLE table_18012738_1 (story_no VARCHAR, written_by VARCHAR) | Name the story number for paul cornell | SELECT story_no FROM table_18012738_1 WHERE written_by = "Paul Cornell" |
CREATE TABLE table_18012738_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR) | Name the total number directed by for uk viewers being 6.86 | SELECT COUNT(directed_by) FROM table_18012738_1 WHERE uk_viewers__million_ = "6.86" |
CREATE TABLE table_18012738_1 (ai___percentage_ INTEGER) | Name the least ai % | SELECT MIN(ai___percentage_) FROM table_18012738_1 |
CREATE TABLE table_18018214_4 (games_played INTEGER) | What is the highest number of games played? | SELECT MAX(games_played) FROM table_18018214_4 |
CREATE TABLE table_18018214_4 (goals_conceded VARCHAR, points VARCHAR) | In the game with 31 points, how many goals were conceded? | SELECT COUNT(goals_conceded) FROM table_18018214_4 WHERE points = 31 |
CREATE TABLE table_18018214_4 (games_played VARCHAR, points VARCHAR) | How many games had 22 points? | SELECT COUNT(games_played) FROM table_18018214_4 WHERE points = 22 |
CREATE TABLE table_18018248_2 (wins VARCHAR, goals_scored VARCHAR) | How many wins had 58 goals scored? | SELECT wins FROM table_18018248_2 WHERE goals_scored = 58 |
CREATE TABLE table_18018248_2 (club VARCHAR, points VARCHAR) | How many clubs had 29 points? | SELECT COUNT(club) FROM table_18018248_2 WHERE points = 29 |
CREATE TABLE table_18018248_2 (club VARCHAR, draws VARCHAR) | Which clubs had draws of 9? | SELECT club FROM table_18018248_2 WHERE draws = 9 |
CREATE TABLE table_18018248_2 (draws VARCHAR, goals_conceded VARCHAR) | How many draws were there when the conceded goals was numbered at 45? | SELECT COUNT(draws) FROM table_18018248_2 WHERE goals_conceded = 45 |
CREATE TABLE table_18018248_2 (games_played INTEGER, loses VARCHAR) | What is the least amount of games played with 21 losses? | SELECT MIN(games_played) FROM table_18018248_2 WHERE loses = 21 |
CREATE TABLE table_18018214_3 (games_played INTEGER) | How many games did each team played? | SELECT MIN(games_played) FROM table_18018214_3 |
CREATE TABLE table_18018214_3 (points INTEGER, goals_scored VARCHAR) | HOw many points where there when the number of goals scored was 47? | SELECT MAX(points) FROM table_18018214_3 WHERE goals_scored = 47 |
CREATE TABLE table_18018214_3 (goals_scored VARCHAR, club VARCHAR) | How many goals were scored by club team fm (losc) vilnius | SELECT goals_scored FROM table_18018214_3 WHERE club = "FM (LOSC) Vilnius" |
CREATE TABLE table_18018214_3 (loses INTEGER, club VARCHAR) | How many losses occurred when the club team was ekranas-2 panevėžys | SELECT MAX(loses) FROM table_18018214_3 WHERE club = "Ekranas-2 Panevėžys" |
CREATE TABLE table_18018214_3 (wins INTEGER) | What was the highest number of wins for any team? | SELECT MAX(wins) FROM table_18018214_3 |
CREATE TABLE table_18025024_7 (ncaat_record VARCHAR, date VARCHAR) | What is the June 22 ncaat baseball record for Fresno State Bulldogs? | SELECT ncaat_record FROM table_18025024_7 WHERE date = "June 22" |
CREATE TABLE table_18025024_7 (save VARCHAR, score VARCHAR) | How many saves were in the Georgia game, versus the Bulldogs, with a score of 7-6? | SELECT save FROM table_18025024_7 WHERE score = "7-6" |
CREATE TABLE table_18025024_7 (ncaat_record VARCHAR, date VARCHAR) | What is the June 21 ncaat baseball record for Fresno State Bulldogs? | SELECT ncaat_record FROM table_18025024_7 WHERE date = "June 21" |
CREATE TABLE table_18027411_1 (team___competition VARCHAR) | how many times did estudiantes de la plata participate in 2008 suruga bank championship | SELECT COUNT(2008 AS _suruga_bank_championship) FROM table_18027411_1 WHERE team___competition = "Estudiantes de La Plata" |
CREATE TABLE table_18042031_16 (date VARCHAR, against VARCHAR) | What date was the match against Morocco played? | SELECT date FROM table_18042031_16 WHERE against = "Morocco" |
CREATE TABLE table_18042031_16 (against VARCHAR, date VARCHAR) | What country did Gil play against on 21–23 september 2007? | SELECT against FROM table_18042031_16 WHERE date = "21–23 September 2007" |
CREATE TABLE table_18042031_16 (partnering VARCHAR, date VARCHAR) | Who was Gil's partner on 10–12 july 2009 | SELECT partnering FROM table_18042031_16 WHERE date = "10–12 July 2009" |
CREATE TABLE table_1802760_3 (state__class_ VARCHAR, date_of_successors_formal_installation VARCHAR) | Where was the successor formally installed on December 3, 1858? | SELECT state__class_ FROM table_1802760_3 WHERE date_of_successors_formal_installation = "December 3, 1858" |
CREATE TABLE table_1802760_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR) | Why did the change happen in the state where the formal installation happen on February 14, 1859? | SELECT reason_for_change FROM table_1802760_3 WHERE date_of_successors_formal_installation = "February 14, 1859" |
CREATE TABLE table_1802522_4 (vacator VARCHAR, district VARCHAR) | Name the vacator for tennessee 1st | SELECT vacator FROM table_1802522_4 WHERE district = "Tennessee 1st" |
CREATE TABLE table_18047346_4 (iata_code VARCHAR, passengers VARCHAR) | If the passengers are 15,505,566, what is the iata code? | SELECT iata_code FROM table_18047346_4 WHERE passengers = "15,505,566" |
CREATE TABLE table_18047346_4 (airport_name VARCHAR, location VARCHAR) | If the location is Chicago, Illinois, what is the airport name? | SELECT airport_name FROM table_18047346_4 WHERE location = "Chicago, Illinois" |
CREATE TABLE table_18047346_4 (_percentage_chg_2009_10 VARCHAR, passengers VARCHAR) | If the amount of passengers is 15,505,566, what is the %/chg. for 2009/10? | SELECT _percentage_chg_2009_10 FROM table_18047346_4 WHERE passengers = "15,505,566" |
CREATE TABLE table_18042409_1 (alma_mater VARCHAR, player VARCHAR) | What university did Steve Hoar attend. | SELECT alma_mater FROM table_18042409_1 WHERE player = "Steve Hoar" |
CREATE TABLE table_18042409_1 (player VARCHAR, alma_mater VARCHAR) | List the plats that attended Wilfrid Laurier University. | SELECT player FROM table_18042409_1 WHERE alma_mater = "Wilfrid Laurier University" |
CREATE TABLE table_18042409_1 (international_competition VARCHAR, national_lacrosse_league VARCHAR) | List all the international lacrosse league competitions for Toronto Rock. | SELECT international_competition FROM table_18042409_1 WHERE national_lacrosse_league = "Toronto Rock" |
CREATE TABLE table_18042409_1 (player VARCHAR, national_lacrosse_league VARCHAR) | List all of the NLL Toronto Rock players. | SELECT player FROM table_18042409_1 WHERE national_lacrosse_league = "Toronto Rock" |
CREATE TABLE table_18047346_5 (rank VARCHAR, iata_code VARCHAR) | What rank is the airport whose IATA Code is JFK? | SELECT rank FROM table_18047346_5 WHERE iata_code = "JFK" |
CREATE TABLE table_18047346_5 (airport_name VARCHAR, iata_code VARCHAR) | Which airport has an IATA Code of ORD? | SELECT airport_name FROM table_18047346_5 WHERE iata_code = "ORD" |
CREATE TABLE table_18047346_5 (tonnes VARCHAR, airport_name VARCHAR) | Louisville International Airport had how many tonnes of cargo in 2011? | SELECT tonnes FROM table_18047346_5 WHERE airport_name = "Louisville International Airport" |
CREATE TABLE table_18047346_5 (tonnes VARCHAR, iata_code VARCHAR) | How many tonnes of cargo did the airport have with the IATA Code IND? | SELECT tonnes FROM table_18047346_5 WHERE iata_code = "IND" |
CREATE TABLE table_1805191_10 (incumbent VARCHAR, party VARCHAR, district VARCHAR) | Who is the incumbent democratic party in district florida 11? | SELECT incumbent FROM table_1805191_10 WHERE party = "Democratic" AND district = "Florida 11" |
CREATE TABLE table_1805191_10 (district VARCHAR, first_elected VARCHAR) | In which district is the first elected 2000? | SELECT district FROM table_1805191_10 WHERE first_elected = 2000 |
CREATE TABLE table_1805191_10 (first_elected VARCHAR, district VARCHAR) | When is the first elected in the Florida 19 district? | SELECT first_elected FROM table_1805191_10 WHERE district = "Florida 19" |
CREATE TABLE table_1805191_10 (results VARCHAR, incumbent VARCHAR) | What are the results of incumbent dave weldon? | SELECT COUNT(results) FROM table_1805191_10 WHERE incumbent = "Dave Weldon" |
CREATE TABLE table_1805191_33 (district VARCHAR, incumbent VARCHAR) | How many districts have the incumbent, Charles Rangel? | SELECT COUNT(district) FROM table_1805191_33 WHERE incumbent = "Charles Rangel" |
CREATE TABLE table_1805191_33 (party VARCHAR, district VARCHAR) | What is the party affiliation of New York 26? | SELECT party FROM table_1805191_33 WHERE district = "New York 26" |
CREATE TABLE table_1805191_39 (party VARCHAR, district VARCHAR) | In the district of Pennsylvania 1, what is the total number of political parties? | SELECT COUNT(party) FROM table_1805191_39 WHERE district = "Pennsylvania 1" |
CREATE TABLE table_1805191_39 (first_elected INTEGER, incumbent VARCHAR) | What year was Tim Holden first elected? | SELECT MIN(first_elected) FROM table_1805191_39 WHERE incumbent = "Tim Holden" |
CREATE TABLE table_1805191_39 (party VARCHAR, first_elected VARCHAR) | How many parties were first elected in 1994? | SELECT COUNT(party) FROM table_1805191_39 WHERE first_elected = 1994 |
CREATE TABLE table_1805191_39 (results VARCHAR, district VARCHAR) | In district Pennsylvania 11, what was the total numbers of results? | SELECT COUNT(results) FROM table_1805191_39 WHERE district = "Pennsylvania 11" |
CREATE TABLE table_1805191_2 (first_elected VARCHAR, incumbent VARCHAR) | During what year was Representative Spencer Bachus first elected? | SELECT COUNT(first_elected) FROM table_1805191_2 WHERE incumbent = "Spencer Bachus" |
CREATE TABLE table_1805191_2 (party VARCHAR, incumbent VARCHAR) | What is the party affiliation of the incumbent Robert Cramer? | SELECT party FROM table_1805191_2 WHERE incumbent = "Robert Cramer" |
CREATE TABLE table_1805191_48 (incumbent VARCHAR, district VARCHAR) | Who is the incumbent in the Washington 1 district? | SELECT incumbent FROM table_1805191_48 WHERE district = "Washington 1" |
CREATE TABLE table_1805191_48 (first_elected VARCHAR, district VARCHAR) | How many categories of first elected are in Washington 4 district? | SELECT COUNT(first_elected) FROM table_1805191_48 WHERE district = "Washington 4" |
CREATE TABLE table_1805191_48 (results VARCHAR, first_elected VARCHAR) | What was the result in the election where the date of first elected was 2000? | SELECT results FROM table_1805191_48 WHERE first_elected = 2000 |
CREATE TABLE table_18054886_1 (title VARCHAR, viewers__millions_ VARCHAR, directed_by VARCHAR) | Which title, directed by David Kendall, had 3.7 million viewers? | SELECT title FROM table_18054886_1 WHERE viewers__millions_ = "3.7" AND directed_by = "David Kendall" |
CREATE TABLE table_1805191_6 (first_elected VARCHAR, incumbent VARCHAR) | How many people were first elected with an incument of diane watson? | SELECT COUNT(first_elected) FROM table_1805191_6 WHERE incumbent = "Diane Watson" |
CREATE TABLE table_1805191_6 (party VARCHAR, incumbent VARCHAR) | What party did hilda solis represent? | SELECT party FROM table_1805191_6 WHERE incumbent = "Hilda Solis" |
CREATE TABLE table_1805191_6 (results VARCHAR, incumbent VARCHAR) | What were the result(s) of the election featuring grace napolitano as the incumbent? | SELECT results FROM table_1805191_6 WHERE incumbent = "Grace Napolitano" |
CREATE TABLE table_1805919_1 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR) | Which place in the order is the Pinyin transcription She Jiang? | SELECT MIN(standard_order) FROM table_1805919_1 WHERE transcription__based_on_pinyin_ = "She Jiang" |
CREATE TABLE table_1805919_1 (standard_order INTEGER, english_translation VARCHAR) | What is the place of "A Lament for Ying"? | SELECT MAX(standard_order) FROM table_1805919_1 WHERE english_translation = "A Lament for Ying" |
CREATE TABLE table_1805919_1 (traditional_chinese VARCHAR, english_translation VARCHAR) | How many traditional Chinese for the translation of "Crossing the River"? | SELECT COUNT(traditional_chinese) FROM table_1805919_1 WHERE english_translation = "Crossing the River" |
CREATE TABLE table_1805919_1 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR) | What is the place of the Pinyin transcription Xi Wangri? | SELECT MAX(standard_order) FROM table_1805919_1 WHERE transcription__based_on_pinyin_ = "Xi Wangri" |
CREATE TABLE table_1805919_1 (english_translation VARCHAR, traditional_chinese VARCHAR) | What is the English translation of 哀郢? | SELECT english_translation FROM table_1805919_1 WHERE traditional_chinese = "哀郢" |
CREATE TABLE table_1805919_1 (transcription__based_on_pinyin_ VARCHAR, english_translation VARCHAR) | What is the Pinyin transcription for "Alas for the Days Gone By"? | SELECT transcription__based_on_pinyin_ FROM table_1805919_1 WHERE english_translation = "Alas for the Days Gone By" |
CREATE TABLE table_180802_2 (english_name VARCHAR, abbr VARCHAR) | What's the English name for the month with พ.ย. abbreviation? | SELECT english_name FROM table_180802_2 WHERE abbr = "พ.ย." |
CREATE TABLE table_180802_2 (zodiac_sign VARCHAR, abbr VARCHAR) | What's the zodiac sing for the month abbreviated as มี.ค.? | SELECT zodiac_sign FROM table_180802_2 WHERE abbr = "มี.ค." |
CREATE TABLE table_180802_2 (transcription VARCHAR, thai_name VARCHAR) | What's the transcription of the thai name of the month พฤษภาคม? | SELECT transcription FROM table_180802_2 WHERE thai_name = "พฤษภาคม" |
CREATE TABLE table_180802_2 (zodiac_sign VARCHAR, thai_name VARCHAR) | How many zodiac signs does the month by the Thai name of กันยายน belong to? | SELECT COUNT(zodiac_sign) FROM table_180802_2 WHERE thai_name = "กันยายน" |
CREATE TABLE table_180802_2 (english_name VARCHAR, abbr VARCHAR) | What's the English name of the month abbreviated as มิ.ย.? | SELECT english_name FROM table_180802_2 WHERE abbr = "มิ.ย." |
CREATE TABLE table_180802_2 (abbr VARCHAR, zodiac_sign VARCHAR) | What's the abbreviation of the month in the zodiac sign scorpio? | SELECT abbr FROM table_180802_2 WHERE zodiac_sign = "Scorpio" |
CREATE TABLE table_18069789_1 (year_ VARCHAR, e_ VARCHAR, original_title VARCHAR) | which year was the original title გაღმა ნაპირი | SELECT year_[e_] AS __ceremony_ FROM table_18069789_1 WHERE original_title = "გაღმა ნაპირი" |
CREATE TABLE table_18069789_1 (e_ VARCHAR, film_title_used_in_nomination VARCHAR, year_ VARCHAR) | how many times was 27 missing kisses used in nomination | SELECT COUNT(year_)[e_] AS __ceremony_ FROM table_18069789_1 WHERE film_title_used_in_nomination = "27 Missing Kisses" |
CREATE TABLE table_18069789_1 (year_ VARCHAR, e_ VARCHAR, director VARCHAR) | when was otar iosseliani's film selected | SELECT year_[e_] AS __ceremony_ FROM table_18069789_1 WHERE director = "Otar Iosseliani" |
CREATE TABLE table_180802_3 (thai_name VARCHAR, transcription VARCHAR) | What is the thai name of the transcription wan chan? | SELECT thai_name FROM table_180802_3 WHERE transcription = "wan chan" |
CREATE TABLE table_180802_3 (sanskrit_word VARCHAR, color VARCHAR) | What is the sanskrit word for the color red? | SELECT sanskrit_word FROM table_180802_3 WHERE color = "red" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.