question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
what is the score for the tournament cagnes-sur-mer?
CREATE TABLE table_name_38 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_38 WHERE tournament = "cagnes-sur-mer"
what is the score on may 11, 1997?
CREATE TABLE table_name_10 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_10 WHERE date = "may 11, 1997"
What is the Date of the tournament with a Score of 6-1 6-3?
CREATE TABLE table_name_22 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_22 WHERE score = "6-1 6-3"
What is the Date of the Tournament against Anastasiya Yakimova?
CREATE TABLE table_name_35 (date VARCHAR, opponent_in_final VARCHAR)
SELECT date FROM table_name_35 WHERE opponent_in_final = "anastasiya yakimova"
What is the Opponent in final of the Pingguo Tournament?
CREATE TABLE table_name_47 (opponent_in_final VARCHAR, tournament VARCHAR)
SELECT opponent_in_final FROM table_name_47 WHERE tournament = "pingguo"
What is the Score of the Pingguo Tournament?
CREATE TABLE table_name_94 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_94 WHERE tournament = "pingguo"
What is the Surface of the Tournament on June 11, 2006?
CREATE TABLE table_name_67 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_67 WHERE date = "june 11, 2006"
What is the A-league with 39 saves?
CREATE TABLE table_name_7 (a_league VARCHAR, saves VARCHAR)
SELECT a_league FROM table_name_7 WHERE saves = 39
What is the tally with a total larger than 8, Waterford was the opposition?
CREATE TABLE table_name_73 (tally VARCHAR, total VARCHAR, opposition VARCHAR)
SELECT tally FROM table_name_73 WHERE total > 8 AND opposition = "waterford"
What is the tally when the opposition is Derry, and total is 14?
CREATE TABLE table_name_12 (tally VARCHAR, opposition VARCHAR, total VARCHAR)
SELECT tally FROM table_name_12 WHERE opposition = "derry" AND total = 14
What's the year with a score of 305?
CREATE TABLE table_name_60 (year INTEGER, total_score VARCHAR)
SELECT MIN(year) FROM table_name_60 WHERE total_score = "305"
What's the To par of St Andrews before the year 1888?
CREATE TABLE table_name_35 (to_par_ VARCHAR, a_ VARCHAR, course VARCHAR, year VARCHAR)
SELECT to_par_[a_] FROM table_name_35 WHERE course = "st andrews" AND year < 1888
What's the location that has a total of 149?
CREATE TABLE table_name_28 (location VARCHAR, total_score VARCHAR)
SELECT location FROM table_name_28 WHERE total_score = "149"
Who is the home team for the stadium located in Berlin?
CREATE TABLE table_name_73 (home_team VARCHAR, state VARCHAR)
SELECT home_team FROM table_name_73 WHERE state = "berlin"
What is the lowest number of f/laps in the 5th position?
CREATE TABLE table_name_17 (f_laps INTEGER, position VARCHAR)
SELECT MIN(f_laps) FROM table_name_17 WHERE position = "5th"
What is the highest number of podiums before 2008 with a 5th position and more than 0 f/laps?
CREATE TABLE table_name_62 (podiums INTEGER, f_laps VARCHAR, season VARCHAR, position VARCHAR)
SELECT MAX(podiums) FROM table_name_62 WHERE season < 2008 AND position = "5th" AND f_laps > 0
What is the lowest number of f/laps with more than 4 podiums and more than 14 races?
CREATE TABLE table_name_97 (f_laps INTEGER, podiums VARCHAR, races VARCHAR)
SELECT MIN(f_laps) FROM table_name_97 WHERE podiums > 4 AND races > 14
What is the earliest season with more than 14 races and more than 4 podiums?
CREATE TABLE table_name_72 (season INTEGER, races VARCHAR, podiums VARCHAR)
SELECT MIN(season) FROM table_name_72 WHERE races > 14 AND podiums > 4
What is the total number of poles with less than 0 wins?
CREATE TABLE table_name_43 (poles VARCHAR, wins INTEGER)
SELECT COUNT(poles) FROM table_name_43 WHERE wins < 0
What's the smallest draw that has a place bigger more than 1 and Anastasia Prikhodko as the artist?
CREATE TABLE table_name_74 (draw INTEGER, artist VARCHAR, place VARCHAR)
SELECT MIN(draw) FROM table_name_74 WHERE artist = "anastasia prikhodko" AND place > 1
What's the draw having the result of 10%?
CREATE TABLE table_name_29 (draw INTEGER, result VARCHAR)
SELECT AVG(draw) FROM table_name_29 WHERE result = "10%"
What is the average tries for less than 117 points and less than 48 tries against?
CREATE TABLE table_name_90 (tries_for INTEGER, points_for VARCHAR, tries_against VARCHAR)
SELECT AVG(tries_for) FROM table_name_90 WHERE points_for < 117 AND tries_against < 48
Which 2008 has a City of durban?
CREATE TABLE table_name_56 (city VARCHAR)
SELECT AVG(2008) FROM table_name_56 WHERE city = "durban"
Which 2008 has an Airport of hurghada international airport?
CREATE TABLE table_name_20 (airport VARCHAR)
SELECT AVG(2008) FROM table_name_20 WHERE airport = "hurghada international airport"
Which 2008 has an Airport of julius nyerere international airport?
CREATE TABLE table_name_74 (airport VARCHAR)
SELECT AVG(2008) FROM table_name_74 WHERE airport = "julius nyerere international airport"
What capacity opened lessed than 1937 and is located in the region of champagne-ardenne?
CREATE TABLE table_name_95 (capacity VARCHAR, opened VARCHAR, region VARCHAR)
SELECT capacity FROM table_name_95 WHERE opened < 1937 AND region = "champagne-ardenne"
What total number of opened has a stadium of stade de la mosson and is larger than 32,939 capacity?
CREATE TABLE table_name_49 (opened VARCHAR, stadium VARCHAR, capacity VARCHAR)
SELECT COUNT(opened) FROM table_name_49 WHERE stadium = "stade de la mosson" AND capacity > 32 OFFSET 939
Which song has a place greater than 7, more than 13 points, and draw of 5?
CREATE TABLE table_name_39 (song VARCHAR, draw VARCHAR, place VARCHAR, points VARCHAR)
SELECT song FROM table_name_39 WHERE place > 7 AND points > 13 AND draw = 5
How many points does catcat have with more than 2 draws?
CREATE TABLE table_name_21 (points INTEGER, artist VARCHAR, draw VARCHAR)
SELECT AVG(points) FROM table_name_21 WHERE artist = "catcat" AND draw > 2
Which Place has an English translation of lullaby for my beloved?
CREATE TABLE table_name_58 (place INTEGER, english_translation VARCHAR)
SELECT MAX(place) FROM table_name_58 WHERE english_translation = "lullaby for my beloved"
Where is Croatian spoken?
CREATE TABLE table_name_41 (place VARCHAR, language VARCHAR)
SELECT place FROM table_name_41 WHERE language = "croatian"
When South warrnambool has more than 8 wins, what is the least amount of losses?
CREATE TABLE table_name_64 (losses INTEGER, club VARCHAR, wins VARCHAR)
SELECT MIN(losses) FROM table_name_64 WHERE club = "south warrnambool" AND wins > 8
Cobden has more than 1487 against and what average of losses?
CREATE TABLE table_name_77 (losses INTEGER, club VARCHAR, against VARCHAR)
SELECT AVG(losses) FROM table_name_77 WHERE club = "cobden" AND against > 1487
What is the Rank of the Player with a Time of 7:20.32 and Notes of FB?
CREATE TABLE table_name_31 (rank VARCHAR, notes VARCHAR, time VARCHAR)
SELECT COUNT(rank) FROM table_name_31 WHERE notes = "fb" AND time = "7:20.32"
What is the Time of the Player with a Rank of 2?
CREATE TABLE table_name_77 (time VARCHAR, rank VARCHAR)
SELECT time FROM table_name_77 WHERE rank = 2
What is Alan Campbell's Country with Notes of FA?
CREATE TABLE table_name_78 (country VARCHAR, notes VARCHAR, athlete VARCHAR)
SELECT country FROM table_name_78 WHERE notes = "fa" AND athlete = "alan campbell"
What was the result of the 2000-01 season in which the IceGators were part of the Southwest division and were coached by Dave Farrish?
CREATE TABLE table_name_21 (result VARCHAR, season VARCHAR, coach VARCHAR, division VARCHAR)
SELECT result FROM table_name_21 WHERE coach = "dave farrish" AND division = "southwest" AND season = "2000-01"
In which division were the IceGators when coached by Todd Gordon?
CREATE TABLE table_name_24 (division VARCHAR, coach VARCHAR)
SELECT division FROM table_name_24 WHERE coach = "todd gordon"
What is the average rank of a swimmer in lane 1?
CREATE TABLE table_name_79 (rank INTEGER, lane VARCHAR)
SELECT AVG(rank) FROM table_name_79 WHERE lane = 1
What is the name of the swimmer in lane 6?
CREATE TABLE table_name_87 (name VARCHAR, lane VARCHAR)
SELECT name FROM table_name_87 WHERE lane = 6
What is the earliest date for the bronze medal?
CREATE TABLE table_name_93 (date INTEGER, medal VARCHAR)
SELECT MIN(date) FROM table_name_93 WHERE medal = "bronze"
Who had the sport of athletics on a date earlier than 16?
CREATE TABLE table_name_30 (name VARCHAR, sport VARCHAR, date VARCHAR)
SELECT name FROM table_name_30 WHERE sport = "athletics" AND date < 16
what is the sport for wolfgang schattauer?
CREATE TABLE table_name_69 (sport VARCHAR, name VARCHAR)
SELECT sport FROM table_name_69 WHERE name = "wolfgang schattauer"
what is the date when the medal is bronze for athletics?
CREATE TABLE table_name_26 (date INTEGER, sport VARCHAR, medal VARCHAR)
SELECT AVG(date) FROM table_name_26 WHERE sport = "athletics" AND medal = "bronze"
What gold has a year after 1970, with milan as the place?
CREATE TABLE table_name_65 (gold VARCHAR, year VARCHAR, place VARCHAR)
SELECT gold FROM table_name_65 WHERE year > 1970 AND place = "milan"
Which Opened has a System of c-train, and a Daily ridership smaller than 269,600?
CREATE TABLE table_name_80 (opened INTEGER, system VARCHAR, daily_ridership VARCHAR)
SELECT MAX(opened) FROM table_name_80 WHERE system = "c-train" AND daily_ridership < 269 OFFSET 600
Which Stations are in vancouver, bc?
CREATE TABLE table_name_64 (stations VARCHAR, city VARCHAR)
SELECT stations FROM table_name_64 WHERE city = "vancouver, bc"
Which category has 5 stations?
CREATE TABLE table_name_11 (category VARCHAR, stations VARCHAR)
SELECT category FROM table_name_11 WHERE stations = "5"
Which Opened has a Category of diesel light rail?
CREATE TABLE table_name_3 (opened INTEGER, category VARCHAR)
SELECT MAX(opened) FROM table_name_3 WHERE category = "diesel light rail"
What is the highest attendance among Group E games?
CREATE TABLE table_name_93 (attendance INTEGER, round VARCHAR)
SELECT MAX(attendance) FROM table_name_93 WHERE round = "group e"
How many total games were played by the team which had a total of 16 points and less than 4 draws?
CREATE TABLE table_name_33 (played INTEGER, points VARCHAR, draws VARCHAR)
SELECT SUM(played) FROM table_name_33 WHERE points = 16 AND draws < 4
How many points are in the scored category for the team that has less than 5 draws, 8 total wins, and total overall points less than 27?
CREATE TABLE table_name_83 (scored VARCHAR, points VARCHAR, draws VARCHAR, wins VARCHAR)
SELECT COUNT(scored) FROM table_name_83 WHERE draws < 5 AND wins = 8 AND points < 27
How many points are in the scored category for the team that played less than 18 games?
CREATE TABLE table_name_41 (scored INTEGER, played INTEGER)
SELECT SUM(scored) FROM table_name_41 WHERE played < 18
How many points are in the scored category for the team that has 8 total points and a position that is less than 10?
CREATE TABLE table_name_38 (scored INTEGER, points VARCHAR, position VARCHAR)
SELECT SUM(scored) FROM table_name_38 WHERE points = 8 AND position < 10
How many loses does the team have that conceded 25 and won more than 6 games?
CREATE TABLE table_name_6 (losses INTEGER, conceded VARCHAR, wins VARCHAR)
SELECT SUM(losses) FROM table_name_6 WHERE conceded = 25 AND wins > 6
Out of the teams that have scored lower than 25 points, have a total of points less than 20, and a position larger than 8, which has the lowest amount of draws?
CREATE TABLE table_name_17 (draws INTEGER, position VARCHAR, scored VARCHAR, points VARCHAR)
SELECT MIN(draws) FROM table_name_17 WHERE scored < 25 AND points = 20 AND position > 8
How many bronze medals did the nation have that had less than 3 silver, 5 gold and ranked better than 31?
CREATE TABLE table_name_97 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(bronze) FROM table_name_97 WHERE silver < 3 AND rank < 31 AND gold = 5
What's the bronze medal count of Spain that has less than 39 Gold, 3 silver, and a rank better than 35?
CREATE TABLE table_name_27 (bronze VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT bronze FROM table_name_27 WHERE gold < 39 AND silver = 3 AND rank < 35 AND nation = "spain"
What's the total amount of USSR that has more than 0 gold, less than 85 silver and more than 6 bronze?
CREATE TABLE table_name_62 (total INTEGER, silver VARCHAR, nation VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT MIN(total) FROM table_name_62 WHERE gold > 0 AND bronze > 6 AND nation = "ussr" AND silver < 85
What's the lowest bronze medal amount that has fewer than 0 gold?
CREATE TABLE table_name_55 (bronze INTEGER, gold INTEGER)
SELECT MIN(bronze) FROM table_name_55 WHERE gold < 0
What's the total amount of Bulgaria that has more than 13 bronze?
CREATE TABLE table_name_2 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_2 WHERE nation = "bulgaria" AND bronze > 13
what is the average attendance when the week is higher than 5 and the opponent is washington redskins?
CREATE TABLE table_name_81 (attendance INTEGER, week VARCHAR, opponent VARCHAR)
SELECT AVG(attendance) FROM table_name_81 WHERE week > 5 AND opponent = "washington redskins"
What country has t6 as the place, with sean o'hair as the player?
CREATE TABLE table_name_88 (country VARCHAR, place VARCHAR, player VARCHAR)
SELECT country FROM table_name_88 WHERE place = "t6" AND player = "sean o'hair"
What to par has 65 as the score?
CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_91 WHERE score = 65
What score has south africa as the country?
CREATE TABLE table_name_92 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_92 WHERE country = "south africa"
What is the Time of the Athlete with a Rank of 6?
CREATE TABLE table_name_55 (time VARCHAR, rank VARCHAR)
SELECT time FROM table_name_55 WHERE rank = 6
How much Longitude has a County of nelson, and a Latitude larger than 47.980183?
CREATE TABLE table_name_87 (longitude INTEGER, county VARCHAR, latitude VARCHAR)
SELECT SUM(longitude) FROM table_name_87 WHERE county = "nelson" AND latitude > 47.980183
Which Water (sqmi) has a County of benson, and an ANSI code smaller than 1759243?
CREATE TABLE table_name_13 (water__sqmi_ INTEGER, county VARCHAR, ansi_code VARCHAR)
SELECT MIN(water__sqmi_) FROM table_name_13 WHERE county = "benson" AND ansi_code < 1759243
Which Pop (2010) has an ANSI code smaller than 1036864, and a Longitude larger than -98.46611, and a Land (sqmi) smaller than 36.238, and a Latitude smaller than 48.144102?
CREATE TABLE table_name_21 (pop__2010_ INTEGER, latitude VARCHAR, land___sqmi__ VARCHAR, ansi_code VARCHAR, longitude VARCHAR)
SELECT AVG(pop__2010_) FROM table_name_21 WHERE ansi_code < 1036864 AND longitude > -98.46611 AND land___sqmi__ < 36.238 AND latitude < 48.144102
Who did the Eagle's play on November 5, 1961?
CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_77 WHERE date = "november 5, 1961"
What years have joyce couwenberg as the character?
CREATE TABLE table_name_62 (years VARCHAR, character VARCHAR)
SELECT years FROM table_name_62 WHERE character = "joyce couwenberg"
What actor has goede tijden, slechte tijden, as the soap opera, 11 years as the duration, with rosa gonzalez as the character?
CREATE TABLE table_name_91 (actor VARCHAR, character VARCHAR, soap_opera VARCHAR, duration VARCHAR)
SELECT actor FROM table_name_91 WHERE soap_opera = "goede tijden, slechte tijden" AND duration = "11 years" AND character = "rosa gonzalez"
What actor has onderweg naar morgen, as the soap opera, with aafke couwenberg as the character?
CREATE TABLE table_name_47 (actor VARCHAR, soap_opera VARCHAR, character VARCHAR)
SELECT actor FROM table_name_47 WHERE soap_opera = "onderweg naar morgen" AND character = "aafke couwenberg"
What duration has rosa gonzalez as the character?
CREATE TABLE table_name_60 (duration VARCHAR, character VARCHAR)
SELECT duration FROM table_name_60 WHERE character = "rosa gonzalez"
What is the Team of the Fullback Player?
CREATE TABLE table_name_77 (team VARCHAR, position VARCHAR)
SELECT team FROM table_name_77 WHERE position = "fullback"
What is the College of the Halfback Player?
CREATE TABLE table_name_57 (college VARCHAR, position VARCHAR)
SELECT college FROM table_name_57 WHERE position = "halfback"
Which Venue has Notes of 58.25 m, and a Competition of world championships?
CREATE TABLE table_name_33 (venue VARCHAR, notes VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_33 WHERE notes = "58.25 m" AND competition = "world championships"
Which Competition has a Year smaller than 2009, and Notes of 56.16 m?
CREATE TABLE table_name_13 (competition VARCHAR, year VARCHAR, notes VARCHAR)
SELECT competition FROM table_name_13 WHERE year < 2009 AND notes = "56.16 m"
Which Venue has Notes of 58.48 m?
CREATE TABLE table_name_70 (venue VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_70 WHERE notes = "58.48 m"
Which Year has a Venue of bydgoszcz, poland?
CREATE TABLE table_name_35 (year INTEGER, venue VARCHAR)
SELECT AVG(year) FROM table_name_35 WHERE venue = "bydgoszcz, poland"
How many years have a Position of 17th (q)?
CREATE TABLE table_name_41 (year VARCHAR, position VARCHAR)
SELECT COUNT(year) FROM table_name_41 WHERE position = "17th (q)"
What is the score when the home team is queens park rangers?
CREATE TABLE table_name_29 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_29 WHERE home_team = "queens park rangers"
what is the date when the away team is bolton wanderers?
CREATE TABLE table_name_66 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_66 WHERE away_team = "bolton wanderers"
what is the score when the away team is tottenham hotspur?
CREATE TABLE table_name_29 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_29 WHERE away_team = "tottenham hotspur"
who is the home team when the away team is ipswich town?
CREATE TABLE table_name_34 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_34 WHERE away_team = "ipswich town"
who is the away team when the home team is hartlepool united?
CREATE TABLE table_name_10 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_10 WHERE home_team = "hartlepool united"
What was the Best Feature Film at the Macabro Film Festival?
CREATE TABLE table_name_24 (result VARCHAR, award VARCHAR, organization VARCHAR)
SELECT result FROM table_name_24 WHERE award = "best feature film" AND organization = "macabro film festival"
what is the rank when the album is sean kingston?
CREATE TABLE table_name_85 (rank VARCHAR, album VARCHAR)
SELECT rank FROM table_name_85 WHERE album = "sean kingston"
how many times is the rank less than 6, certification 2x platinum and the peak position 2?
CREATE TABLE table_name_49 (sales VARCHAR, peak_position VARCHAR, rank VARCHAR, certification VARCHAR)
SELECT COUNT(sales) FROM table_name_49 WHERE rank < 6 AND certification = "2x platinum" AND peak_position = "2"
what is the lowest rank when the peak position is 2, certification is platinum and the album is my december?
CREATE TABLE table_name_82 (rank INTEGER, album VARCHAR, peak_position VARCHAR, certification VARCHAR)
SELECT MIN(rank) FROM table_name_82 WHERE peak_position = "2" AND certification = "platinum" AND album = "my december"
What is the sales when the artist is kelly clarkson?
CREATE TABLE table_name_88 (sales VARCHAR, artist VARCHAR)
SELECT COUNT(sales) FROM table_name_88 WHERE artist = "kelly clarkson"
What percentage of people polled aligned with the Liberal party according to the August 2008 poll that reported 36% aligning with New Democratic party?
CREATE TABLE table_name_23 (liberal VARCHAR, new_democratic VARCHAR, dates VARCHAR)
SELECT liberal FROM table_name_23 WHERE new_democratic = "36%" AND dates = "august 2008"
According to the August 2007 poll by the Corporate Research Associates that reported 32% Prog. Cons., what percentage aligned with the Liberal party?
CREATE TABLE table_name_36 (liberal VARCHAR, dates VARCHAR, polling_firm VARCHAR, prog_cons VARCHAR)
SELECT liberal FROM table_name_36 WHERE polling_firm = "corporate research associates" AND prog_cons = "32%" AND dates = "august 2007"
Which firm conducted a poll in August 2006?
CREATE TABLE table_name_42 (polling_firm VARCHAR, dates VARCHAR)
SELECT polling_firm FROM table_name_42 WHERE dates = "august 2006"
According to the February 2009 poll by the Corporate Research Associates that reported 31% Liberal., what percentage aligned with the Prog. Cons. party?
CREATE TABLE table_name_63 (prog_cons VARCHAR, dates VARCHAR, polling_firm VARCHAR, liberal VARCHAR)
SELECT prog_cons FROM table_name_63 WHERE polling_firm = "corporate research associates" AND liberal = "31%" AND dates = "february 2009"
According to the August 2008 poll that reported 36% New Demcratic, what percentage aligned with the Liberal party?
CREATE TABLE table_name_37 (liberal VARCHAR, new_democratic VARCHAR, dates VARCHAR)
SELECT liberal FROM table_name_37 WHERE new_democratic = "36%" AND dates = "august 2008"
What's the record of Barbados?
CREATE TABLE table_name_51 (record VARCHAR, nationality VARCHAR)
SELECT record FROM table_name_51 WHERE nationality = "barbados"
What's the event of Guadeloupe?
CREATE TABLE table_name_17 (event VARCHAR, nationality VARCHAR)
SELECT event FROM table_name_17 WHERE nationality = "guadeloupe"
What's the date of the discus throw in 2010 Georgetown?
CREATE TABLE table_name_75 (date VARCHAR, games VARCHAR, event VARCHAR)
SELECT date FROM table_name_75 WHERE games = "2010 georgetown" AND event = "discus throw"
What is the number of staterooms when guests was larger than 210?
CREATE TABLE table_name_28 (staterooms INTEGER, guests INTEGER)
SELECT AVG(staterooms) FROM table_name_28 WHERE guests > 210