question
stringlengths
12
243
context
stringlengths
45
517
answer
stringlengths
32
484
What 2009 has lq as the 2011?
columns: - name: Id type: VARCHAR table: table_name_58
SELECT 2009 FROM table_name_58 WHERE 2011 = "lq"
What is the attendance of week 8?
columns: - name: attendance type: VARCHAR - name: week type: VARCHAR table: table_name_23
SELECT COUNT(attendance) FROM table_name_23 WHERE week = 8
What amount had all played that lost were 8?
columns: - name: played type: VARCHAR - name: lost type: VARCHAR table: table_13564637_3
SELECT played FROM table_13564637_3 WHERE lost = "8"
What is the date of birth for the player from Ulster and plays at Centre position?
columns: - name: date_of_birth__age_ type: VARCHAR - name: club_province type: VARCHAR - name: position type: VARCHAR table: table_name_26
SELECT date_of_birth__age_ FROM table_name_26 WHERE club_province = "ulster" AND position = "centre"
How many longitudes have a latitude of 9.9n?
columns: - name: longitude type: VARCHAR - name: latitude type: VARCHAR table: table_16768245_2
SELECT COUNT(longitude) FROM table_16768245_2 WHERE latitude = "9.9N"
Name the driver passenger for 394 points
columns: - name: driver___passenger type: VARCHAR - name: points type: VARCHAR table: table_16941304_4
SELECT driver___passenger FROM table_16941304_4 WHERE points = 394
Name the most year for points more than 0
columns: - name: year type: INTEGER - name: points type: INTEGER table: table_name_96
SELECT MAX(year) FROM table_name_96 WHERE points > 0
What is the mean round number for center position when the pick number is less than 23?
columns: - name: round type: INTEGER - name: position type: VARCHAR - name: pick__number type: VARCHAR table: table_name_39
SELECT AVG(round) FROM table_name_39 WHERE position = "center" AND pick__number < 23
Who won the April 11 race?
columns: - name: winning_driver type: VARCHAR - name: date type: VARCHAR table: table_25773116_2
SELECT winning_driver FROM table_25773116_2 WHERE date = "April 11"
What competition has 17-1 as the result?
columns: - name: competition type: VARCHAR - name: result type: VARCHAR table: table_name_38
SELECT competition FROM table_name_38 WHERE result = "17-1"
What was the away team's score at windy hill?
columns: - name: away_team type: VARCHAR - name: venue type: VARCHAR table: table_name_71
SELECT away_team AS score FROM table_name_71 WHERE venue = "windy hill"
What is the Netflix where Segment C is car washes?
columns: - name: netflix type: VARCHAR - name: segment_c type: VARCHAR table: table_15187735_12
SELECT netflix FROM table_15187735_12 WHERE segment_c = "Car Washes"
The golfer from the United states with a score of 72-70-69=211 is in what place?
columns: - name: place type: VARCHAR - name: country type: VARCHAR - name: score type: VARCHAR table: table_name_46
SELECT place FROM table_name_46 WHERE country = "united states" AND score = 72 - 70 - 69 = 211
What is the name of the episode that had 9.89 million U.S. viewers?
columns: - name: title type: VARCHAR - name: us_viewers__million_ type: VARCHAR table: table_24648983_1
SELECT title FROM table_24648983_1 WHERE us_viewers__million_ = "9.89"
What is the least number of Races for a Racer with less than 0 Points?
columns: - name: races type: INTEGER - name: points type: INTEGER table: table_name_31
SELECT MIN(races) FROM table_name_31 WHERE points < 0
Name the country with polák
columns: - name: country type: VARCHAR - name: name type: VARCHAR table: table_name_4
SELECT country FROM table_name_4 WHERE name = "polák"
Where was held the ceremony for the 12th Pride of Britain Awards?
columns: - name: location type: VARCHAR - name: episode type: VARCHAR table: table_13943239_1
SELECT location FROM table_13943239_1 WHERE episode = "12th Pride of Britain Awards"
What is the highest capacity in Aslantepe in 2002-2005?
columns: - name: capacity type: INTEGER - name: location type: VARCHAR - name: year type: VARCHAR table: table_name_97
SELECT MAX(capacity) FROM table_name_97 WHERE location = "aslantepe" AND year = "2002-2005"
Name the least track with song of little sister
columns: - name: track type: INTEGER - name: song_title type: VARCHAR table: table_name_67
SELECT MIN(track) FROM table_name_67 WHERE song_title = "little sister"
what is 2000 when 2012 is 4r?
columns: - name: Id type: VARCHAR table: table_name_4
SELECT 2000 FROM table_name_4 WHERE 2012 = "4r"
Which team was team 1 in the match where team 2 was olympique lyonnais (d2)?
columns: - name: team_1 type: VARCHAR - name: team_2 type: VARCHAR table: table_name_20
SELECT team_1 FROM table_name_20 WHERE team_2 = "olympique lyonnais (d2)"
Can you tell me the 2009 that has the 2011 of A?
columns: - name: Id type: VARCHAR table: table_name_50
SELECT 2009 FROM table_name_50 WHERE 2011 = "a"
What is the city the track of manzanita speedway is in?
columns: - name: city type: VARCHAR - name: track type: VARCHAR table: table_name_89
SELECT city FROM table_name_89 WHERE track = "manzanita speedway"
Who won the spanish grand prix?
columns: - name: grand_prix type: VARCHAR table: table_15299235_1
SELECT 250 AS cc_winner FROM table_15299235_1 WHERE grand_prix = "Spanish grand_prix"
How many years was the film The Blossoming of Maximo Oliveros entered?
columns: - name: year__ceremony_ type: VARCHAR - name: film_title_used_in_nomination type: VARCHAR table: table_17919342_1
SELECT COUNT(year__ceremony_) FROM table_17919342_1 WHERE film_title_used_in_nomination = "The Blossoming of Maximo Oliveros"
Which was the lowest gold when silver was smaller than 0?
columns: - name: gold type: INTEGER - name: silver type: INTEGER table: table_name_94
SELECT MIN(gold) FROM table_name_94 WHERE silver < 0
Who was the 2nd place team when the location was Tulsa, OK before 1956?
columns: - name: host_location type: VARCHAR - name: year type: VARCHAR table: table_name_93
SELECT 2 AS nd_place_team FROM table_name_93 WHERE host_location = "tulsa, ok" AND year < 1956
What is the average Games for 1965–1981, and a Ranking larger than 4?
columns: - name: games type: INTEGER - name: years type: VARCHAR - name: ranking type: VARCHAR table: table_name_52
SELECT AVG(games) FROM table_name_52 WHERE years = "1965–1981" AND ranking > 4
What was the final score of the game at the astrodome?
columns: - name: final_score type: VARCHAR - name: stadium type: VARCHAR table: table_name_74
SELECT final_score FROM table_name_74 WHERE stadium = "astrodome"
What year was Hazel Grove the constituent for the liberal party?
columns: - name: year type: VARCHAR - name: party type: VARCHAR - name: constituency type: VARCHAR table: table_name_15
SELECT year FROM table_name_15 WHERE party = "liberal" AND constituency = "hazel grove"
What School did Player Alonzo Mourning attend?
columns: - name: school type: VARCHAR - name: player type: VARCHAR table: table_name_74
SELECT school FROM table_name_74 WHERE player = "alonzo mourning"
Who won the race on August 15?
columns: - name: race_winner type: VARCHAR - name: date type: VARCHAR table: table_28925058_1
SELECT race_winner FROM table_28925058_1 WHERE date = "August 15"
What was the result of the home game against Derby County?
columns: - name: win_draw_lose type: VARCHAR - name: venue type: VARCHAR - name: team type: VARCHAR table: table_name_71
SELECT win_draw_lose FROM table_name_71 WHERE venue = "home" AND team = "derby county"
Who won the course Brescia?
columns: - name: winner type: VARCHAR - name: course type: VARCHAR table: table_name_49
SELECT winner FROM table_name_49 WHERE course = "brescia"
Which Team has a Position in table of 15th (c)?
columns: - name: team type: VARCHAR - name: position_in_table type: VARCHAR table: table_name_75
SELECT team FROM table_name_75 WHERE position_in_table = "15th (c)"
What is the date of creation for the locomotive having a type of 0-4-2
columns: - name: date_made type: VARCHAR - name: type type: VARCHAR table: table_name_9
SELECT date_made FROM table_name_9 WHERE type = "0-4-2"
How many tickets were sold / available for the venue that had a gross revenue of $333,100 in 2011?
columns: - name: tickets_sold___available type: VARCHAR - name: gross_revenue__2011_ type: VARCHAR table: table_name_51
SELECT tickets_sold___available FROM table_name_51 WHERE gross_revenue__2011_ = "$333,100"
What are the average wins that have great britain as the team?
columns: - name: wins type: INTEGER - name: team type: VARCHAR table: table_name_80
SELECT AVG(wins) FROM table_name_80 WHERE team = "great britain"
What is the average field goal someone has when they have 0 extra points but more than 5 touch downs?
columns: - name: field_goals type: INTEGER - name: extra_points type: VARCHAR - name: touchdowns type: VARCHAR table: table_name_80
SELECT AVG(field_goals) FROM table_name_80 WHERE extra_points > 0 AND touchdowns > 5
What First game has a Lost greater than 16?
columns: - name: first_game type: INTEGER - name: lost type: INTEGER table: table_name_16
SELECT AVG(first_game) FROM table_name_16 WHERE lost > 16
What is the average dismissals of 83 test and catches less than 33?
columns: - name: total_dismissals type: INTEGER - name: tests type: VARCHAR - name: catches type: VARCHAR table: table_name_5
SELECT AVG(total_dismissals) FROM table_name_5 WHERE tests = 83 AND catches < 33
Ashley Grimes had what to club?
columns: - name: to_club type: VARCHAR - name: player type: VARCHAR table: table_name_26
SELECT to_club FROM table_name_26 WHERE player = "ashley grimes"
What is the census ranking for the parish with an area larger than 243.31 square km?
columns: - name: census_ranking type: VARCHAR - name: area_km_2 type: INTEGER table: table_name_79
SELECT census_ranking FROM table_name_79 WHERE area_km_2 > 243.31
Who was driving with a Grid of 13?
columns: - name: driver type: VARCHAR - name: grid type: VARCHAR table: table_name_45
SELECT driver FROM table_name_45 WHERE grid = 13
Which Scorers have a Venue of A, and an Opponent of arsenal?
columns: - name: scorers type: VARCHAR - name: venue type: VARCHAR - name: opponent type: VARCHAR table: table_name_41
SELECT scorers FROM table_name_41 WHERE venue = "a" AND opponent = "arsenal"
What was the result of the game that had 56,500 in attendance?
columns: - name: result type: VARCHAR - name: attendance type: VARCHAR table: table_name_15
SELECT result FROM table_name_15 WHERE attendance = "56,500"
Which Melbourne has Sydney yes, Gold Coast yes, and Perth yes?
columns: - name: melbourne type: VARCHAR - name: perth type: VARCHAR - name: sydney type: VARCHAR - name: gold_coast type: VARCHAR table: table_name_71
SELECT melbourne FROM table_name_71 WHERE sydney = "yes" AND gold_coast = "yes" AND perth = "yes"
What tournament located is mississippi was nov 5
columns: - name: tournament type: VARCHAR - name: date type: VARCHAR - name: location type: VARCHAR table: table_name_83
SELECT tournament FROM table_name_83 WHERE date = "nov 5" AND location = "mississippi"
How many acres does the area of Lissagroom with Bandon as its poor law union cover?
columns: - name: area__acres__ type: VARCHAR - name: poor_law_union type: VARCHAR - name: townland type: VARCHAR table: table_30120633_1
SELECT area__acres__ FROM table_30120633_1 WHERE poor_law_union = "Bandon" AND townland = "Lissagroom"
What is Event, when Year is 2008?
columns: - name: event type: VARCHAR - name: year type: VARCHAR table: table_name_59
SELECT event FROM table_name_59 WHERE year = 2008
What is the total number of goals scored against clubs that have played more than 42 times?
columns: - name: goals_against type: VARCHAR - name: played type: INTEGER table: table_name_68
SELECT COUNT(goals_against) FROM table_name_68 WHERE played > 42
What is the finish of Australia?
columns: - name: finish type: VARCHAR - name: country type: VARCHAR table: table_name_52
SELECT finish FROM table_name_52 WHERE country = "australia"
What is the FA Cup App for Squad Number 3 having fewer than 4 league goals?
columns: - name: fa_cup_apps type: VARCHAR - name: league_goals type: VARCHAR - name: squad_no type: VARCHAR table: table_name_53
SELECT fa_cup_apps FROM table_name_53 WHERE league_goals < 4 AND squad_no = 3
Tell me the D 41 for D 43 of d 18
columns: - name: d_41 type: VARCHAR - name: d_43 type: VARCHAR table: table_name_63
SELECT d_41 FROM table_name_63 WHERE d_43 = "d 18"
For the game against the Washington Bullets, what was the final score?
columns: - name: score type: VARCHAR - name: opponent type: VARCHAR table: table_name_97
SELECT score FROM table_name_97 WHERE opponent = "washington bullets"
How many laps had a grid over 16 and a Time of +1:35.890?
columns: - name: laps type: VARCHAR - name: grid type: VARCHAR - name: time type: VARCHAR table: table_name_79
SELECT laps FROM table_name_79 WHERE grid > 16 AND time = "+1:35.890"
What are the high rebounds in the 45 game?
columns: - name: high_rebounds type: VARCHAR - name: game type: VARCHAR table: table_27734577_8
SELECT high_rebounds FROM table_27734577_8 WHERE game = 45
For player is adam wiesel mention all the college/junior/club team
columns: - name: college_junior_club_team type: VARCHAR - name: player type: VARCHAR table: table_2781227_4
SELECT college_junior_club_team FROM table_2781227_4 WHERE player = "Adam Wiesel"
What is Driver, when Race 2 is 14?
columns: - name: driver type: VARCHAR - name: race_2 type: VARCHAR table: table_name_48
SELECT driver FROM table_name_48 WHERE race_2 = "14"
What year was the game at Bad Neuenahr Eppelborn?
columns: - name: year type: VARCHAR - name: venue type: VARCHAR table: table_name_30
SELECT year FROM table_name_30 WHERE venue = "bad neuenahr eppelborn"
What date was the Site michigan stadium • ann arbor, mi?
columns: - name: date type: VARCHAR - name: site type: VARCHAR table: table_name_50
SELECT date FROM table_name_50 WHERE site = "michigan stadium • ann arbor, mi"
Orbital period of 89 to 128 min has what specific orbital energy?
columns: - name: specific_orbital_energy type: VARCHAR - name: orbital_period type: VARCHAR table: table_name_73
SELECT specific_orbital_energy FROM table_name_73 WHERE orbital_period = "89 to 128 min"
What campus is in Brgy. Alangilan, Batangas City?
columns: - name: campus type: VARCHAR - name: location type: VARCHAR table: table_name_59
SELECT campus FROM table_name_59 WHERE location = "brgy. alangilan, batangas city"
What is week 6 when week 7, week 4, and week 3 are evicted and week 2 29.35?
columns: - name: week_6 type: VARCHAR - name: week_2 type: VARCHAR - name: week_3 type: VARCHAR - name: week_7 type: VARCHAR - name: week_4 type: VARCHAR table: table_name_22
SELECT week_6 FROM table_name_22 WHERE week_7 = "evicted" AND week_4 = "evicted" AND week_3 = "evicted" AND week_2 = "29.35"
In which movie is Selva Nambi a co-singer?
columns: - name: movie type: VARCHAR - name: co_singers type: VARCHAR table: table_name_20
SELECT movie FROM table_name_20 WHERE co_singers = "selva nambi"
What's the earliest year the new york giants lost at new meadowlands stadium?
columns: - name: year type: INTEGER - name: loser type: VARCHAR - name: location type: VARCHAR table: table_name_31
SELECT MIN(year) FROM table_name_31 WHERE loser = "new york giants" AND location = "new meadowlands stadium"
What is the reserved for (ST/ST/None) when it was Uklana?
columns: - name: reserved_for___sc___st__none_ type: VARCHAR - name: name type: VARCHAR table: table_name_40
SELECT reserved_for___sc___st__none_ FROM table_name_40 WHERE name = "uklana"
What is the total amount of world records for Roger Francois?
columns: - name: "roger_fran\xE7ois" type: VARCHAR - name: world_record type: VARCHAR table: table_name_54
SELECT roger_françois FROM table_name_54 WHERE world_record = "total"
Where the NRV link is CGN38, what is the reclassified as?
columns: - name: reclassified_as type: VARCHAR - name: nvr_link type: VARCHAR table: table_name_35
SELECT reclassified_as FROM table_name_35 WHERE nvr_link = "cgn38"
What year was Kirkland founded?
columns: - name: founded type: VARCHAR - name: location type: VARCHAR table: table_13759592_2
SELECT founded FROM table_13759592_2 WHERE location = "Kirkland"
What is the away team score of Melbourne?
columns: - name: away_team type: VARCHAR table: table_name_54
SELECT away_team AS score FROM table_name_54 WHERE away_team = "melbourne"
What is the total of the player who won before 1991 and has a to par less than 14?
columns: - name: total type: VARCHAR - name: year_won type: VARCHAR - name: to_par type: VARCHAR table: table_name_74
SELECT COUNT(total) FROM table_name_74 WHERE year_won < 1991 AND to_par < 14
What is the lowest run 2 of the athlete with a run 1 of 52.44 and a run 3 less than 52.35?
columns: - name: run_2 type: INTEGER - name: run_1 type: VARCHAR - name: run_3 type: VARCHAR table: table_name_90
SELECT MIN(run_2) FROM table_name_90 WHERE run_1 = 52.44 AND run_3 < 52.35
What venue is in the city of Durham?
columns: - name: venue type: VARCHAR - name: city type: VARCHAR table: table_name_95
SELECT venue FROM table_name_95 WHERE city = "durham"
What is the second party where the first party is Tory and the year is 1820?
columns: - name: second_party type: VARCHAR - name: first_party type: VARCHAR - name: year type: VARCHAR table: table_name_88
SELECT second_party FROM table_name_88 WHERE first_party = "tory" AND year = 1820
What's the latest year that Doha, Qatar hosted a tournament?
columns: - name: year type: INTEGER - name: venue type: VARCHAR table: table_name_19
SELECT MAX(year) FROM table_name_19 WHERE venue = "doha, qatar"
In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B?
columns: - name: round type: VARCHAR - name: class_d_winner type: VARCHAR - name: class_b_winner type: VARCHAR table: table_24853015_1
SELECT round FROM table_24853015_1 WHERE class_d_winner = "Roy Salvadori" AND class_b_winner = "Alan Hutcheson"
What is the Surface when Todd Woodbridge was the runner-up, and a Date of 24 february 1997?
columns: - name: surface type: VARCHAR - name: outcome type: VARCHAR - name: date type: VARCHAR table: table_name_77
SELECT surface FROM table_name_77 WHERE outcome = "runner-up" AND date = "24 february 1997"
Who did she play with on clay?
columns: - name: partner type: VARCHAR - name: surface type: VARCHAR table: table_1920271_3
SELECT partner FROM table_1920271_3 WHERE surface = "Clay"
What date was the winner the new york jets and a Result of 30–28?
columns: - name: date type: VARCHAR - name: winner type: VARCHAR - name: result type: VARCHAR table: table_name_67
SELECT date FROM table_name_67 WHERE winner = "new york jets" AND result = "30–28"
What was the score of the game on October 20 when the home team is the NY Islanders?
columns: - name: score type: VARCHAR - name: home type: VARCHAR - name: date type: VARCHAR table: table_name_57
SELECT score FROM table_name_57 WHERE home = "ny islanders" AND date = "october 20"
What position was played at the World Athletics Final Competition in a year more recent than 2008?
columns: - name: position type: VARCHAR - name: competition type: VARCHAR - name: year type: VARCHAR table: table_name_11
SELECT position FROM table_name_11 WHERE competition = "world athletics final" AND year > 2008
what is the outcome for the 1887?
columns: - name: outcome type: VARCHAR - name: year type: VARCHAR table: table_name_4
SELECT outcome FROM table_name_4 WHERE year = 1887
What is the source on 6 September?
columns: - name: source type: VARCHAR - name: date type: VARCHAR table: table_name_27
SELECT source FROM table_name_27 WHERE date = "6 september"
What platform is nds4droid on for the nintendo ds with a license of gpl v2?
columns: - name: platform type: VARCHAR - name: name type: VARCHAR - name: system type: VARCHAR - name: license type: VARCHAR table: table_name_93
SELECT platform FROM table_name_93 WHERE system = "nintendo ds" AND license = "gpl v2" AND name = "nds4droid"
Who performed the song recorded at the Cabin in the Woods Studio with a Time of 3:16?
columns: - name: performer_s_ type: VARCHAR - name: recorded_at type: VARCHAR - name: time type: VARCHAR table: table_name_45
SELECT performer_s_ FROM table_name_45 WHERE recorded_at = "the cabin in the woods studio" AND time = "3:16"
What player had a transfer window of winter, and free as the transfer fee?
columns: - name: name type: VARCHAR - name: transfer_window type: VARCHAR - name: transfer_fee type: VARCHAR table: table_name_72
SELECT name FROM table_name_72 WHERE transfer_window = "winter" AND transfer_fee = "free"
What is Poles, when Races is less than 16?
columns: - name: poles type: VARCHAR - name: races type: INTEGER table: table_name_99
SELECT poles FROM table_name_99 WHERE races < 16
WHAT IS THE LOWEST AVERAGE FINISH FOR 40TH POSITION, WITH A TOP 5 LARGER THAN 0?
columns: - name: avg_finish type: INTEGER - name: position type: VARCHAR - name: top_5 type: VARCHAR table: table_name_70
SELECT MIN(avg_finish) FROM table_name_70 WHERE position = "40th" AND top_5 > 0
Who had a qual 1 best of 1:01.704?
columns: - name: qual_1 type: VARCHAR - name: best type: VARCHAR table: table_name_43
SELECT qual_1 FROM table_name_43 WHERE best = "1:01.704"
What is the time for Adi Bichman?
columns: - name: time type: VARCHAR - name: name type: VARCHAR table: table_name_28
SELECT time FROM table_name_28 WHERE name = "adi bichman"
What is the lowest number of poles?
columns: - name: poles type: INTEGER table: table_16710541_2
SELECT MIN(poles) FROM table_16710541_2
Who were the GT winning team when the GTC winning team was No. 54 Black Swan Racing?
columns: - name: gt_winning_team type: VARCHAR - name: gtc_winning_team type: VARCHAR table: table_27743641_2
SELECT gt_winning_team FROM table_27743641_2 WHERE gtc_winning_team = "No. 54 Black Swan Racing"
What engine was used by Ram Penthouse Rizla Racing in 1978?
columns: - name: engine type: VARCHAR - name: year type: VARCHAR - name: entrant type: VARCHAR table: table_name_97
SELECT engine FROM table_name_97 WHERE year > 1978 AND entrant = "ram penthouse rizla racing"
What's the branding for frequency 1233khz?
columns: - name: branding type: VARCHAR - name: frequency type: VARCHAR table: table_name_5
SELECT branding FROM table_name_5 WHERE frequency = "1233khz"
Which weight class had a time of 4:59?
columns: - name: weight_class type: VARCHAR - name: time type: VARCHAR table: table_name_65
SELECT weight_class FROM table_name_65 WHERE time = "4:59"
which affiliation does edwin e. willis affiliate with
columns: - name: party type: VARCHAR - name: incumbent type: VARCHAR table: table_1341930_18
SELECT party FROM table_1341930_18 WHERE incumbent = "Edwin E. Willis"
What is the smallest Crowd number for the Venue named Princes Park?
columns: - name: crowd type: INTEGER - name: venue type: VARCHAR table: table_name_96
SELECT MIN(crowd) FROM table_name_96 WHERE venue = "princes park"
How many values for points have Sophia Witherspoon as the player?
columns: - name: points type: VARCHAR - name: player type: VARCHAR table: table_25352324_5
SELECT COUNT(points) FROM table_25352324_5 WHERE player = "Sophia Witherspoon"
When middle assyrian empire is the ubaid period in mesopotamia what is the copper age?
columns: - name: copper_age type: VARCHAR - name: ubaid_period_in_mesopotamia type: VARCHAR table: table_23537091_1
SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Middle Assyrian Empire"