answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT duration FROM table_name_20 WHERE test_flight = "taxi test #2"
CREATE TABLE table_name_20 (duration VARCHAR, test_flight VARCHAR)
What is Duration, when Test Flight is Taxi Test #2?
SELECT duration FROM table_name_79 WHERE test_flight = "free flight #3"
CREATE TABLE table_name_79 (duration VARCHAR, test_flight VARCHAR)
What it Duration, when Test Flight is Free Flight #3?
SELECT date FROM table_name_52 WHERE comment = "tailcone on, lakebed landing" AND duration = "5min 34 s"
CREATE TABLE table_name_52 (date VARCHAR, comment VARCHAR, duration VARCHAR)
What is Date, when Comment is Tailcone On, Lakebed Landing, and when Duration is 5min 34 s?
SELECT crew FROM table_name_61 WHERE date = "july 26, 1977"
CREATE TABLE table_name_61 (crew VARCHAR, date VARCHAR)
What is Crew, when Date is July 26, 1977?
SELECT years FROM table_name_83 WHERE nationality = "united states" AND position = "pg / sg"
CREATE TABLE table_name_83 (years VARCHAR, nationality VARCHAR, position VARCHAR)
What is Years, when Nationality is United States, and when Position is PG / SG?
SELECT nationality FROM table_name_73 WHERE years = "1979"
CREATE TABLE table_name_73 (nationality VARCHAR, years VARCHAR)
What is Nationality, when Years is 1979?
SELECT score FROM table_name_95 WHERE time = "18:27"
CREATE TABLE table_name_95 (score VARCHAR, time VARCHAR)
WHAT SCORE HAS A TIME OF 18:27?
SELECT goal FROM table_name_45 WHERE time = "39:37"
CREATE TABLE table_name_45 (goal VARCHAR, time VARCHAR)
WHAT GOAL HAS A TIME OF 39:37?
SELECT electorate FROM table_name_39 WHERE party = "country" AND state = "wa" AND member = "john hallett"
CREATE TABLE table_name_39 (electorate VARCHAR, member VARCHAR, party VARCHAR, state VARCHAR)
What is Electorate, when Party is "Country", when State is "WA", and when Member is "John Hallett"?
SELECT term_of_office FROM table_name_64 WHERE member = "dominic costa"
CREATE TABLE table_name_64 (term_of_office VARCHAR, member VARCHAR)
What is Term of Office, when Member is "Dominic Costa"?
SELECT state FROM table_name_6 WHERE member = "gil duthie"
CREATE TABLE table_name_6 (state VARCHAR, member VARCHAR)
What is State, when Member is "Gil Duthie"?
SELECT attendance FROM table_name_90 WHERE venue = "stadion" AND score = "2-0"
CREATE TABLE table_name_90 (attendance VARCHAR, venue VARCHAR, score VARCHAR)
What was the number of attendance at Stadion with a score of 2-0
SELECT season FROM table_name_1 WHERE winner = "rangers"
CREATE TABLE table_name_1 (season VARCHAR, winner VARCHAR)
What season did the Rangers win?
SELECT score FROM table_name_48 WHERE runner_up = "falkirk"
CREATE TABLE table_name_48 (score VARCHAR, runner_up VARCHAR)
What is the score of the game with Falkirk as the runner-up?
SELECT venue FROM table_name_15 WHERE runner_up = "rangers" AND winner = "hibernian"
CREATE TABLE table_name_15 (venue VARCHAR, runner_up VARCHAR, winner VARCHAR)
What is the venue of the game where hibernian won and the rangers were the runner-up?
SELECT country FROM table_name_7 WHERE winter_olympics = 1972
CREATE TABLE table_name_7 (country VARCHAR, winter_olympics VARCHAR)
what is the country for the 1972 winter olympics?
SELECT winter_olympics FROM table_name_45 WHERE fis_nordic_world_ski_championships = "1976"
CREATE TABLE table_name_45 (winter_olympics VARCHAR, fis_nordic_world_ski_championships VARCHAR)
what is the winter olympics year when the fis nordic world ski championships is 1976?
SELECT MIN(winter_olympics) FROM table_name_39 WHERE fis_nordic_world_ski_championships = "1976"
CREATE TABLE table_name_39 (winter_olympics INTEGER, fis_nordic_world_ski_championships VARCHAR)
what is the earliest winter olympics when the fis nordic world ski championships is 1976?
SELECT SUM(winter_olympics) FROM table_name_5 WHERE country = "soviet union" AND holmenkollen = "1970, 1979"
CREATE TABLE table_name_5 (winter_olympics INTEGER, country VARCHAR, holmenkollen VARCHAR)
what is the winter olympics when the country is soviet union and holmenkollen is 1970, 1979?
SELECT date FROM table_name_98 WHERE away_team = "newport county"
CREATE TABLE table_name_98 (date VARCHAR, away_team VARCHAR)
what is the date when the away team is newport county?
SELECT COUNT(games) FROM table_name_20 WHERE goals = 5 AND assists < 8
CREATE TABLE table_name_20 (games VARCHAR, goals VARCHAR, assists VARCHAR)
How many games have 5 goals and less than 8 assists?
SELECT MAX(goals) FROM table_name_4 WHERE points = 13 AND assists = 10 AND club = "eisbären berlin"
CREATE TABLE table_name_4 (goals INTEGER, club VARCHAR, points VARCHAR, assists VARCHAR)
What is the highest number of goals Eisbären Berlin had along with 13 points and 10 assists?
SELECT AVG(points) FROM table_name_29 WHERE player = "ivan ciernik" AND goals < 11
CREATE TABLE table_name_29 (points INTEGER, player VARCHAR, goals VARCHAR)
What is Ivan Ciernik's average points with less than 11 goals?
SELECT province FROM table_name_98 WHERE centers = "parun"
CREATE TABLE table_name_98 (province VARCHAR, centers VARCHAR)
Which province is Parun in?
SELECT category FROM table_name_33 WHERE pilot = "frank scarabino"
CREATE TABLE table_name_33 (category VARCHAR, pilot VARCHAR)
In which category is Frank Scarabino a pilot?
SELECT SUM(speed__km_h_) FROM table_name_43 WHERE pilot = "john egginton"
CREATE TABLE table_name_43 (speed__km_h_ INTEGER, pilot VARCHAR)
What is the sum of speed in km per hour reached by John Egginton?
SELECT team_1 FROM table_name_11 WHERE season > 2005 AND score = "4-2"
CREATE TABLE table_name_11 (team_1 VARCHAR, season VARCHAR, score VARCHAR)
What is the name of team 1 that was after the 2005 season and with a 4-2 score?
SELECT venue FROM table_name_5 WHERE score = "0-2" AND season = 2004
CREATE TABLE table_name_5 (venue VARCHAR, score VARCHAR, season VARCHAR)
In the 2004 season with a 0-2 score what was the name of the venue?
SELECT MIN(season) FROM table_name_95 WHERE team_2 = "pisico bình ðinh"
CREATE TABLE table_name_95 (season INTEGER, team_2 VARCHAR)
What is the earliest season that Pisico Bình ðinh is team 2?
SELECT years FROM table_name_88 WHERE rank < 2
CREATE TABLE table_name_88 (years VARCHAR, rank INTEGER)
Which years have a rank less than 2?
SELECT COUNT(games) FROM table_name_78 WHERE total_rebounds > 1048
CREATE TABLE table_name_78 (games VARCHAR, total_rebounds INTEGER)
How many games have rebounds larger than 1048?
SELECT COUNT(total_rebounds) FROM table_name_5 WHERE player = "andre gaddy" AND rank < 6
CREATE TABLE table_name_5 (total_rebounds VARCHAR, player VARCHAR, rank VARCHAR)
How many rebounds have a Player of andre gaddy, and a Rank smaller than 6?
SELECT COUNT(total_rebounds) FROM table_name_51 WHERE player = "herb estes"
CREATE TABLE table_name_51 (total_rebounds VARCHAR, player VARCHAR)
How many rebounds have a Player of herb estes?
SELECT SUM(reb_avg) FROM table_name_16 WHERE games > 98 AND rank = 7
CREATE TABLE table_name_16 (reb_avg INTEGER, games VARCHAR, rank VARCHAR)
What is the total of rebound averages with more than 98 games and a rank of 7?
SELECT date FROM table_name_21 WHERE team = "golden state"
CREATE TABLE table_name_21 (date VARCHAR, team VARCHAR)
Can you tell me the Date that has the Team of golden state?
SELECT high_assists FROM table_name_44 WHERE date = "november 25"
CREATE TABLE table_name_44 (high_assists VARCHAR, date VARCHAR)
Can you tell me the High assists that has the Date of november 25?
SELECT team FROM table_name_91 WHERE high_rebounds = "antawn jamison (10)" AND date = "november 5"
CREATE TABLE table_name_91 (team VARCHAR, high_rebounds VARCHAR, date VARCHAR)
Can you tell me the Team that has the High rebounds of antawn jamison (10), and the Date of november 5?
SELECT high_rebounds FROM table_name_16 WHERE date = "november 5"
CREATE TABLE table_name_16 (high_rebounds VARCHAR, date VARCHAR)
Can you tell me the High rebounds that has the Date of november 5?
SELECT team FROM table_name_56 WHERE series = "astc round 1"
CREATE TABLE table_name_56 (team VARCHAR, series VARCHAR)
WHAT IS THE TEAM WITH astc round 1?
SELECT winner FROM table_name_59 WHERE series = "atcc round 6"
CREATE TABLE table_name_59 (winner VARCHAR, series VARCHAR)
WHAT IS THE WINNER WITH ATCC ROUND 6?
SELECT MAX(attendance) FROM table_name_85 WHERE record = "0-5" AND opponents > 20
CREATE TABLE table_name_85 (attendance INTEGER, record VARCHAR, opponents VARCHAR)
What was the highest attendance for the game where the record was 0-5 and the opponents scored more than 20 points?
SELECT street_address FROM table_name_74 WHERE name = "notre dame basilica"
CREATE TABLE table_name_74 (street_address VARCHAR, name VARCHAR)
What is the street address of Notre Dame Basilica?
SELECT region FROM table_name_5 WHERE catalog = "sm 2965-05"
CREATE TABLE table_name_5 (region VARCHAR, catalog VARCHAR)
What is the Region, when the Catalog is SM 2965-05?
SELECT region FROM table_name_61 WHERE catalog = "25ap 301"
CREATE TABLE table_name_61 (region VARCHAR, catalog VARCHAR)
What is the Region, when the Catalog is 25AP 301?
SELECT date FROM table_name_97 WHERE catalog = "epc 81436"
CREATE TABLE table_name_97 (date VARCHAR, catalog VARCHAR)
What is Date, when Catalog is EPC 81436?
SELECT label FROM table_name_33 WHERE format = "double cd"
CREATE TABLE table_name_33 (label VARCHAR, format VARCHAR)
What is Label, when Format is Double CD?
SELECT label FROM table_name_40 WHERE region = "japan"
CREATE TABLE table_name_40 (label VARCHAR, region VARCHAR)
What is Label, when Region is Japan?
SELECT format FROM table_name_11 WHERE region = "united states"
CREATE TABLE table_name_11 (format VARCHAR, region VARCHAR)
What is Format, when Region is United States?
SELECT date_of_appointment FROM table_name_79 WHERE manner_of_departure = "contract expired" AND team = "lecce"
CREATE TABLE table_name_79 (date_of_appointment VARCHAR, manner_of_departure VARCHAR, team VARCHAR)
What was the date of appointment for the manager of lecce when the previous manager's contract expired?
SELECT manner_of_departure FROM table_name_92 WHERE outgoing_manager = "davide ballardini"
CREATE TABLE table_name_92 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
What was the manner of departure for the outgoing manager, davide ballardini?
SELECT manner_of_departure FROM table_name_77 WHERE outgoing_manager = "giuseppe iachini"
CREATE TABLE table_name_77 (manner_of_departure VARCHAR, outgoing_manager VARCHAR)
What was the manner of departure for the outgoing manager, giuseppe iachini?
SELECT date_of_appointment FROM table_name_49 WHERE outgoing_manager = "edoardo reja"
CREATE TABLE table_name_49 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
What is the date of appointment for the outgoing manager edoardo reja?
SELECT event FROM table_name_55 WHERE opponent = "matt eckerle"
CREATE TABLE table_name_55 (event VARCHAR, opponent VARCHAR)
At what event did he fight matt eckerle?
SELECT MAX(round) FROM table_name_94 WHERE time = "1:44"
CREATE TABLE table_name_94 (round INTEGER, time VARCHAR)
What is the highest Round that lasted 1:44?
SELECT SUM(interview) FROM table_name_51 WHERE country = "illinois" AND preliminary < 8.558
CREATE TABLE table_name_51 (interview INTEGER, country VARCHAR, preliminary VARCHAR)
What is the number for the interview in Illinois when the preliminary is less than 8.558?
SELECT country FROM table_name_50 WHERE swimsuit < 9.033 AND interview = 8.611 AND preliminary < 8.87
CREATE TABLE table_name_50 (country VARCHAR, preliminary VARCHAR, swimsuit VARCHAR, interview VARCHAR)
What is the name of the country with less than 9.033 for swimsuit, 8.611 for interview and preliminary is less than 8.87?
SELECT COUNT(evening_gown) FROM table_name_60 WHERE average > 8.984 AND country = "louisiana" AND preliminary > 8.597
CREATE TABLE table_name_60 (evening_gown VARCHAR, preliminary VARCHAR, average VARCHAR, country VARCHAR)
What is the evening gown number when the average is more than 8.984 in Louisiana and the preliminary is more than 8.597?
SELECT COUNT(interview) FROM table_name_19 WHERE country = "louisiana" AND swimsuit > 9.1
CREATE TABLE table_name_19 (interview VARCHAR, country VARCHAR, swimsuit VARCHAR)
What is the interview number in Louisiana, and the swimsuit number is more than 9.1?
SELECT COUNT(swimsuit) FROM table_name_98 WHERE preliminary = 8.721 AND average > 8.781
CREATE TABLE table_name_98 (swimsuit VARCHAR, preliminary VARCHAR, average VARCHAR)
What is the swimsuit number when the preliminary is 8.721, and the average is more than 8.781?
SELECT venue FROM table_name_6 WHERE date = "30 may 2004"
CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)
Where was the game played on 30 May 2004?
SELECT partner FROM table_name_35 WHERE surface = "hard" AND tournament = "amarante"
CREATE TABLE table_name_35 (partner VARCHAR, surface VARCHAR, tournament VARCHAR)
Who was Silva's Partner in the Amarante Tournament played on a Hard Surface?
SELECT partner FROM table_name_64 WHERE score = "6–3, 7–6 (7–3)"
CREATE TABLE table_name_64 (partner VARCHAR, score VARCHAR)
Who was Silva's Partner in the match with a Score of 6–3, 7–6 (7–3)?
SELECT date FROM table_name_77 WHERE partner = "kira nagy"
CREATE TABLE table_name_77 (date VARCHAR, partner VARCHAR)
On what Date was the match with partner Kira Nagy?
SELECT date FROM table_name_65 WHERE tournament = "vigo"
CREATE TABLE table_name_65 (date VARCHAR, tournament VARCHAR)
What is the Date of the Vigo Tournament?
SELECT tournament FROM table_name_33 WHERE partner = "nicole thijssen" AND opponent_in_the_final = "nina bratchikova & frederica piedade"
CREATE TABLE table_name_33 (tournament VARCHAR, partner VARCHAR, opponent_in_the_final VARCHAR)
What Tournament did Silva Partner with Nicole Thijssen with Opponent in the final Nina Bratchikova & Frederica Piedade?
SELECT name FROM table_name_55 WHERE state = "jin"
CREATE TABLE table_name_55 (name VARCHAR, state VARCHAR)
What is Name, when State is "Jin"?
SELECT name FROM table_name_93 WHERE royal_house = "ji" AND state = "cai"
CREATE TABLE table_name_93 (name VARCHAR, royal_house VARCHAR, state VARCHAR)
What is Name, when Royal House is "Ji", and when State is "Cai"?
SELECT AVG(ratio) FROM table_name_76 WHERE similar_iso_a_size = "a3"
CREATE TABLE table_name_76 (ratio INTEGER, similar_iso_a_size VARCHAR)
Which Ratio has a Similar ISO A size of a3?
SELECT mm_×_mm FROM table_name_7 WHERE in_×_in = "11 × 17"
CREATE TABLE table_name_7 (mm_×_mm VARCHAR, in_×_in VARCHAR)
Which mm × mm has an in × in of 11 × 17?
SELECT MIN(ratio) FROM table_name_67 WHERE name = "ansi e"
CREATE TABLE table_name_67 (ratio INTEGER, name VARCHAR)
Which Ratio has a Name of ansi e?
SELECT ratio FROM table_name_2 WHERE in_×_in = "17 × 22"
CREATE TABLE table_name_2 (ratio VARCHAR, in_×_in VARCHAR)
Which Ratio has an in × in of 17 × 22?
SELECT distance FROM table_name_20 WHERE stage = "4a"
CREATE TABLE table_name_20 (distance VARCHAR, stage VARCHAR)
What is the Distance of the 1945 Vuelta a Espana with 4A Stage?
SELECT earned FROM table_name_21 WHERE rank = 5
CREATE TABLE table_name_21 (earned VARCHAR, rank VARCHAR)
What earned has 5 for the rank?
SELECT AVG(earnings___) AS $__ FROM table_name_58 WHERE player = "meg mallon" AND rank < 9
CREATE TABLE table_name_58 (earnings___ INTEGER, player VARCHAR, rank VARCHAR)
What is the average earnings ($) that has meg mallon as the player, with a rank less than 9?
SELECT AVG(federal_excise_tax___cad) AS ¢___l__ FROM table_name_85 WHERE total_excise_tax__cad¢_l_ > 33.2 AND government = "vancouver, bc" AND minimum_tax_incl_sales_taxes__cad¢_l_ < 41.01
CREATE TABLE table_name_85 (federal_excise_tax___cad INTEGER, minimum_tax_incl_sales_taxes__cad¢_l_ VARCHAR, total_excise_tax__cad¢_l_ VARCHAR, government VARCHAR)
What's the fed tax that has a total tax greater than 33.2, a minimum sales tax less than 41.01 and in Vancouver, BC?
SELECT MIN(minimum_tax_incl_sales_taxes__cad) AS ¢_l_ FROM table_name_27 WHERE min_tax__cad¢_us_gal_ = 105.7 AND federal_excise_tax___cad¢___l__ > 10
CREATE TABLE table_name_27 (minimum_tax_incl_sales_taxes__cad INTEGER, min_tax__cad¢_us_gal_ VARCHAR, federal_excise_tax___cad¢___l__ VARCHAR)
What is the least minimum sales tax when the min tax is 105.7 and fed tax is more than 10?
SELECT 1991 FROM table_name_69 WHERE 1992 = "1r" AND 1990 = "1r"
CREATE TABLE table_name_69 (Id VARCHAR)
What is the 1991 when 1992 and 1990 are 1R?
SELECT 1991 FROM table_name_53 WHERE 1990 = "atp masters series"
CREATE TABLE table_name_53 (Id VARCHAR)
What is the 1991 when 1990 is ATP Masters Series?
SELECT 1995 FROM table_name_77 WHERE 1991 = "grand slams"
CREATE TABLE table_name_77 (Id VARCHAR)
What is the 1995 when the 1991 is Grand Slams?
SELECT career_sr FROM table_name_16 WHERE 1985 = "grand slams"
CREATE TABLE table_name_16 (career_sr VARCHAR)
What is the career SR when 1985 is Grand Slams?
SELECT name FROM table_name_95 WHERE date = "11 june 1940"
CREATE TABLE table_name_95 (name VARCHAR, date VARCHAR)
Which Name has a Date of 11 june 1940?
SELECT nationality FROM table_name_80 WHERE fate = "sunk (mine)" AND tonnage__grt_ < 2 OFFSET 266
CREATE TABLE table_name_80 (nationality VARCHAR, fate VARCHAR, tonnage__grt_ VARCHAR)
Which Nationality has a Fate of sunk (mine), and a Tonnage (GRT) smaller than 2,266?
SELECT MAX(tonnage__grt_) FROM table_name_52 WHERE date = "16 june 1940"
CREATE TABLE table_name_52 (tonnage__grt_ INTEGER, date VARCHAR)
Which Tonnage (GRT) is the highest one that has a Date of 16 june 1940?
SELECT nationality FROM table_name_86 WHERE name = "assyrian"
CREATE TABLE table_name_86 (nationality VARCHAR, name VARCHAR)
Which Nationality has a Name of assyrian?
SELECT bike__40km_ FROM table_name_38 WHERE swim__15km_ = "19:56"
CREATE TABLE table_name_38 (bike__40km_ VARCHAR, swim__15km_ VARCHAR)
What is the time for the bike (40km) when the swim (1.5km) is 19:56?
SELECT trans_2 FROM table_name_76 WHERE swim__15km_ = "18:55" AND run__10km_ = "32:37"
CREATE TABLE table_name_76 (trans_2 VARCHAR, swim__15km_ VARCHAR, run__10km_ VARCHAR)
With a swim (1.5km) of 18:55 and a run (10km) of 32:37, what is the trans 2?
SELECT swim__15km_ FROM table_name_6 WHERE event = "women's" AND athlete = "daniela ryf"
CREATE TABLE table_name_6 (swim__15km_ VARCHAR, event VARCHAR, athlete VARCHAR)
Daniela Ryf who competes in the women's even had what swim (1.5km)?
SELECT total_time FROM table_name_21 WHERE bike__40km_ = "58:20"
CREATE TABLE table_name_21 (total_time VARCHAR, bike__40km_ VARCHAR)
For the triathlon with a bike (40km) of 58:20 what is the total time?
SELECT trans_1 FROM table_name_28 WHERE total_time = "2:00:40.20"
CREATE TABLE table_name_28 (trans_1 VARCHAR, total_time VARCHAR)
How long did the trans 1 take when 2:00:40.20 is the total time?
SELECT record FROM table_name_91 WHERE team = "minnesota"
CREATE TABLE table_name_91 (record VARCHAR, team VARCHAR)
Can you tell me the Record that has the Team of minnesota?
SELECT score FROM table_name_89 WHERE team = "memphis"
CREATE TABLE table_name_89 (score VARCHAR, team VARCHAR)
Can you tell me the Score that has the Team of memphis?
SELECT score FROM table_name_27 WHERE away_team = "aldershot" AND date = "aldershot"
CREATE TABLE table_name_27 (score VARCHAR, away_team VARCHAR, date VARCHAR)
With a date of Aldershot and Aldershot as the away team what was the score of the game?
SELECT score FROM table_name_84 WHERE away_team = "west ham united"
CREATE TABLE table_name_84 (score VARCHAR, away_team VARCHAR)
What was the score for the game when West Ham United was the away team?
SELECT home_team FROM table_name_27 WHERE tie_no = "15" AND away_team = "sheffield united" AND date = "sheffield united"
CREATE TABLE table_name_27 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR, away_team VARCHAR)
With Sheffield United as the away team and the date, what home team has a tie no of 15?
SELECT home_team FROM table_name_39 WHERE away_team = "sheffield united" AND date = "sheffield united"
CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR, date VARCHAR)
Who was the home team when Sheffield United was the away team and the date was also Sheffield United?
SELECT tie_no FROM table_name_92 WHERE date = "watford"
CREATE TABLE table_name_92 (tie_no VARCHAR, date VARCHAR)
What tie no has Watford as the date?
SELECT country FROM table_name_95 WHERE place = "t9" AND score = 71 - 71 - 72 = 214 AND player = "ernie els"
CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR)
Which Country has a Place of t9, and a Score of 71-71-72=214, and a Player of ernie els?
SELECT country FROM table_name_12 WHERE to_par = "–13"
CREATE TABLE table_name_12 (country VARCHAR, to_par VARCHAR)
Which Country has a To par of –13?
SELECT player FROM table_name_71 WHERE score = 72 - 69 - 73 = 214
CREATE TABLE table_name_71 (player VARCHAR, score VARCHAR)
Which Player has a Score of 72-69-73=214?
SELECT score FROM table_name_30 WHERE to_par = "–4" AND player = "duffy waldorf"
CREATE TABLE table_name_30 (score VARCHAR, to_par VARCHAR, player VARCHAR)
Which Score has a To par of –4, and a Player of duffy waldorf?