question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who is the opponent in the fight of 1 round when the record is 18-7?
CREATE TABLE table_name_81 (opponent VARCHAR, round VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_81 WHERE round = "1" AND record = "18-7"
What is the title written by David Mamet?
CREATE TABLE table_10908676_7 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_10908676_7 WHERE written_by = "David Mamet"
What was Gary Player's highest total when his To par was over 15?
CREATE TABLE table_name_41 (total INTEGER, player VARCHAR, to_par VARCHAR)
SELECT MAX(total) FROM table_name_41 WHERE player = "gary player" AND to_par > 15
Who is the artist 2 on the setlist where the artist 1 is Sparfunk & D-Code?
CREATE TABLE table_29264319_1 (artist_2 VARCHAR, artist_1 VARCHAR)
SELECT artist_2 FROM table_29264319_1 WHERE artist_1 = "Sparfunk & D-Code"
What is the fastest lap at estoril?
CREATE TABLE table_name_82 (fastest_lap VARCHAR, location VARCHAR)
SELECT fastest_lap FROM table_name_82 WHERE location = "estoril"
What is the Chord with a Minor that is seventh of f?
CREATE TABLE table_name_73 (chord VARCHAR, minor_seventh VARCHAR)
SELECT chord FROM table_name_73 WHERE minor_seventh = "f"
What set 2 has 15:33 as the time?
CREATE TABLE table_name_14 (set_2 VARCHAR, time VARCHAR)
SELECT set_2 FROM table_name_14 WHERE time = "15:33"
What is the date of the away game at the Blue Cross Arena?
CREATE TABLE table_name_78 (date VARCHAR, home___away VARCHAR, location_attendance VARCHAR)
SELECT date FROM table_name_78 WHERE home___away = "away" AND location_attendance = "blue cross arena"
What is the western title of the pinyin new chāojí mǎlìōu xiōngdì?
CREATE TABLE table_name_92 (western_title VARCHAR, pinyin VARCHAR)
SELECT western_title FROM table_name_92 WHERE pinyin = "new chāojí mǎlìōu xiōngdì"
How many contestants were there in a season where alejandra espinoza won?
CREATE TABLE table_name_65 (number_of_contestants VARCHAR, winner VARCHAR)
SELECT COUNT(number_of_contestants) FROM table_name_65 WHERE winner = "alejandra espinoza"
Which open cup was after 1993?
CREATE TABLE table_name_18 (open_cup VARCHAR, year INTEGER)
SELECT open_cup FROM table_name_18 WHERE year > 1993
What is the Year for fleet number 5000?
CREATE TABLE table_name_98 (year_made VARCHAR, fleet_number_s_ VARCHAR)
SELECT year_made FROM table_name_98 WHERE fleet_number_s_ = "5000"
What's the production code of the episode with a series number 37b?
CREATE TABLE table_14035132_3 (production_code VARCHAR, no_in_series VARCHAR)
SELECT production_code FROM table_14035132_3 WHERE no_in_series = "37b"
What is the home team of lake oval's score?
CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_57 WHERE venue = "lake oval"
Which Leading Scorer has an Opponent of @ seattle, and a Record of 14-16?
CREATE TABLE table_name_59 (Leading VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT Leading AS scorer FROM table_name_59 WHERE opponent = "@ seattle" AND record = "14-16"
What couple had a safe result and a lyrical jazz style?
CREATE TABLE table_name_8 (couple VARCHAR, result VARCHAR, style VARCHAR)
SELECT couple FROM table_name_8 WHERE result = "safe" AND style = "lyrical jazz"
Name the winner for rest day for 13 july
CREATE TABLE table_name_98 (winner VARCHAR, course VARCHAR, date VARCHAR)
SELECT winner FROM table_name_98 WHERE course = "rest day" AND date = "13 july"
Who made the car that won the race on May 21?
CREATE TABLE table_2241841_1 (manufacturer VARCHAR, date VARCHAR)
SELECT manufacturer FROM table_2241841_1 WHERE date = "May 21"
Show the names of players and names of their coaches in descending order of the votes of players.
CREATE TABLE coach (coach_name VARCHAR, Coach_ID VARCHAR); CREATE TABLE player_coach (Coach_ID VARCHAR, Player_ID VARCHAR); CREATE TABLE player (Player_name VARCHAR, Player_ID VARCHAR, Votes VARCHAR)
SELECT T3.Player_name, T2.coach_name FROM player_coach AS T1 JOIN coach AS T2 ON T1.Coach_ID = T2.Coach_ID JOIN player AS T3 ON T1.Player_ID = T3.Player_ID ORDER BY T3.Votes DESC
How many people attended the game on June 18?
CREATE TABLE table_name_85 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_85 WHERE date = "june 18"
In Round 10, what was the Overall for Ed Tomlin?
CREATE TABLE table_name_45 (overall INTEGER, round VARCHAR, name VARCHAR)
SELECT AVG(overall) FROM table_name_45 WHERE round = 10 AND name = "ed tomlin"
What is the lowest goal for a goal against 37 and less than 15 victories?
CREATE TABLE table_name_43 (goals_for INTEGER, goals_against VARCHAR, victories VARCHAR)
SELECT MIN(goals_for) FROM table_name_43 WHERE goals_against = 37 AND victories < 15
What is the average number of carries that have more than 72 touchdowns?
CREATE TABLE table_name_36 (carries INTEGER, touchdowns INTEGER)
SELECT AVG(carries) FROM table_name_36 WHERE touchdowns > 72
Who played as the away team when they played at Brunswick Street Oval?
CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_73 WHERE venue = "brunswick street oval"
Which opponent has a record of 5-0-1?
CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_10 WHERE record = "5-0-1"
Which Draw has a Season of 2001–02, and Points larger than 47?
CREATE TABLE table_name_45 (draw INTEGER, season VARCHAR, points VARCHAR)
SELECT SUM(draw) FROM table_name_45 WHERE season = "2001–02" AND points > 47
What is the Location when the name is telmatosaurus?
CREATE TABLE table_name_23 (location VARCHAR, name VARCHAR)
SELECT location FROM table_name_23 WHERE name = "telmatosaurus"
What was the rank (week) for episode number 34?
CREATE TABLE table_26199130_1 (rank__week_ VARCHAR, no VARCHAR)
SELECT rank__week_ FROM table_26199130_1 WHERE no = 34
Which rec has Yards of 192, and a Touchdown smaller than 1?
CREATE TABLE table_name_52 (rec INTEGER, yards VARCHAR, s_touchdown VARCHAR)
SELECT AVG(rec) FROM table_name_52 WHERE yards = 192 AND s_touchdown < 1
Name the Valley Vista of Anthony Capuano
CREATE TABLE table_11340432_1 (valley_vista VARCHAR, willow_canyon VARCHAR)
SELECT valley_vista FROM table_11340432_1 WHERE willow_canyon = "Anthony Capuano"
If the school is John A. Logan College, what are the colors?
CREATE TABLE table_22319599_1 (colors VARCHAR, school VARCHAR)
SELECT colors FROM table_22319599_1 WHERE school = "John A. Logan College"
How many cities are there in state "Colorado"?
CREATE TABLE addresses (state_province_county VARCHAR)
SELECT COUNT(*) FROM addresses WHERE state_province_county = "Colorado"
What is the away team's score at punt road oval?
CREATE TABLE table_name_27 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_27 WHERE venue = "punt road oval"
Which france nationality has a lane larger than 3?
CREATE TABLE table_name_19 (name VARCHAR, lane VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_19 WHERE lane > 3 AND nationality = "france"
What is the traditional Chinese name for the record Beautiful?
CREATE TABLE table_name_84 (chinese__traditional_ VARCHAR, english_title VARCHAR)
SELECT chinese__traditional_ FROM table_name_84 WHERE english_title = "beautiful"
In the 250 series on clay what were the scores?
CREATE TABLE table_29026564_10 (score VARCHAR, surface VARCHAR, category VARCHAR)
SELECT score FROM table_29026564_10 WHERE surface = "Clay" AND category = "250 series"
What is the total number of top-25 with a top-10 bigger than 2 and less than 29 cuts?
CREATE TABLE table_name_92 (top_25 VARCHAR, top_10 VARCHAR, cuts_made VARCHAR)
SELECT COUNT(top_25) FROM table_name_92 WHERE top_10 > 2 AND cuts_made < 29
When the average away attendance is 1.889 in the Superettan, what's the average home attendance?
CREATE TABLE table_1816947_2 (average_attendance_home VARCHAR, division___section VARCHAR, average_attendance_away VARCHAR)
SELECT average_attendance_home FROM table_1816947_2 WHERE division___section = "Superettan" AND average_attendance_away = "1.889"
Who was the opponent in games over 58, after Feb 16, and having a record of 40-20-4?
CREATE TABLE table_name_47 (opponent VARCHAR, record VARCHAR, game VARCHAR, february VARCHAR)
SELECT opponent FROM table_name_47 WHERE game > 58 AND february > 16 AND record = "40-20-4"
Who wrote episode 31 in the series?
CREATE TABLE table_21831229_3 (written_by VARCHAR, no_in_series VARCHAR)
SELECT written_by FROM table_21831229_3 WHERE no_in_series = 31
What percentage of users were using Safari during the period in which 30.82% were using Firefox?
CREATE TABLE table_name_96 (safari VARCHAR, firefox VARCHAR)
SELECT safari FROM table_name_96 WHERE firefox = "30.82%"
How many total ties had less than 1183 total games, 121 years, and more than 541 losses?
CREATE TABLE table_name_98 (tied VARCHAR, lost VARCHAR, total_games VARCHAR, years VARCHAR)
SELECT COUNT(tied) FROM table_name_98 WHERE total_games < 1183 AND years = 121 AND lost > 541
Tell me the total number of time for heat rank of 1
CREATE TABLE table_name_90 (time VARCHAR, heat_rank VARCHAR)
SELECT COUNT(time) FROM table_name_90 WHERE heat_rank = 1
What is the location of the game that has a number smaller than 2?
CREATE TABLE table_name_68 (location VARCHAR, game INTEGER)
SELECT location FROM table_name_68 WHERE game < 2
Name the least game for january 29
CREATE TABLE table_23286112_8 (game INTEGER, date VARCHAR)
SELECT MIN(game) FROM table_23286112_8 WHERE date = "January 29"
what is the total when the rank is 7 and gold is more than 0?
CREATE TABLE table_name_41 (total INTEGER, rank VARCHAR, gold VARCHAR)
SELECT AVG(total) FROM table_name_41 WHERE rank = "7" AND gold > 0
What is the First Pref Votes where the Leader is n/a and the Party is Independent?
CREATE TABLE table_name_91 (first_pref_votes VARCHAR, leader VARCHAR, party VARCHAR)
SELECT first_pref_votes FROM table_name_91 WHERE leader = "n/a" AND party = "independent"
For the swimmer in the lane less than 4, and is ranked greater than 4 what was the time?
CREATE TABLE table_name_42 (time VARCHAR, lane VARCHAR, rank VARCHAR)
SELECT time FROM table_name_42 WHERE lane < 4 AND rank > 4
What year was Leon Blevins picked?
CREATE TABLE table_name_81 (year INTEGER, name VARCHAR)
SELECT SUM(year) FROM table_name_81 WHERE name = "leon blevins"
Name the sum of year for engine of brm p202 3.0 v12 brm p200 3.0 v12
CREATE TABLE table_name_43 (year INTEGER, engine_s_ VARCHAR)
SELECT SUM(year) FROM table_name_43 WHERE engine_s_ = "brm p202 3.0 v12 brm p200 3.0 v12"
For the player fero lasagavibau who has the lowest start?
CREATE TABLE table_name_71 (start INTEGER, player VARCHAR)
SELECT MIN(start) FROM table_name_71 WHERE player = "fero lasagavibau"
Who is the constructor with the grid of 8?
CREATE TABLE table_name_25 (constructor VARCHAR, grid VARCHAR)
SELECT constructor FROM table_name_25 WHERE grid = 8
Which System's Name is Steem, and has a Freeware License?
CREATE TABLE table_name_76 (system VARCHAR, license VARCHAR, name VARCHAR)
SELECT system FROM table_name_76 WHERE license = "freeware" AND name = "steem"
Season of 2012–13 is what league?
CREATE TABLE table_name_68 (league VARCHAR, season VARCHAR)
SELECT league FROM table_name_68 WHERE season = "2012–13"
What's the title of the episode with production code 104?
CREATE TABLE table_2818164_2 (title VARCHAR, production_code VARCHAR)
SELECT title FROM table_2818164_2 WHERE production_code = 104
How many podiums for the driver with 18 stage wins?
CREATE TABLE table_18811741_15 (podiums VARCHAR, stage_wins VARCHAR)
SELECT COUNT(podiums) FROM table_18811741_15 WHERE stage_wins = 18
Who started in 2008 with 0 points?
CREATE TABLE table_17289224_1 (team_name VARCHAR, season VARCHAR, points VARCHAR)
SELECT team_name FROM table_17289224_1 WHERE season = "2008" AND points = 0
What are the International tourist arrivals (2010) where change from 2010 to 2011 is +15%
CREATE TABLE table_14752049_2 (international_tourist_arrivals__2010_ VARCHAR, change__2010_to_2011_ VARCHAR)
SELECT international_tourist_arrivals__2010_ FROM table_14752049_2 WHERE change__2010_to_2011_ = "+15%"
What was the date of the game played in El Paso, Texas?
CREATE TABLE table_23718905_6 (date VARCHAR, city VARCHAR)
SELECT date FROM table_23718905_6 WHERE city = "El Paso, Texas"
Name the ERP W with a frequency mhz more than 93.3 and city license of washington, georgia
CREATE TABLE table_name_19 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT erp_w FROM table_name_19 WHERE frequency_mhz > 93.3 AND city_of_license = "washington, georgia"
What was the average crowd size of games held at Glenferrie Oval?
CREATE TABLE table_name_43 (crowd INTEGER, venue VARCHAR)
SELECT AVG(crowd) FROM table_name_43 WHERE venue = "glenferrie oval"
Which tournament was played on October 1, 2006?
CREATE TABLE table_name_7 (tournament VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_7 WHERE date = "october 1, 2006"
Who, was the coach with an actual adjusted record of 0–19?
CREATE TABLE table_name_2 (coach VARCHAR, actual_adjusted_record VARCHAR)
SELECT coach FROM table_name_2 WHERE actual_adjusted_record = "0–19"
Which total number of starts has more than 2 wins and a money list rank greater than 1?
CREATE TABLE table_name_18 (starts VARCHAR, wins VARCHAR, money_list_rank VARCHAR)
SELECT COUNT(starts) FROM table_name_18 WHERE wins > 2 AND money_list_rank > 1
Name the coronie for marowijne being 6.8%
CREATE TABLE table_16886076_1 (coronie VARCHAR, marowijne VARCHAR)
SELECT coronie FROM table_16886076_1 WHERE marowijne = "6.8%"
What venue did Melbourne Storm played in Rd 7, 2006?
CREATE TABLE table_name_68 (venue VARCHAR, opponent VARCHAR, round VARCHAR)
SELECT venue FROM table_name_68 WHERE opponent = "melbourne storm" AND round = "rd 7, 2006"
What is the production code for episode number 86 in the series?
CREATE TABLE table_2409041_5 (production_code INTEGER, no_in_series VARCHAR)
SELECT MIN(production_code) FROM table_2409041_5 WHERE no_in_series = 86
What is the average Bronze when silver is more than 2, and rank is 2, and gold more than 2
CREATE TABLE table_name_62 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT AVG(bronze) FROM table_name_62 WHERE silver > "2" AND rank = "2" AND gold > 2
What is the largest win percentage when John Gartin is coach, the record is 11-0, and the year is 2009?
CREATE TABLE table_name_80 (win__percentage INTEGER, year VARCHAR, coach VARCHAR, record VARCHAR)
SELECT MAX(win__percentage) FROM table_name_80 WHERE coach = "john gartin" AND record = "11-0" AND year = "2009"
Name the name in syriac for 500 believers
CREATE TABLE table_24613895_1 (name_in_syriac VARCHAR, number_of_believers VARCHAR)
SELECT name_in_syriac FROM table_24613895_1 WHERE number_of_believers = 500
Where is the Stadium of Gortakeegan located?
CREATE TABLE table_name_91 (location VARCHAR, stadium VARCHAR)
SELECT location FROM table_name_91 WHERE stadium = "gortakeegan"
What is the average number of games drawn among teams that played over 14 games?
CREATE TABLE table_name_53 (drawn INTEGER, played INTEGER)
SELECT AVG(drawn) FROM table_name_53 WHERE played > 14
How many Games has a Name of stéphane dumas and a Rank larger than 5?
CREATE TABLE table_name_3 (games INTEGER, name VARCHAR, rank VARCHAR)
SELECT AVG(games) FROM table_name_3 WHERE name = "stéphane dumas" AND rank > 5
Who was the winner if the Mountains Classification award was given to Jaime Vergara and the Team Classification award is given to Col es Pasion Café De Colombia 472?
CREATE TABLE table_28853064_15 (winner VARCHAR, mountains_classification VARCHAR, team_classification VARCHAR)
SELECT winner FROM table_28853064_15 WHERE mountains_classification = "Jaime Vergara" AND team_classification = "Col es Pasion Café De Colombia 472"
Who is the democratic incumbent that was re-elected?
CREATE TABLE table_name_55 (incumbent VARCHAR, status VARCHAR, party VARCHAR)
SELECT incumbent FROM table_name_55 WHERE status = "re-elected" AND party = "democratic"
Which competition ended with a score of 58-4?
CREATE TABLE table_name_64 (competition VARCHAR, score VARCHAR)
SELECT competition FROM table_name_64 WHERE score = "58-4"
What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket?
CREATE TABLE table_name_92 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)
SELECT socialist_ticket FROM table_name_92 WHERE democratic_ticket = "thomas j. kreuzer"
Which golfer finished with a score of 70-71=141?
CREATE TABLE table_name_40 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_40 WHERE score = 70 - 71 = 141
How many runners-up did the club with the last final lost in 1985 have?
CREATE TABLE table_name_39 (runners_up VARCHAR, last_final_lost VARCHAR)
SELECT runners_up FROM table_name_39 WHERE last_final_lost = "1985"
what is the racing club where copa libertadores 1997?
CREATE TABLE table_14310205_1 (copa_libertadores_1997 VARCHAR, team VARCHAR)
SELECT copa_libertadores_1997 FROM table_14310205_1 WHERE team = "Racing Club"
What are televotes for 1 draw?
CREATE TABLE table_name_74 (televotes VARCHAR, draw VARCHAR)
SELECT televotes FROM table_name_74 WHERE draw = 1
What is Celta's Agg.?
CREATE TABLE table_name_81 (agg VARCHAR, team_1 VARCHAR)
SELECT agg FROM table_name_81 WHERE team_1 = "celta"
What is the name of the element with a calculated value of 56?
CREATE TABLE table_name_57 (name VARCHAR, calculated VARCHAR)
SELECT name FROM table_name_57 WHERE calculated = "56"
When was the game before week 15 with the result of bye?
CREATE TABLE table_name_26 (date VARCHAR, week VARCHAR, result VARCHAR)
SELECT date FROM table_name_26 WHERE week < 15 AND result = "bye"
who is the candidate in district south carolina 2?
CREATE TABLE table_1342370_39 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1342370_39 WHERE district = "South Carolina 2"
When 17 is the number in series who is the director?
CREATE TABLE table_2409041_2 (directed_by VARCHAR, no_in_series VARCHAR)
SELECT directed_by FROM table_2409041_2 WHERE no_in_series = 17
Which tournament has hard as the surface and apr. 12, 1998 as the date?
CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, date VARCHAR)
SELECT tournament FROM table_name_78 WHERE surface = "hard" AND date = "apr. 12, 1998"
What type is locomotive number CTN 46?
CREATE TABLE table_name_26 (type VARCHAR, locomotive_number VARCHAR)
SELECT type FROM table_name_26 WHERE locomotive_number = "ctn 46"
Who played against Carlton as the home team?
CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_62 WHERE away_team = "carlton"
How many laps for jochen rindt?
CREATE TABLE table_name_55 (laps VARCHAR, driver VARCHAR)
SELECT COUNT(laps) FROM table_name_55 WHERE driver = "jochen rindt"
What position has ongoing first-team appearances, Graham Burke for a player, and whose club is Aston Villa?
CREATE TABLE table_name_47 (position VARCHAR, player VARCHAR, first_team_appearances VARCHAR, current_club VARCHAR)
SELECT position FROM table_name_47 WHERE first_team_appearances = "ongoing" AND current_club = "aston villa" AND player = "graham burke"
At what location was the time 1:54:21?
CREATE TABLE table_name_90 (location VARCHAR, time VARCHAR)
SELECT location FROM table_name_90 WHERE time = "1:54:21"
Name the cpu type for june 2005 - april 2009
CREATE TABLE table_27765443_2 (cpu_type VARCHAR, period_of_operation VARCHAR)
SELECT cpu_type FROM table_27765443_2 WHERE period_of_operation = "June 2005 - April 2009"
Which regular season contains playoffs in division finals?
CREATE TABLE table_1241987_1 (regular_season VARCHAR, playoffs VARCHAR)
SELECT regular_season FROM table_1241987_1 WHERE playoffs = "division Finals"
What competition took place on 10 August 2011?
CREATE TABLE table_name_85 (competition VARCHAR, date VARCHAR)
SELECT competition FROM table_name_85 WHERE date = "10 august 2011"
What is the constellation for open cluster?
CREATE TABLE table_name_37 (constellation VARCHAR, object_type VARCHAR)
SELECT constellation FROM table_name_37 WHERE object_type = "open cluster"
Which Electorate is from vic, a labor party, and is David Charles a member of?
CREATE TABLE table_name_6 (electorate VARCHAR, member VARCHAR, state VARCHAR, party VARCHAR)
SELECT electorate FROM table_name_6 WHERE state = "vic" AND party = "labor" AND member = "david charles"
What are the alternative name/s of those satellites whose nssdc id number is 1970-054a?
CREATE TABLE table_191323_2 (alt_name VARCHAR, nssdc_id_no VARCHAR)
SELECT alt_name FROM table_191323_2 WHERE nssdc_id_no = "1970-054A"
Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1?
CREATE TABLE table_name_95 (top_10 INTEGER, cuts_made VARCHAR, top_5 VARCHAR)
SELECT MIN(top_10) FROM table_name_95 WHERE cuts_made = 10 AND top_5 > 1
Who was the director for the Episode number in season 10a?
CREATE TABLE table_2701851_5 (directed_by VARCHAR, no_in_season VARCHAR)
SELECT directed_by FROM table_2701851_5 WHERE no_in_season = "10a"