answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT score FROM table_name_24 WHERE winners = "galatasaray" AND runners_up = "trabzonspor" AND year = 1990
What was Galatasaray score when when he won in 1990 and Trabzonspor was the runner-up?
CREATE TABLE table_name_24 (score VARCHAR, year VARCHAR, winners VARCHAR, runners_up VARCHAR)
SELECT location FROM table_name_97 WHERE pitch = "old bedians"
What is the Location of the Old Bedians Pitch?
CREATE TABLE table_name_97 (location VARCHAR, pitch VARCHAR)
SELECT driver FROM table_name_85 WHERE nor_1 = "22"
What driver has 22 as nor 1?
CREATE TABLE table_name_85 (driver VARCHAR, nor_1 VARCHAR)
SELECT SUM(place) FROM table_name_60 WHERE draw < 12 AND artist = "quartissimo feat. martina"
what is the place when the draw is less than 12 and the artist is quartissimo feat. martina?
CREATE TABLE table_name_60 (place INTEGER, draw VARCHAR, artist VARCHAR)
SELECT shell__lb_ FROM table_name_6 WHERE time_to_ft__m__at_40°__seconds_ = 12.6
What is the weight of the shell that reached its maximum height at 40° in 12.6 seconds?
CREATE TABLE table_name_6 (shell__lb_ VARCHAR, time_to_ft__m__at_40°__seconds_ VARCHAR)
SELECT tournament FROM table_name_15 WHERE location = "texas" AND winner = "tom watson (39)"
Which Tournament has a Location of texas, and a Winner of tom watson (39)?
CREATE TABLE table_name_15 (tournament VARCHAR, location VARCHAR, winner VARCHAR)
SELECT film_festival FROM table_26282750_1 WHERE category = "Best Male Actor"
What film festival had the Best Male Actor?
CREATE TABLE table_26282750_1 (film_festival VARCHAR, category VARCHAR)
SELECT macedonian FROM table_1841901_1 WHERE french = "il/elle avait entendu"
Name the macedonian for il/elle avait entendu
CREATE TABLE table_1841901_1 (macedonian VARCHAR, french VARCHAR)
SELECT mintage FROM table_name_1 WHERE theme = "cowboy"
How many cowboy coins were minted?
CREATE TABLE table_name_1 (mintage VARCHAR, theme VARCHAR)
SELECT tournament FROM table_name_43 WHERE score_in_final = "5–7, 4–6"
What Tournament had a Score in Final of 5–7, 4–6?
CREATE TABLE table_name_43 (tournament VARCHAR, score_in_final VARCHAR)
SELECT MIN(rank) FROM table_name_25 WHERE jianshu < 9.66 AND athlete = "richard devine ( gbr )" AND total < 19.02
What is the lowest rank when Jianshu is smaller than 9.66, for Richard Devine ( gbr ), with a total smaller than 19.02?
CREATE TABLE table_name_25 (rank INTEGER, total VARCHAR, jianshu VARCHAR, athlete VARCHAR)
SELECT word_form FROM table_name_55 WHERE ala_lc = "muay s″ain"
What is the word form for the ALA-LC transliteration of muay s″ain?
CREATE TABLE table_name_55 (word_form VARCHAR, ala_lc VARCHAR)
SELECT length FROM table_name_68 WHERE version = "uk remix"
What is the length of the UK remix version?
CREATE TABLE table_name_68 (length VARCHAR, version VARCHAR)
SELECT republican_ticket FROM table_name_8 WHERE communist_ticket = "(none)" AND socialist_ticket = "joseph g. glass"
Who's the Republican ticket with a Communist ticket of (none), and a Socialist ticket of joseph g. glass?
CREATE TABLE table_name_8 (republican_ticket VARCHAR, communist_ticket VARCHAR, socialist_ticket VARCHAR)
SELECT notes FROM table_name_33 WHERE call_sign = "cfun-fm-1"
What is the Notes of the Frequency with Call sign CFUN-FM-1?
CREATE TABLE table_name_33 (notes VARCHAR, call_sign VARCHAR)
SELECT chassis FROM table_name_92 WHERE entrant = "officine alfieri maserati" AND year = 1952
What is the chassis for a 1952 officine alfieri maserati with an entrant?
CREATE TABLE table_name_92 (chassis VARCHAR, entrant VARCHAR, year VARCHAR)
SELECT glendale FROM table_name_87 WHERE pasadena = "14%"
What is the percentage of Glendale when Pasadena is 14%?
CREATE TABLE table_name_87 (glendale VARCHAR, pasadena VARCHAR)
SELECT county FROM table_name_67 WHERE player = "tony o'sullivan"
What is Tony O'Sullivan's county?
CREATE TABLE table_name_67 (county VARCHAR, player VARCHAR)
SELECT player FROM table_name_68 WHERE to_par = "e" AND country = "united states"
Which Player has a To par of e, and a Country of united states?
CREATE TABLE table_name_68 (player VARCHAR, to_par VARCHAR, country VARCHAR)
SELECT name FROM table_name_34 WHERE years_played = "2004–2008" AND date_and_opponent = "2/17/07 vs. purdue"
Which Name has a Years Played of 2004–2008, and a Date and Opponent of 2/17/07 vs. purdue?
CREATE TABLE table_name_34 (name VARCHAR, years_played VARCHAR, date_and_opponent VARCHAR)
SELECT MIN(year) FROM table_name_78 WHERE college = "alabama" AND pick < 26
What is the earliest year for Alabama with a pick under 26?
CREATE TABLE table_name_78 (year INTEGER, college VARCHAR, pick VARCHAR)
SELECT MIN(drawn) FROM table_28201906_1
What is the lowest number of drawn games by a team?
CREATE TABLE table_28201906_1 (drawn INTEGER)
SELECT year FROM table_name_15 WHERE countries_affected = "usa"
Which year did USA undergo a disaster?
CREATE TABLE table_name_15 (year VARCHAR, countries_affected VARCHAR)
SELECT 2010 AS _11 FROM table_name_75 WHERE event = "colonial square ladies classic"
What is the 2010–11 when the Event is colonial square ladies classic?
CREATE TABLE table_name_75 (event VARCHAR)
SELECT SUM(game) FROM table_name_61 WHERE date = "october 4"
What is the number of the game that was played on October 4?
CREATE TABLE table_name_61 (game INTEGER, date VARCHAR)
SELECT portrayed_by FROM table_11240028_3 WHERE character = "Reed Garrett"
Which characters were portrayed by reed garrett?
CREATE TABLE table_11240028_3 (portrayed_by VARCHAR, character VARCHAR)
SELECT opponent FROM table_name_10 WHERE week = 3
Who was the opponent on week 3?
CREATE TABLE table_name_10 (opponent VARCHAR, week VARCHAR)
SELECT SUM(played) FROM table_name_34 WHERE position < 9 AND draws > 19 AND goals_against > 27
Name the sum of played for position less than 9 and draws more than 19 with goals against more than 27
CREATE TABLE table_name_34 (played INTEGER, goals_against VARCHAR, position VARCHAR, draws VARCHAR)
SELECT team FROM table_name_72 WHERE qual_1 = "59.895"
What team had a qual 1 of 59.895?
CREATE TABLE table_name_72 (team VARCHAR, qual_1 VARCHAR)
SELECT year_s__won FROM table_name_87 WHERE player = "tom watson"
What year did Tom Watson win?
CREATE TABLE table_name_87 (year_s__won VARCHAR, player VARCHAR)
SELECT attendance FROM table_name_17 WHERE result = "t7-7"
What is the attendance for the t7-7 result?
CREATE TABLE table_name_17 (attendance VARCHAR, result VARCHAR)
SELECT SUM(earnings__) AS $__ FROM table_name_82 WHERE country = "united states" AND wins = 22 AND rank > 2
When the united states has 22 wins and a rank greater than 2, what is the total earnings?
CREATE TABLE table_name_82 (earnings__ INTEGER, rank VARCHAR, country VARCHAR, wins VARCHAR)
SELECT role FROM table_name_11 WHERE studio = "rep" AND leading_lady = "sheila mannors" AND title = "westward ho"
Name the role for studio of rep with sheila mannors leading lady and title of westward ho
CREATE TABLE table_name_11 (role VARCHAR, title VARCHAR, studio VARCHAR, leading_lady VARCHAR)
SELECT MIN(week) FROM table_name_50 WHERE result = "w 10-3"
Tell me the lowest week for w 10-3
CREATE TABLE table_name_50 (week INTEGER, result VARCHAR)
SELECT MIN(year_named) FROM table_name_84 WHERE name = "nuptadi planitia" AND diameter__km_ > 1 OFFSET 200.0
Which Year named has a Name of nuptadi planitia, and a Diameter (km) larger than 1,200.0?
CREATE TABLE table_name_84 (year_named INTEGER, name VARCHAR, diameter__km_ VARCHAR)
SELECT time_retired FROM table_name_25 WHERE grid > 9 AND driver = "rolf stommelen"
What is the Time/Retired when the grid is larger than 9 and Rolf Stommelen is the driver?
CREATE TABLE table_name_25 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT operating_system FROM table_24257833_4 WHERE webkit_version = "525.29.1"
List all OS's with a webkit version of 525.29.1.
CREATE TABLE table_24257833_4 (operating_system VARCHAR, webkit_version VARCHAR)
SELECT MIN(since) FROM table_name_76 WHERE transfer_fee = "€ 14m" AND ends > 2011
What is the lowest year in since that had a transfer fee of € 14m and ended after 2011?
CREATE TABLE table_name_76 (since INTEGER, transfer_fee VARCHAR, ends VARCHAR)
SELECT MAX(age) FROM Dogs
What is the age of the oldest dog?
CREATE TABLE Dogs (age INTEGER)
SELECT score FROM table_name_71 WHERE tie_no = "12"
What is the score for the Tie no. 12?
CREATE TABLE table_name_71 (score VARCHAR, tie_no VARCHAR)
SELECT launched FROM table_name_28 WHERE completed = "1 july 1936"
What is the launched date of the destroyer completed 1 July 1936?
CREATE TABLE table_name_28 (launched VARCHAR, completed VARCHAR)
SELECT AVG(rank) FROM table_name_38 WHERE time = "1:42.054"
What was the rank for the finish time of 1:42.054?
CREATE TABLE table_name_38 (rank INTEGER, time VARCHAR)
SELECT division_championships FROM table_1952065_4 WHERE teams_with_division_titles = "Pittsburgh Steelers"
How many division championships did the Pittsburgh Steelers have?
CREATE TABLE table_1952065_4 (division_championships VARCHAR, teams_with_division_titles VARCHAR)
SELECT team FROM table_name_18 WHERE location_attendance = "boston garden" AND score = "l 118-130"
Which team played in the Boston Garden when the final score was L 118-130?
CREATE TABLE table_name_18 (team VARCHAR, location_attendance VARCHAR, score VARCHAR)
SELECT MAX(crowd) FROM table_name_58 WHERE venue = "arden street oval"
What was the largest crowd size at arden street oval?
CREATE TABLE table_name_58 (crowd INTEGER, venue VARCHAR)
SELECT duration FROM table_name_98 WHERE soap_opera = "the archers" AND actor = "norman painting"
What's the duration of the Archers with Norman Painting as an actor?
CREATE TABLE table_name_98 (duration VARCHAR, soap_opera VARCHAR, actor VARCHAR)
SELECT opponent FROM table_name_92 WHERE date = "september 19, 1999"
What team was the opponent for the game played on September 19, 1999?
CREATE TABLE table_name_92 (opponent VARCHAR, date VARCHAR)
SELECT MAX(stage) FROM table_28298471_14 WHERE winner = "Svein Tuft"
When svein tuft is the winner what is the highest stage?
CREATE TABLE table_28298471_14 (stage INTEGER, winner VARCHAR)
SELECT date FROM table_name_64 WHERE runner_s__up = "judy rankin"
On what Date was Judy Rankin Runner(s)-up?
CREATE TABLE table_name_64 (date VARCHAR, runner_s__up VARCHAR)
SELECT away_team FROM table_name_16 WHERE home_team = "woking"
Who was the team who played home team woking?
CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR)
SELECT fastest_lap FROM table_1132600_3 WHERE grand_prix = "Belgian grand_prix"
Who had the fastest lap in the Belgian Grand Prix?
CREATE TABLE table_1132600_3 (fastest_lap VARCHAR, grand_prix VARCHAR)
SELECT score FROM table_name_36 WHERE date = "17 november 1956" AND home_team = "derby county"
What is the score on 17 November 1956 when home team is Derby County?
CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR, home_team VARCHAR)
SELECT MIN(inhabitants) FROM table_name_4 WHERE mayor = "matteo renzi" AND election > 2009
Which Inhabitants have a Mayor of matteo renzi, and an Election larger than 2009?
CREATE TABLE table_name_4 (inhabitants INTEGER, mayor VARCHAR, election VARCHAR)
SELECT date_of_appointment FROM table_18795125_6 WHERE outgoing_manager = "Simon Davies"
What was the date of appointment for the manager that replaced Simon Davies?
CREATE TABLE table_18795125_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)
SELECT date FROM table_name_91 WHERE tournament = "at&t pebble beach national pro-am"
What is the Date of the at&t pebble beach national pro-am Tournament?
CREATE TABLE table_name_91 (date VARCHAR, tournament VARCHAR)
SELECT away FROM table_name_41 WHERE home = "1–0"
Which Away has a Home of 1–0?
CREATE TABLE table_name_41 (away VARCHAR, home VARCHAR)
SELECT COUNT(number_of_electorates__2009_) FROM table_name_57 WHERE name = "katol"
What is the total number of electorates (2009) for Katol?
CREATE TABLE table_name_57 (number_of_electorates__2009_ VARCHAR, name VARCHAR)
SELECT place FROM table_name_88 WHERE player = "arnold palmer"
What is Place, when Player is "Arnold Palmer"?
CREATE TABLE table_name_88 (place VARCHAR, player VARCHAR)
SELECT MIN(grid) FROM table_name_48 WHERE driver = "rolf stommelen"
I want the lowest Grid for Rolf Stommelen
CREATE TABLE table_name_48 (grid INTEGER, driver VARCHAR)
SELECT rating FROM table_23730973_5 WHERE viewers__millions_ = "5.90"
What was the rating for the episode that had 5.90 million viewers?
CREATE TABLE table_23730973_5 (rating VARCHAR, viewers__millions_ VARCHAR)
SELECT 2007 AS _2008 FROM table_22591910_4 WHERE position = 3
who was position 3 in 2007-2008?
CREATE TABLE table_22591910_4 (position VARCHAR)
SELECT COUNT(*) FROM student WHERE sex = 'F' AND age < 25
How many female students (sex is F) whose age is below 25?
CREATE TABLE student (sex VARCHAR, age VARCHAR)
SELECT wins FROM table_18703133_6 WHERE points = 24
How many wins have 24 points?
CREATE TABLE table_18703133_6 (wins VARCHAR, points VARCHAR)
SELECT result FROM table_name_23 WHERE date = "10-05-2012"
What is the result of game played on 10-05-2012?
CREATE TABLE table_name_23 (result VARCHAR, date VARCHAR)
SELECT COUNT(loss) FROM table_name_27 WHERE gain < 1571 AND long < 47 AND avg_g = 36.4
How much Loss has a Gain smaller than 1571, and a Long smaller than 47, and an Avg/G of 36.4?
CREATE TABLE table_name_27 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR, long VARCHAR)
SELECT category FROM table_name_31 WHERE outcome = "nominated" AND year > 2008
What category was the nominated in after 2008?
CREATE TABLE table_name_31 (category VARCHAR, outcome VARCHAR, year VARCHAR)
SELECT original_air_date FROM table_14562722_1 WHERE directed_by = "Giancarlo Volpe" AND written_by = "John O'Bryan"
What was the airdate of the episode that was directed by giancarlo volpe and written by is john o'bryan?
CREATE TABLE table_14562722_1 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT decision FROM table_name_99 WHERE visitor = "buffalo"
Who had the decision when buffalo was the visitor?
CREATE TABLE table_name_99 (decision VARCHAR, visitor VARCHAR)
SELECT race_name FROM table_name_13 WHERE winning_driver = "stirling moss"
What is the name of the race where Stirling Moss was the winning driver?
CREATE TABLE table_name_13 (race_name VARCHAR, winning_driver VARCHAR)
SELECT term_in_office FROM table_name_65 WHERE electorate = "hinkler"
Which term in office has an Electorate of hinkler?
CREATE TABLE table_name_65 (term_in_office VARCHAR, electorate VARCHAR)
SELECT moving_from FROM table_name_2 WHERE moving_to = "shakhtar donetsk" AND rank = 8
The person with a rank of 8 moving to Shakhtar Donetsk was moving from what Ukrainian Football Club as a transfer?
CREATE TABLE table_name_2 (moving_from VARCHAR, moving_to VARCHAR, rank VARCHAR)
SELECT COUNT(crowd) FROM table_name_66 WHERE home_team = "st kilda"
What was the attendance when St Kilda played as the home team?
CREATE TABLE table_name_66 (crowd VARCHAR, home_team VARCHAR)
SELECT stage FROM table_name_22 WHERE winner = "robbie mcewen"
Name the stgae with winner of robbie mcewen
CREATE TABLE table_name_22 (stage VARCHAR, winner VARCHAR)
SELECT application FROM table_19495707_1 WHERE developed_by = "Caligari Corporation"
Name the application for caligari corporation
CREATE TABLE table_19495707_1 (application VARCHAR, developed_by VARCHAR)
SELECT score FROM table_17355628_10 WHERE team = "Charlotte"
Name the score for charlotte
CREATE TABLE table_17355628_10 (score VARCHAR, team VARCHAR)
SELECT language FROM table_name_56 WHERE year > 2007 AND role = "urvashi mathur"
What language is spoken after 2007 for the role of urvashi mathur?
CREATE TABLE table_name_56 (language VARCHAR, year VARCHAR, role VARCHAR)
SELECT playoffs FROM table_1046071_1 WHERE league = "USL Pro Select league"
What is the playoffs for the usl pro select league?
CREATE TABLE table_1046071_1 (playoffs VARCHAR, league VARCHAR)
SELECT to_par FROM table_name_84 WHERE finish = "t56"
What was the To par for the player who finished t56?
CREATE TABLE table_name_84 (to_par VARCHAR, finish VARCHAR)
SELECT score FROM table_name_78 WHERE set_3 = "26-28"
What was the score when set 3 was 26-28?
CREATE TABLE table_name_78 (score VARCHAR, set_3 VARCHAR)
SELECT year__ceremony_ FROM table_name_46 WHERE film_title_used_in_nomination = "labyrinth"
In what Year was Labyrinth nominated?
CREATE TABLE table_name_46 (year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT venue FROM table_name_89 WHERE year > 2003 AND tournament = "hypo-meeting"
What is Venue, when Year is after 2003, and when Tournament is "Hypo-Meeting"?
CREATE TABLE table_name_89 (venue VARCHAR, year VARCHAR, tournament VARCHAR)
SELECT COUNT(score) FROM table_19072602_1 WHERE team_europe = "Mika Koivuniemi"
How many different scores did Team Europe get when Mika Koivuniemi played for them?
CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)
SELECT date FROM table_name_2 WHERE loss = "risley (0-1)"
What was the date of the game that had a loss of Risley (0-1)?
CREATE TABLE table_name_2 (date VARCHAR, loss VARCHAR)
SELECT date_successor_seated FROM table_2417345_4 WHERE successor = "David Atwood (R)"
When was successor David Atwood (R) seated?
CREATE TABLE table_2417345_4 (date_successor_seated VARCHAR, successor VARCHAR)
SELECT 1985 FROM table_name_62 WHERE career_win_loss = "n/a" AND career_sr = "0 / 23"
What is the result in 1985 when the career win-loss is n/a, and 0 / 23 as the career SR?
CREATE TABLE table_name_62 (career_win_loss VARCHAR, career_sr VARCHAR)
SELECT opponent FROM table_name_33 WHERE head_coach = "b. sathianathan"
Who was the opponent when the head coach was B. Sathianathan?
CREATE TABLE table_name_33 (opponent VARCHAR, head_coach VARCHAR)
SELECT SUM(goals_for) FROM table_name_5 WHERE draws > 9 AND played > 38
How many goals have more than 38 played and more than 9 draws?
CREATE TABLE table_name_5 (goals_for INTEGER, draws VARCHAR, played VARCHAR)
SELECT COUNT(bronze) FROM table_name_78 WHERE rank < 7 AND gold < 3 AND total < 10
How many bronzes for nations ranked above 7, under 3 golds, and under 10 total medals?
CREATE TABLE table_name_78 (bronze VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR)
SELECT position FROM table_26996293_7 WHERE pick__number = 54
What position was pick # 54?
CREATE TABLE table_26996293_7 (position VARCHAR, pick__number VARCHAR)
SELECT release_date FROM table_name_92 WHERE series = "mm" AND title = "confederate honey"
What is the release date of the mm series which has the title confederate honey?
CREATE TABLE table_name_92 (release_date VARCHAR, series VARCHAR, title VARCHAR)
SELECT method FROM table_name_77 WHERE opponent = "jake brown"
What was the method of resolution for the fight against jake brown?
CREATE TABLE table_name_77 (method VARCHAR, opponent VARCHAR)
SELECT party FROM table_name_94 WHERE seats_won < 21 AND percent_of_seats = 0 AND votes_cast = 69757
Which party won less than 21 seats, has 0 percent of seats, and 69757 votes cast?
CREATE TABLE table_name_94 (party VARCHAR, votes_cast VARCHAR, seats_won VARCHAR, percent_of_seats VARCHAR)
SELECT score FROM table_name_82 WHERE year = 1998
What score has 1998 as the year?
CREATE TABLE table_name_82 (score VARCHAR, year VARCHAR)
SELECT freestyle_leg FROM table_name_5 WHERE country = "netherlands"
What is the freestyle leg for the Netherlands?
CREATE TABLE table_name_5 (freestyle_leg VARCHAR, country VARCHAR)
SELECT COUNT(high_points) FROM table_13762472_3 WHERE game = 4
How many players scored the most points on game 4?
CREATE TABLE table_13762472_3 (high_points VARCHAR, game VARCHAR)
SELECT tournament FROM table_name_24 WHERE date = "march 25, 2012"
Name the tournament for march 25, 2012
CREATE TABLE table_name_24 (tournament VARCHAR, date VARCHAR)
SELECT service FROM table_name_22 WHERE origin_of_programming = "india" AND network = "set max"
What is the service of the network Set Max from India?
CREATE TABLE table_name_22 (service VARCHAR, origin_of_programming VARCHAR, network VARCHAR)
SELECT MAX(population__2000_census__) FROM table_2588674_1 WHERE area_km² = "2.33"
What is the population for the place with an area of 2.33 km2?
CREATE TABLE table_2588674_1 (population__2000_census__ INTEGER, area_km² VARCHAR)
SELECT title FROM table_name_52 WHERE length = "3:38"
Which title is 3:38 long?
CREATE TABLE table_name_52 (title VARCHAR, length VARCHAR)
SELECT MAX(passes) FROM table_28461589_2 WHERE starting = 34
What is the largest number of passes for players starting exactly 34 games?
CREATE TABLE table_28461589_2 (passes INTEGER, starting VARCHAR)