question
stringlengths
12
243
context
stringlengths
45
517
answer
stringlengths
32
484
What is the 2009 value with a q1 in 2006 in the French Open?
columns: - name: tournament type: VARCHAR table: table_name_75
SELECT 2009 FROM table_name_75 WHERE 2006 = "q1" AND tournament = "french open"
How many points did the opponent score on Sept. 14?
columns: - name: opponents type: INTEGER - name: date type: VARCHAR table: table_16677887_2
SELECT MAX(opponents) FROM table_16677887_2 WHERE date = "Sept. 14"
Which Date has a Ship of hallbjorg?
columns: - name: date type: VARCHAR - name: ship type: VARCHAR table: table_name_87
SELECT date FROM table_name_87 WHERE ship = "hallbjorg"
What is the smallest all around when the total is 19.85 and the hoop is less than 9.85?
columns: - name: all_around type: INTEGER - name: total type: VARCHAR - name: hoop type: VARCHAR table: table_name_70
SELECT MIN(all_around) FROM table_name_70 WHERE total = 19.85 AND hoop < 9.85
In what year did a car have a yamaha v12 engine and a brabham bt60y chassis
columns: - name: year type: VARCHAR - name: engine type: VARCHAR - name: chassis type: VARCHAR table: table_name_70
SELECT year FROM table_name_70 WHERE engine = "yamaha v12" AND chassis = "brabham bt60y"
what is the year when the location is san diego, california and defeated is houston baptist (texas)?
columns: - name: year type: VARCHAR - name: location type: VARCHAR - name: defeated type: VARCHAR table: table_name_96
SELECT COUNT(year) FROM table_name_96 WHERE location = "san diego, california" AND defeated = "houston baptist (texas)"
what is the metlink code that opened in 1908?
columns: - name: metlink_code type: VARCHAR - name: opened type: VARCHAR table: table_3005450_1
SELECT metlink_code FROM table_3005450_1 WHERE opened = "1908"
at kardinia park, what was the away team's score?
columns: - name: away_team type: VARCHAR - name: venue type: VARCHAR table: table_name_22
SELECT away_team AS score FROM table_name_22 WHERE venue = "kardinia park"
What was the attendance for the game on October 30, 1994 for a week after week 2?
columns: - name: attendance type: VARCHAR - name: week type: VARCHAR - name: date type: VARCHAR table: table_name_54
SELECT COUNT(attendance) FROM table_name_54 WHERE week > 2 AND date = "october 30, 1994"
How many appointed archbishops were ordained as priests on December 20, 1959
columns: - name: Appointed type: VARCHAR - name: ordained_priest type: VARCHAR table: table_1656555_1
SELECT COUNT(Appointed) AS archbishop FROM table_1656555_1 WHERE ordained_priest = "December 20, 1959"
how many people won in 1914
columns: - name: district type: VARCHAR - name: first_elected type: VARCHAR table: table_1342359_17
SELECT COUNT(district) FROM table_1342359_17 WHERE first_elected = 1914
How much December has a Score of 5–2, and a Game smaller than 27?
columns: - name: december type: VARCHAR - name: score type: VARCHAR - name: game type: VARCHAR table: table_name_81
SELECT COUNT(december) FROM table_name_81 WHERE score = "5–2" AND game < 27
Who were the candidates for election that had a result of a retired jacksonian gain?
columns: - name: candidates type: VARCHAR - name: result type: VARCHAR table: table_2668264_8
SELECT candidates FROM table_2668264_8 WHERE result = "Retired Jacksonian gain"
Which Grand Prix has the Circuit of Lille?
columns: - name: name type: VARCHAR - name: circuit type: VARCHAR table: table_name_20
SELECT name FROM table_name_20 WHERE circuit = "lille"
How much money does the player with a 68-71-68-72=279 score have?
columns: - name: "money___\xA3__" type: VARCHAR - name: score type: VARCHAR table: table_name_78
SELECT money___£__ FROM table_name_78 WHERE score = 68 - 71 - 68 - 72 = 279
What is the average of the total when t11 is the finish?
columns: - name: total type: INTEGER - name: finish type: VARCHAR table: table_name_39
SELECT AVG(total) FROM table_name_39 WHERE finish = "t11"
What is listede for Departure that also has a Station Code of CLT?
columns: - name: departure type: VARCHAR - name: station_code type: VARCHAR table: table_name_33
SELECT departure FROM table_name_33 WHERE station_code = "clt"
What's the release date of model number CORE I7-940?
columns: - name: release_date type: VARCHAR - name: model_number type: VARCHAR table: table_name_27
SELECT release_date FROM table_name_27 WHERE model_number = "core i7-940"
Who was the home team when Carlton was the away team?
columns: - name: home_team type: VARCHAR - name: away_team type: VARCHAR table: table_name_97
SELECT home_team FROM table_name_97 WHERE away_team = "carlton"
What's the Overall average that has brad scioli, and a Pick # larger than 5?
columns: - name: overall type: INTEGER - name: name type: VARCHAR - name: pick__number type: VARCHAR table: table_name_60
SELECT AVG(overall) FROM table_name_60 WHERE name = "brad scioli" AND pick__number > 5
Who was the opponent on February 28, 1991
columns: - name: opponent type: VARCHAR - name: date type: VARCHAR table: table_20745685_1
SELECT opponent FROM table_20745685_1 WHERE date = "February 28, 1991"
Who was the leading scorer on November 2, 2007?
columns: - name: leading_scorer type: VARCHAR - name: date type: VARCHAR table: table_name_62
SELECT leading_scorer FROM table_name_62 WHERE date = "november 2, 2007"
Which competition has goals less than 2?
columns: - name: competition type: VARCHAR - name: goal type: INTEGER table: table_name_98
SELECT competition FROM table_name_98 WHERE goal < 2
Which Season has a Rank smaller than 4, and a Club of barcelona, and less than 115 goals?
columns: - name: season type: VARCHAR - name: goals type: VARCHAR - name: rank type: VARCHAR - name: club type: VARCHAR table: table_name_61
SELECT season FROM table_name_61 WHERE rank < 4 AND club = "barcelona" AND goals < 115
in 1990, how many wins had an avg finish of 35 and a start less than 1?
columns: - name: wins type: INTEGER - name: starts type: VARCHAR - name: avg_finish type: VARCHAR - name: year type: VARCHAR table: table_name_90
SELECT MAX(wins) FROM table_name_90 WHERE avg_finish = 35 AND year = 1990 AND starts < 1
What is John Edwards, when John Kerry is "70%"?
columns: - name: john_edwards type: VARCHAR - name: john_kerry type: VARCHAR table: table_name_41
SELECT john_edwards FROM table_name_41 WHERE john_kerry = "70%"
Tell me the score when there was a Tie number of 6?
columns: - name: score type: VARCHAR - name: tie_no type: VARCHAR table: table_name_30
SELECT score FROM table_name_30 WHERE tie_no = "6"
When is the earliest year that there's a judd engine?
columns: - name: year type: INTEGER - name: engine type: VARCHAR table: table_name_40
SELECT MIN(year) FROM table_name_40 WHERE engine = "judd"
How many losses are there in the CD Sabadell club with a goal difference less than -2, and more than 38 played?
columns: - name: losses type: INTEGER - name: played type: VARCHAR - name: goal_difference type: VARCHAR - name: club type: VARCHAR table: table_name_26
SELECT SUM(losses) FROM table_name_26 WHERE goal_difference < -2 AND club = "cd sabadell" AND played > 38
When George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have?
columns: - name: bob_dole type: VARCHAR - name: george_hw_bush type: VARCHAR - name: pat_robertson type: VARCHAR table: table_name_67
SELECT bob_dole FROM table_name_67 WHERE george_hw_bush = "81%" AND pat_robertson = "9%"
Name the region for 39.2% vehicle
columns: - name: region type: VARCHAR - name: vehicle type: VARCHAR table: table_25042332_27
SELECT region FROM table_25042332_27 WHERE vehicle = "39.2%"
What is the score of the game where the NY Islanders are the home team?
columns: - name: score type: VARCHAR - name: home type: VARCHAR table: table_name_10
SELECT score FROM table_name_10 WHERE home = "ny islanders"
What is Season, when Country is China, when Team is Dalian Shide, when Apps is greater than 8, and when Goals is 2?
columns: - name: season type: VARCHAR - name: goals type: VARCHAR - name: apps type: VARCHAR - name: country type: VARCHAR - name: team type: VARCHAR table: table_name_6
SELECT season FROM table_name_6 WHERE country = "china" AND team = "dalian shide" AND apps > 8 AND goals = 2
What is "what", when "person" is "tawo", when "three" is "tuyo", and when "coconut" is "niyog"?
columns: - name: what type: VARCHAR - name: coconut type: VARCHAR - name: person type: VARCHAR - name: three type: VARCHAR table: table_name_7
SELECT what FROM table_name_7 WHERE person = "tawo" AND three = "tuyo" AND coconut = "niyog"
Name the first downs for points against being 0
columns: - name: first_downs type: VARCHAR - name: points_against type: VARCHAR table: table_15607589_2
SELECT first_downs FROM table_15607589_2 WHERE points_against = 0
What is the highest 2000 value that has a 2010 value of 82 and a 2005 value less than 74?
columns: - name: Id type: VARCHAR table: table_name_51
SELECT MAX(2000) FROM table_name_51 WHERE 2010 = 82 AND 2005 < 74
Who was in home (2nd leg) when Talleres was in home (1st leg)
columns: - name: home__2nd_leg_ type: VARCHAR - name: home__1st_leg_ type: VARCHAR table: table_14219514_1
SELECT home__2nd_leg_ FROM table_14219514_1 WHERE home__1st_leg_ = "Talleres"
Who was the driver with less than 53 laps, Grid larger than 17, and a Time/Retired of spin?
columns: - name: driver type: VARCHAR - name: time_retired type: VARCHAR - name: laps type: VARCHAR - name: grid type: VARCHAR table: table_name_3
SELECT driver FROM table_name_3 WHERE laps < 53 AND grid > 17 AND time_retired = "spin"
When rashard lewis (24) has the highest amount of points who is the team?
columns: - name: team type: VARCHAR - name: high_points type: VARCHAR table: table_23249053_11
SELECT team FROM table_23249053_11 WHERE high_points = "Rashard Lewis (24)"
What was the Attendance on 11/09/1946?
columns: - name: attendance type: VARCHAR - name: date type: VARCHAR table: table_name_88
SELECT attendance FROM table_name_88 WHERE date = "11/09/1946"
Name the course for team time trial
columns: - name: course type: VARCHAR - name: type type: VARCHAR table: table_name_58
SELECT course FROM table_name_58 WHERE type = "team time trial"
How many elite eight teams came from the Atlantic 10?
columns: - name: elite_eight type: VARCHAR - name: conference type: VARCHAR table: table_name_67
SELECT elite_eight FROM table_name_67 WHERE conference = "atlantic 10"
Who is the away team at junction oval?
columns: - name: away_team type: VARCHAR - name: venue type: VARCHAR table: table_name_74
SELECT away_team FROM table_name_74 WHERE venue = "junction oval"
How many values of last year in QLD Cup if QLD Cup Premierships is 1996, 2001?
columns: - name: last_year_in_qld_cup type: VARCHAR - name: qld_cup_premierships type: VARCHAR table: table_2383498_4
SELECT COUNT(last_year_in_qld_cup) FROM table_2383498_4 WHERE qld_cup_premierships = "1996, 2001"
What shows for 2006 when 1999 is Grand Slam Tournaments?
columns: - name: Id type: VARCHAR table: table_name_7
SELECT 2006 FROM table_name_7 WHERE 1990 = "grand slam tournaments"
What is the position of the player whose college is Western Kentucky?
columns: - name: position type: VARCHAR - name: college type: VARCHAR table: table_14650162_1
SELECT position FROM table_14650162_1 WHERE college = "Western Kentucky"
What was the 2nd leg score for Chemie Halle?
columns: - name: team__number1 type: VARCHAR table: table_name_73
SELECT 2 AS nd_leg FROM table_name_73 WHERE team__number1 = "chemie halle"
What is fuzzy zoeller's to par?
columns: - name: to_par type: VARCHAR - name: player type: VARCHAR table: table_name_12
SELECT to_par FROM table_name_12 WHERE player = "fuzzy zoeller"
Name the least events for number 7
columns: - name: events type: INTEGER - name: _number type: VARCHAR table: table_24108789_6
SELECT MIN(events) FROM table_24108789_6 WHERE _number = 7
Name the most laps for grid more than 9 and the driver being jan heylen
columns: - name: laps type: INTEGER - name: grid type: VARCHAR - name: driver type: VARCHAR table: table_name_9
SELECT MAX(laps) FROM table_name_9 WHERE grid > 9 AND driver = "jan heylen"
What Player's To par is −6?
columns: - name: player type: VARCHAR - name: to_par type: VARCHAR table: table_name_54
SELECT player FROM table_name_54 WHERE to_par = "−6"
Who got the time of 7:52.04?
columns: - name: swimmer type: VARCHAR - name: time type: VARCHAR table: table_name_41
SELECT swimmer FROM table_name_41 WHERE time = "7:52.04"
What is the highest loss before game 14?
columns: - name: loss type: INTEGER - name: game type: INTEGER table: table_name_31
SELECT MAX(loss) FROM table_name_31 WHERE game < 14
What was the guage of the concessionaire ferrosur roca?
columns: - name: gauge type: VARCHAR - name: concessionaire type: VARCHAR table: table_name_8
SELECT gauge FROM table_name_8 WHERE concessionaire = "ferrosur roca"
What was the longest carry for kevin clemens with under 31 yards total?
columns: - name: long type: INTEGER - name: player type: VARCHAR - name: yards type: VARCHAR table: table_name_72
SELECT MAX(long) FROM table_name_72 WHERE player = "kevin clemens" AND yards < 31
What language is the Lyrics of the release with Catalog number 560 6111?
columns: - name: lyrics type: VARCHAR - name: catalog_number type: VARCHAR table: table_name_59
SELECT lyrics FROM table_name_59 WHERE catalog_number = "560 6111"
How many people were in the crowd at Lake Oval?
columns: - name: crowd type: VARCHAR - name: venue type: VARCHAR table: table_name_2
SELECT crowd FROM table_name_2 WHERE venue = "lake oval"
Which author has a company of the Semeio Theatre?
columns: - name: author type: VARCHAR - name: company type: VARCHAR table: table_name_22
SELECT author FROM table_name_22 WHERE company = "semeio theatre"
What is the percentage democrats with democratic plurality of -3, and 2/5 democrat/republican?
columns: - name: percentage_democrats type: VARCHAR - name: democratic_seat_plurality type: VARCHAR - name: democratic__republican type: VARCHAR table: table_name_45
SELECT percentage_democrats FROM table_name_45 WHERE democratic_seat_plurality = "-3" AND democratic__republican = "2/5"
What is the opponent for the date of august 5?
columns: - name: opponent type: VARCHAR - name: date type: VARCHAR table: table_name_75
SELECT opponent FROM table_name_75 WHERE date = "august 5"
What is the highest score for Black Milk?
columns: - name: average_score type: INTEGER - name: artist type: VARCHAR table: table_name_29
SELECT MAX(average_score) FROM table_name_29 WHERE artist = "black milk"
Which Club has a Rank of 1?
columns: - name: club type: VARCHAR - name: rank type: VARCHAR table: table_name_69
SELECT club FROM table_name_69 WHERE rank = "1"
Which chassis is from 1974 and was an entrant of Goldie Hexagon racing?
columns: - name: chassis type: VARCHAR - name: year type: VARCHAR - name: entrant type: VARCHAR table: table_name_35
SELECT chassis FROM table_name_35 WHERE year = 1974 AND entrant = "goldie hexagon racing"
what is the c (nf/km) when the l (mh/km) is 0.6099?
columns: - name: c__nf_km_ type: VARCHAR - name: l__mh_km_ type: VARCHAR table: table_261642_3
SELECT c__nf_km_ FROM table_261642_3 WHERE l__mh_km_ = "0.6099"
What is the name for Charleston County with a CERCLIS ID of scd980711279?
columns: - name: name type: VARCHAR - name: county type: VARCHAR - name: cerclis_id type: VARCHAR table: table_name_44
SELECT name FROM table_name_44 WHERE county = "charleston" AND cerclis_id = "scd980711279"
After the year 2011, who was the youngest nominee?
columns: - name: record_set type: VARCHAR - name: year type: VARCHAR - name: superlative type: VARCHAR table: table_name_24
SELECT record_set FROM table_name_24 WHERE year > 2011 AND superlative = "youngest nominee"
What was the rank of the 1983 team in the 250cc class?
columns: - name: rank type: VARCHAR - name: class type: VARCHAR - name: year type: VARCHAR table: table_name_51
SELECT rank FROM table_name_51 WHERE class = "250cc" AND year = 1983
How many populations are listed for mladenovo?
columns: - name: population__2011_ type: VARCHAR - name: settlement type: VARCHAR table: table_2562572_12
SELECT COUNT(population__2011_) FROM table_2562572_12 WHERE settlement = "Mladenovo"
Which IATA has a ICAO of slk?
columns: - name: iata type: VARCHAR - name: icao type: VARCHAR table: table_name_14
SELECT iata FROM table_name_14 WHERE icao = "slk"
Who in series 11 corresponds to Peter Jones in series 1?
columns: - name: series_11 type: VARCHAR - name: series_1 type: VARCHAR table: table_name_51
SELECT series_11 FROM table_name_51 WHERE series_1 = "peter jones"
Who is Pick #41?
columns: - name: player type: VARCHAR - name: pick__number type: VARCHAR table: table_name_99
SELECT player FROM table_name_99 WHERE pick__number = "41"
What is the country for the player who had a To Par of +4?
columns: - name: country type: VARCHAR - name: to_par type: VARCHAR table: table_name_76
SELECT country FROM table_name_76 WHERE to_par = "+4"
For the match that lasted 3:53 minutes, what was the final record?
columns: - name: record type: VARCHAR - name: time type: VARCHAR table: table_name_99
SELECT record FROM table_name_99 WHERE time = "3:53"
How many different teams had an average start of 12.9?
columns: - name: team_s_ type: VARCHAR - name: avg_start type: VARCHAR table: table_2182562_2
SELECT COUNT(team_s_) FROM table_2182562_2 WHERE avg_start = "12.9"
How many times did the Denver Broncos face the Dallas Texans this season?
columns: - name: record type: VARCHAR - name: opponent type: VARCHAR table: table_17778417_1
SELECT COUNT(record) FROM table_17778417_1 WHERE opponent = "Dallas Texans"
On what date was the race in Melbourne, Victoria?
columns: - name: date type: VARCHAR - name: city___state type: VARCHAR table: table_name_42
SELECT date FROM table_name_42 WHERE city___state = "melbourne, victoria"
What is the smallest numbered production code listed?
columns: - name: production_code type: INTEGER table: table_29583441_1
SELECT MIN(production_code) FROM table_29583441_1
What was the place in Germany with a score of 69-69=138?
columns: - name: place type: VARCHAR - name: country type: VARCHAR - name: score type: VARCHAR table: table_name_24
SELECT place FROM table_name_24 WHERE score = 69 - 69 = 138 AND country = "germany"
In what city is the United Spirit Arena located?
columns: - name: city type: VARCHAR - name: venue type: VARCHAR table: table_name_20
SELECT city FROM table_name_20 WHERE venue = "united spirit arena"
What is the sum of crowd(s) when richmond is the away squad?
columns: - name: crowd type: INTEGER - name: away_team type: VARCHAR table: table_name_44
SELECT SUM(crowd) FROM table_name_44 WHERE away_team = "richmond"
Which NFL team has a player that came from a college in Washington?
columns: - name: nfl_team type: VARCHAR - name: college type: VARCHAR table: table_name_33
SELECT nfl_team FROM table_name_33 WHERE college = "washington"
How many points after 1960 for fred tuck cars?
columns: - name: points type: INTEGER - name: entrant type: VARCHAR - name: year type: VARCHAR table: table_name_80
SELECT MAX(points) FROM table_name_80 WHERE entrant = "fred tuck cars" AND year > 1960
Venue of klfa stadium, cheras, and a Score of 3-3 had what competition?
columns: - name: competition type: VARCHAR - name: venue type: VARCHAR - name: score type: VARCHAR table: table_name_71
SELECT competition FROM table_name_71 WHERE venue = "klfa stadium, cheras" AND score = "3-3"
Which languages are offered in the coverage area of klang petaling jaya shah alam?
columns: - name: language type: VARCHAR - name: coverage_area type: VARCHAR table: table_1837570_1
SELECT language FROM table_1837570_1 WHERE coverage_area = "Klang Petaling Jaya Shah Alam"
Chauncey Billups (6) had a high assist on what date?
columns: - name: date type: VARCHAR - name: high_assists type: VARCHAR table: table_17355408_7
SELECT date FROM table_17355408_7 WHERE high_assists = "Chauncey Billups (6)"
What is the score at the 2010 FIFA World Cup Qualification that results in a win?
columns: - name: score type: VARCHAR - name: competition type: VARCHAR - name: result type: VARCHAR table: table_name_6
SELECT score FROM table_name_6 WHERE competition = "2010 fifa world cup qualification" AND result = "win"
What is Week, when Semi Finalists is Sandrine Testud Yone Kamio?
columns: - name: week_of type: VARCHAR - name: semi_finalists type: VARCHAR table: table_name_53
SELECT week_of FROM table_name_53 WHERE semi_finalists = "sandrine testud yone kamio"
What is the soap opera that has a duration of 13 years, with marina giulia cavalli as the actor?
columns: - name: soap_opera type: VARCHAR - name: duration type: VARCHAR - name: actor type: VARCHAR table: table_name_84
SELECT soap_opera FROM table_name_84 WHERE duration = "13 years" AND actor = "marina giulia cavalli"
Which Branding has a frequency of 1080khz?
columns: - name: branding type: VARCHAR - name: frequency type: VARCHAR table: table_name_27
SELECT branding FROM table_name_27 WHERE frequency = "1080khz"
Which event has Toa Naketoatama as an opponent?
columns: - name: event type: VARCHAR - name: opponent type: VARCHAR table: table_name_92
SELECT event FROM table_name_92 WHERE opponent = "toa naketoatama"
What is the Latin equivalent for the Phagspa of ꡙ?
columns: - name: latin type: VARCHAR - name: "\u2019phagspa" type: VARCHAR table: table_name_72
SELECT latin FROM table_name_72 WHERE ’phagspa = "ꡙ"
When the home team north melbourne was playing what did they score?
columns: - name: home_team type: VARCHAR table: table_name_78
SELECT home_team AS score FROM table_name_78 WHERE home_team = "north melbourne"
Which player ranks higher than 9?
columns: - name: player type: VARCHAR - name: rank type: INTEGER table: table_name_11
SELECT player FROM table_name_11 WHERE rank > 9
What is the district with the result mac collins (r) unopposed?
columns: - name: district type: VARCHAR - name: result type: VARCHAR table: table_27021001_1
SELECT district FROM table_27021001_1 WHERE result = "Mac Collins (R) unopposed"
Who was the owner in 1996 of trainer Nick Zito?
columns: - name: owner type: VARCHAR - name: trainer type: VARCHAR - name: year type: VARCHAR table: table_name_10
SELECT owner FROM table_name_10 WHERE trainer = "nick zito" AND year = "1996"
how many people commentated where broadcaster is orf
columns: - name: commentator type: VARCHAR - name: broadcaster type: VARCHAR table: table_184803_4
SELECT COUNT(commentator) FROM table_184803_4 WHERE broadcaster = "ORF"
Which Wicket was it that had a 104 (69) Runs (balls) amount?
columns: - name: wicket type: VARCHAR - name: runs__balls_ type: VARCHAR table: table_name_55
SELECT wicket FROM table_name_55 WHERE runs__balls_ = "104 (69)"
What is the dutch word for one?
columns: - name: dutch type: VARCHAR - name: english type: VARCHAR table: table_name_18
SELECT dutch FROM table_name_18 WHERE english = "one"
What's the name of the 2005 tournament that has a 1R in both 2006 and 2002?
columns: - name: Id type: VARCHAR table: table_name_14
SELECT 2005 FROM table_name_14 WHERE 2006 = "1r" AND 2002 = "1r"
What is the position of the competition in Tampere, Finland?
columns: - name: position type: VARCHAR - name: venue type: VARCHAR table: table_name_62
SELECT position FROM table_name_62 WHERE venue = "tampere, finland"