answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT tournament FROM table_name_2 WHERE 2001 = "2–4"
CREATE TABLE table_name_2 (tournament VARCHAR)
2001 of 2–4 was in which tournament?
SELECT 2006 FROM table_name_59 WHERE 2013 = "4–4"
CREATE TABLE table_name_59 (Id VARCHAR)
2013 of 4–4 is involved in what 2006?
SELECT 2001 FROM table_name_31 WHERE 2007 = "1r"
CREATE TABLE table_name_31 (Id VARCHAR)
2007 of 1r is involved in what 2001?
SELECT 2002 FROM table_name_69 WHERE 2007 = "8–4"
CREATE TABLE table_name_69 (Id VARCHAR)
2007 of 8–4 is involved in what 2002?
SELECT 2004 FROM table_name_7 WHERE 2005 = "3r" AND 2000 = "lq" AND 2002 = "3r"
CREATE TABLE table_name_7 (Id VARCHAR)
2005 of 3r, and a 2000 of lq, and a 2002 of 3r is in what 2004?
SELECT 2000 FROM table_name_85 WHERE 2006 = "10–4"
CREATE TABLE table_name_85 (Id VARCHAR)
2006 of 10–4 is in which 2000?
SELECT MIN(drawn) FROM table_name_52 WHERE points < 4 AND lost > 4
CREATE TABLE table_name_52 (drawn INTEGER, points VARCHAR, lost VARCHAR)
What is the smallest number of drawn games when there are fewer than 4 points and more than 4 lost games?
SELECT SUM(points) FROM table_name_87 WHERE games < 4
CREATE TABLE table_name_87 (points INTEGER, games INTEGER)
What is the sum of the points when there are fewer than 4 games?
SELECT lead FROM table_name_97 WHERE third = "aanders brorson"
CREATE TABLE table_name_97 (lead VARCHAR, third VARCHAR)
Who holds the lead role when Aanders Brorson is third?
SELECT skip FROM table_name_69 WHERE lead = "dominik greindl"
CREATE TABLE table_name_69 (skip VARCHAR, lead VARCHAR)
Who has the role of skip when the lead is Dominik Greindl?
SELECT second FROM table_name_18 WHERE third = "mikkel krause"
CREATE TABLE table_name_18 (second VARCHAR, third VARCHAR)
Who is the second when Mikkel Krause is the third?
SELECT skip FROM table_name_83 WHERE third = "alasdair guthrie"
CREATE TABLE table_name_83 (skip VARCHAR, third VARCHAR)
Who is the Skip when Alasdair Guthrie is the third?
SELECT second FROM table_name_90 WHERE lead = "michel gribi"
CREATE TABLE table_name_90 (second VARCHAR, lead VARCHAR)
Who is the Second when Michel Gribi is the lead?
SELECT MAX(position) FROM table_name_24 WHERE against = 12 AND points < 11 AND drawn > 2 AND played > 9
CREATE TABLE table_name_24 (position INTEGER, played VARCHAR, drawn VARCHAR, against VARCHAR, points VARCHAR)
What is the highest position of the team with an against of 12, less than 11 points, more than 2 drawn, and more than 9 played?
SELECT difference FROM table_name_57 WHERE points = 12
CREATE TABLE table_name_57 (difference VARCHAR, points VARCHAR)
What is the difference of the team with 12 points?
SELECT AVG(played) FROM table_name_51 WHERE lost = 3 AND points > 9 AND position = 5 AND against < 12
CREATE TABLE table_name_51 (played INTEGER, against VARCHAR, position VARCHAR, lost VARCHAR, points VARCHAR)
What is the average number of played of the team with 3 losses, more than 9 points, a position of 5, and less than 12 against?
SELECT rating___percentage_ FROM table_name_73 WHERE channel = "anhui satellite tv"
CREATE TABLE table_name_73 (rating___percentage_ VARCHAR, channel VARCHAR)
Name the rating % for channel of anhui satellite tv
SELECT MAX(share___percentage_) FROM table_name_42 WHERE channel = "anhui satellite tv"
CREATE TABLE table_name_42 (share___percentage_ INTEGER, channel VARCHAR)
Name the most share for anhui satellite tv
SELECT SUM(rating___percentage_) FROM table_name_62 WHERE owner = "cctv" AND position > 7
CREATE TABLE table_name_62 (rating___percentage_ INTEGER, owner VARCHAR, position VARCHAR)
Name the sum of rating % for cctv and position more than 7
SELECT AVG(rating___percentage_) FROM table_name_13 WHERE channel = "shandong satellite tv" AND share___percentage_ < 1.74
CREATE TABLE table_name_13 (rating___percentage_ INTEGER, channel VARCHAR, share___percentage_ VARCHAR)
Name the average rating % for shandong satellite tv and share % less than 1.74
SELECT date FROM table_name_50 WHERE visitor = "montreal"
CREATE TABLE table_name_50 (date VARCHAR, visitor VARCHAR)
What date was Montreal the visitor?
SELECT record FROM table_name_92 WHERE home = "ny rangers"
CREATE TABLE table_name_92 (record VARCHAR, home VARCHAR)
What is the record for the NY Rangers?
SELECT SUM(round) FROM table_name_41 WHERE pick = 169
CREATE TABLE table_name_41 (round INTEGER, pick VARCHAR)
Name the sum of round for pick of 169
SELECT nationality FROM table_name_12 WHERE pick = 16
CREATE TABLE table_name_12 (nationality VARCHAR, pick VARCHAR)
Name the nationality for pick of 16
SELECT lead FROM table_name_94 WHERE skip = "pavol pitonak"
CREATE TABLE table_name_94 (lead VARCHAR, skip VARCHAR)
Which Lead has a Skip of pavol pitonak?
SELECT skip FROM table_name_31 WHERE nation = "wales"
CREATE TABLE table_name_31 (skip VARCHAR, nation VARCHAR)
What is the skip in Wales?
SELECT nation FROM table_name_72 WHERE second = "tomas pitonak"
CREATE TABLE table_name_72 (nation VARCHAR, second VARCHAR)
Which Nation has a Second of tomas pitonak?
SELECT second FROM table_name_56 WHERE third = "athanassios pantios"
CREATE TABLE table_name_56 (second VARCHAR, third VARCHAR)
Which Second has a Third of athanassios pantios?
SELECT lead FROM table_name_1 WHERE nation = "croatia"
CREATE TABLE table_name_1 (lead VARCHAR, nation VARCHAR)
Where did Croatia lead?
SELECT skip FROM table_name_34 WHERE third = "carlo alessandro zisa"
CREATE TABLE table_name_34 (skip VARCHAR, third VARCHAR)
Which Skip has a Third of carlo alessandro zisa?
SELECT nationality FROM table_name_94 WHERE player = "shaun sabol"
CREATE TABLE table_name_94 (nationality VARCHAR, player VARCHAR)
What is the nationality of Shaun Sabol?
SELECT position FROM table_name_74 WHERE nationality = "united states" AND player = "brett lawrence"
CREATE TABLE table_name_74 (position VARCHAR, nationality VARCHAR, player VARCHAR)
What is the position of United States' player Brett Lawrence?
SELECT compression_ratio FROM table_name_57 WHERE dx_10_name = "(none)" AND fourcc = "dxt4"
CREATE TABLE table_name_57 (compression_ratio VARCHAR, dx_10_name VARCHAR, fourcc VARCHAR)
Which Compression ratio has a (none) DX 10 Name and a FOURCC of dxt4?
SELECT venue FROM table_name_79 WHERE radio = "mrn" AND race = "napa auto parts 200"
CREATE TABLE table_name_79 (venue VARCHAR, radio VARCHAR, race VARCHAR)
What is the venue of the napa auto parts 200 race with a mrn radio?
SELECT race FROM table_name_3 WHERE date = "10/10/2008"
CREATE TABLE table_name_3 (race VARCHAR, date VARCHAR)
What is the race on 10/10/2008?
SELECT race FROM table_name_71 WHERE distance = "201.44 miles"
CREATE TABLE table_name_71 (race VARCHAR, distance VARCHAR)
Which race has a distance of 201.44 miles?
SELECT distance FROM table_name_48 WHERE venue = "atlanta motor speedway"
CREATE TABLE table_name_48 (distance VARCHAR, venue VARCHAR)
What is the distance of the race at the Atlanta Motor Speedway?
SELECT distance FROM table_name_24 WHERE race = "sam's town 250"
CREATE TABLE table_name_24 (distance VARCHAR, race VARCHAR)
What is the distance of the Sam's town 250 race?
SELECT venue FROM table_name_62 WHERE race = "carfax 250"
CREATE TABLE table_name_62 (venue VARCHAR, race VARCHAR)
What is the venue of teh carfax 250 race?
SELECT name FROM table_name_33 WHERE teams = "cornell-penn"
CREATE TABLE table_name_33 (name VARCHAR, teams VARCHAR)
What is the name of the event where Cornell-Penn played?
SELECT games_played FROM table_name_77 WHERE trophy = "sawhorse dollar"
CREATE TABLE table_name_77 (games_played VARCHAR, trophy VARCHAR)
Who many games were played for the series with the Sawhorse Dollar trophy?
SELECT COUNT(game) FROM table_name_51 WHERE points < 4 AND october < 5
CREATE TABLE table_name_51 (game VARCHAR, points VARCHAR, october VARCHAR)
How many games have Points smaller than 4, and an October smaller than 5?
SELECT SUM(game) FROM table_name_43 WHERE record = "8–2–0" AND points > 16
CREATE TABLE table_name_43 (game INTEGER, record VARCHAR, points VARCHAR)
Which Game has a Record of 8–2–0, and Points larger than 16?
SELECT score FROM table_name_73 WHERE october < 15 AND record = "2–0–0"
CREATE TABLE table_name_73 (score VARCHAR, october VARCHAR, record VARCHAR)
Which Score has an October smaller than 15, and a Record of 2–0–0?
SELECT COUNT(game) FROM table_name_31 WHERE november = 7 AND points > 17
CREATE TABLE table_name_31 (game VARCHAR, november VARCHAR, points VARCHAR)
How many games have November 7 as the date, and points greater than 17?
SELECT SUM(points) FROM table_name_45 WHERE november = 15
CREATE TABLE table_name_45 (points INTEGER, november VARCHAR)
How many points have November of 15?
SELECT winning_score FROM table_name_24 WHERE runner_up = "jim barnes" AND year = 1924
CREATE TABLE table_name_24 (winning_score VARCHAR, runner_up VARCHAR, year VARCHAR)
Name the winning score for jim barnes and year of 1924
SELECT rider FROM table_name_96 WHERE team = "lcr honda 600cc" AND time = "59’ 22.80"
CREATE TABLE table_name_96 (rider VARCHAR, team VARCHAR, time VARCHAR)
What was the Rider of the LCR Honda 600CC Team with a Time of 59’ 22.80?
SELECT rider FROM table_name_12 WHERE speed = "108.347mph" AND time = "1:02.40.93"
CREATE TABLE table_name_12 (rider VARCHAR, speed VARCHAR, time VARCHAR)
What Rider had a Speed of 108.347mph and Time of 1:02.40.93?
SELECT rider FROM table_name_46 WHERE time = "1:01.50.57"
CREATE TABLE table_name_46 (rider VARCHAR, time VARCHAR)
What Rider had a Time of 1:01.50.57?
SELECT AVG(attendance) FROM table_name_14 WHERE date = "june 24"
CREATE TABLE table_name_14 (attendance INTEGER, date VARCHAR)
What is the average attendance that has june 24 as the date?
SELECT date FROM table_name_95 WHERE time = "2:59"
CREATE TABLE table_name_95 (date VARCHAR, time VARCHAR)
What date has 2:59 as the time?
SELECT surface FROM table_name_95 WHERE tournament = "manta, ecuador"
CREATE TABLE table_name_95 (surface VARCHAR, tournament VARCHAR)
What is the surface when the tournament is manta, ecuador?
SELECT surface FROM table_name_22 WHERE tournament = "manta, ecuador"
CREATE TABLE table_name_22 (surface VARCHAR, tournament VARCHAR)
What is the surface for the tournament of manta, ecuador?
SELECT tournament FROM table_name_11 WHERE opponent = "lesley joseph"
CREATE TABLE table_name_11 (tournament VARCHAR, opponent VARCHAR)
What tournament is lesley joseph the opponent?
SELECT date FROM table_name_16 WHERE opponent = "marcos daniel"
CREATE TABLE table_name_16 (date VARCHAR, opponent VARCHAR)
What date was marcos daniel the opponent?
SELECT copa_libertadores_1999 FROM table_name_23 WHERE copa_conmebol_1999 = "did not qualify" AND team = "grêmio"
CREATE TABLE table_name_23 (copa_libertadores_1999 VARCHAR, copa_conmebol_1999 VARCHAR, team VARCHAR)
What is the Copa Libertadores 1999 result for team grêmio, who did not qualify for Copa Conmebol 1999?
SELECT copa_mercosur_1999 FROM table_name_51 WHERE copa_libertadores_1999 = "did not qualify" AND copa_conmebol_1999 = "did not qualify" AND team = "grêmio"
CREATE TABLE table_name_51 (copa_mercosur_1999 VARCHAR, team VARCHAR, copa_libertadores_1999 VARCHAR, copa_conmebol_1999 VARCHAR)
What is the copa mercosur 1999 result for team grêmio, who did not qualify for the Copa Libertadores 1999 and Copa Conmebol 1999?
SELECT intercontinental_cup_1999 FROM table_name_48 WHERE copa_libertadores_1999 = "did not qualify" AND copa_mercosur_1999 = "quarterfinals"
CREATE TABLE table_name_48 (intercontinental_cup_1999 VARCHAR, copa_libertadores_1999 VARCHAR, copa_mercosur_1999 VARCHAR)
What is the intercontinental cup 1999 result of the team who did not qualify for the Copa Libertadores 1999 and made quarterfinals in the Copa Mercosur 1999?
SELECT copa_libertadores_1999 FROM table_name_62 WHERE copa_mercosur_1999 = "group stage" AND team = "vasco"
CREATE TABLE table_name_62 (copa_libertadores_1999 VARCHAR, copa_mercosur_1999 VARCHAR, team VARCHAR)
What is the Copa Libertadores 1999 result for team vasco, which made the group stage in the Copa Mercosur 1999?
SELECT intercontinental_cup_1999 FROM table_name_63 WHERE copa_conmebol_1999 = "runner-up"
CREATE TABLE table_name_63 (intercontinental_cup_1999 VARCHAR, copa_conmebol_1999 VARCHAR)
What is the Intercontinental Cup 1999 result for the team with a Copa Conmebol 1999 result of runner-up?
SELECT copa_conmebol_1999 FROM table_name_4 WHERE copa_libertadores_1999 = "did not qualify" AND team = "cruzeiro"
CREATE TABLE table_name_4 (copa_conmebol_1999 VARCHAR, copa_libertadores_1999 VARCHAR, team VARCHAR)
What is the Copa Conmebol 1999 result of team cruzeiro, which did not qualify for the Copa Libertadores 1999?
SELECT COUNT(attendance) FROM table_name_60 WHERE result = "lost 2-4" AND date > 15
CREATE TABLE table_name_60 (attendance VARCHAR, result VARCHAR, date VARCHAR)
How many people attended the game that lost 2-4 and the date was higher than 15?
SELECT competition FROM table_name_52 WHERE attendance > 914 AND opponent = "wightlink raiders"
CREATE TABLE table_name_52 (competition VARCHAR, attendance VARCHAR, opponent VARCHAR)
What kind of competition had an attendance of more than 914 people and the Wightlink Raiders as an opponent?
SELECT attendance FROM table_name_61 WHERE competition = "league" AND venue = "away" AND date = 22
CREATE TABLE table_name_61 (attendance VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR)
How many people attended the away league competition with a date of 22?
SELECT series FROM table_name_7 WHERE date = "may 2"
CREATE TABLE table_name_7 (series VARCHAR, date VARCHAR)
Which Series has a Date of may 2?
SELECT SUM(game) FROM table_name_30 WHERE series = "bruins lead 3–1"
CREATE TABLE table_name_30 (game INTEGER, series VARCHAR)
Which Game has a Series of bruins lead 3–1?
SELECT opponent FROM table_name_91 WHERE series = "bruins lead 2–1"
CREATE TABLE table_name_91 (opponent VARCHAR, series VARCHAR)
Which Opponent has a Series of bruins lead 2–1?
SELECT date FROM table_name_33 WHERE game = 4
CREATE TABLE table_name_33 (date VARCHAR, game VARCHAR)
Which Date has a Game of 4?
SELECT SUM(game) FROM table_name_19 WHERE score = "3–6"
CREATE TABLE table_name_19 (game INTEGER, score VARCHAR)
Which Game has a Score of 3–6?
SELECT rank FROM table_name_1 WHERE first_quarter = "industrial and commercial bank of china 277,236"
CREATE TABLE table_name_1 (rank VARCHAR, first_quarter VARCHAR)
What is the Rank of industrial and commercial bank of china 277,236?
SELECT result FROM table_name_11 WHERE goal = 4
CREATE TABLE table_name_11 (result VARCHAR, goal VARCHAR)
What was result of goal 4?
SELECT player FROM table_name_30 WHERE college_junior_club_team__league_ = "shawinigan dynamos (qmjhl)"
CREATE TABLE table_name_30 (player VARCHAR, college_junior_club_team__league_ VARCHAR)
Who is the player that is part of the team Shawinigan Dynamos (Qmjhl)?
SELECT MAX(round) FROM table_name_60 WHERE college_junior_club_team__league_ = "minnesota junior stars (mjhl)"
CREATE TABLE table_name_60 (round INTEGER, college_junior_club_team__league_ VARCHAR)
What is the highest round for the Minnesota Junior Stars (Mjhl)?
SELECT date FROM table_name_92 WHERE opponent = "woking"
CREATE TABLE table_name_92 (date VARCHAR, opponent VARCHAR)
When did woking compete?
SELECT opponent FROM table_name_65 WHERE attendance = 375
CREATE TABLE table_name_65 (opponent VARCHAR, attendance VARCHAR)
Which Opponent has an Attendance of 375?
SELECT SUM(attendance) FROM table_name_58 WHERE opponent = "oxford united"
CREATE TABLE table_name_58 (attendance INTEGER, opponent VARCHAR)
How much Attendance has an Opponent of oxford united?
SELECT attendance FROM table_name_78 WHERE opponent = "crawley town"
CREATE TABLE table_name_78 (attendance VARCHAR, opponent VARCHAR)
Which Attendance has an Opponent of crawley town?
SELECT SUM(podiums) FROM table_name_94 WHERE series = "macau grand prix" AND season < 2008
CREATE TABLE table_name_94 (podiums INTEGER, series VARCHAR, season VARCHAR)
How many Podiums where their total for the Series of Macau grand prix, as well as being a season before 2008?
SELECT COUNT(wins) FROM table_name_43 WHERE series = "formula 3 euro series" AND podiums > 2
CREATE TABLE table_name_43 (wins VARCHAR, series VARCHAR, podiums VARCHAR)
How many wins where there total for Series named formula 3 euro series as well as having more than 2 Podiums?
SELECT MAX(wins) FROM table_name_92 WHERE season < 2007 AND team = "silverstone motorsport academy"
CREATE TABLE table_name_92 (wins INTEGER, season VARCHAR, team VARCHAR)
What is the largest amount of wins that was before the 2007 season, as well as the Team being silverstone motorsport academy?
SELECT MAX(season) FROM table_name_65 WHERE podiums = 0 AND races = 1 AND wins > 0
CREATE TABLE table_name_65 (season INTEGER, wins VARCHAR, podiums VARCHAR, races VARCHAR)
What is the newest Season in which had 0 Podiums, and having 1 total of Races, as well as total wins larger than 0?
SELECT week FROM table_name_80 WHERE date = "december 4, 2009"
CREATE TABLE table_name_80 (week VARCHAR, date VARCHAR)
Name the week for december 4, 2009
SELECT opponent FROM table_name_19 WHERE record = "6-2"
CREATE TABLE table_name_19 (opponent VARCHAR, record VARCHAR)
Name the opponent with record of 6-2
SELECT opponent FROM table_name_82 WHERE result = "w 35-21"
CREATE TABLE table_name_82 (opponent VARCHAR, result VARCHAR)
Name the opponent with result of w 35-21
SELECT date FROM table_name_22 WHERE result = "w 35-7"
CREATE TABLE table_name_22 (date VARCHAR, result VARCHAR)
Name the date with resultof w 35-7
SELECT date FROM table_name_33 WHERE record = "3-1"
CREATE TABLE table_name_33 (date VARCHAR, record VARCHAR)
Name the date with record of 3-1
SELECT week FROM table_name_29 WHERE date = "bye"
CREATE TABLE table_name_29 (week VARCHAR, date VARCHAR)
Name the week for date of bye
SELECT friendly FROM table_name_58 WHERE germany = "france"
CREATE TABLE table_name_58 (friendly VARCHAR, germany VARCHAR)
What is the friendly game for Germany of France?
SELECT company FROM table_name_84 WHERE number > 5 AND price = "$389m"
CREATE TABLE table_name_84 (company VARCHAR, number VARCHAR, price VARCHAR)
What company is numbered larger than 5 and priced at $389M?
SELECT category FROM table_name_55 WHERE result = "nominated" AND nominee = "william ivey long"
CREATE TABLE table_name_55 (category VARCHAR, result VARCHAR, nominee VARCHAR)
Which category was william ivey long a nominee and nominated in?
SELECT half_life FROM table_name_22 WHERE discovery_year = "2003"
CREATE TABLE table_name_22 (half_life VARCHAR, discovery_year VARCHAR)
What is the half-life discovered in 2003?
SELECT decay_mode FROM table_name_28 WHERE discovery_year = "1984" AND isotope = "265m hs"
CREATE TABLE table_name_28 (decay_mode VARCHAR, discovery_year VARCHAR, isotope VARCHAR)
What is the decay mode of the 265m hs isotope discovered in 1984?
SELECT frequency_mhz FROM table_name_6 WHERE city_of_license = "trinidad, colorado"
CREATE TABLE table_name_6 (frequency_mhz VARCHAR, city_of_license VARCHAR)
What is the Frequency MHz of Trinidad, Colorado?
SELECT city_of_license FROM table_name_76 WHERE erp_w < 500 AND class = "a" AND frequency_mhz > 89.7
CREATE TABLE table_name_76 (city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR, class VARCHAR)
What city of license has an ERP W smaller than 500, Class A, and Frequency MHz larger than 89.7?
SELECT MIN(capacity) FROM table_name_84 WHERE team = "fandok"
CREATE TABLE table_name_84 (capacity INTEGER, team VARCHAR)
What is the smallest capacity for Fandok?
SELECT MAX(pick__number) FROM table_name_99 WHERE overall < 136 AND position = "defensive back"
CREATE TABLE table_name_99 (pick__number INTEGER, overall VARCHAR, position VARCHAR)
What is the highest pick number of a defensive back with less than 136 overall points?
SELECT MIN(pick__number) FROM table_name_45 WHERE name = "john scully"
CREATE TABLE table_name_45 (pick__number INTEGER, name VARCHAR)
What is the lowest pick number of John Scully?
SELECT COUNT(points) FROM table_name_28 WHERE games < 5
CREATE TABLE table_name_28 (points VARCHAR, games INTEGER)
What is the total points with less than 5 games?
SELECT outcome FROM table_name_34 WHERE venue = "india open"
CREATE TABLE table_name_34 (outcome VARCHAR, venue VARCHAR)
What was the outcome for the India Open?