answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT college FROM table_name_39 WHERE pick__number = 22
CREATE TABLE table_name_39 (college VARCHAR, pick__number VARCHAR)
What college did the #22 overall draft pick attend?
SELECT SUM(pick__number) FROM table_name_38 WHERE nfl_team = "carolina panthers" AND college = "syracuse"
CREATE TABLE table_name_38 (pick__number INTEGER, nfl_team VARCHAR, college VARCHAR)
What draft pick number attended syracuse and was drafted by the Carolina panthers?
SELECT MIN(lead_margin) FROM table_name_75 WHERE poll_source = "rasmussen reports/ fox news"
CREATE TABLE table_name_75 (lead_margin INTEGER, poll_source VARCHAR)
Which Lead Margin has a Poll Source of rasmussen reports/ fox news?
SELECT poll_source FROM table_name_18 WHERE date_administered = "october 30 – november 2, 2008"
CREATE TABLE table_name_18 (poll_source VARCHAR, date_administered VARCHAR)
Which Poll Source has a Date administered of october 30 – november 2, 2008?
SELECT site FROM table_name_67 WHERE opponent_number = "northwestern"
CREATE TABLE table_name_67 (site VARCHAR, opponent_number VARCHAR)
At which site was Northwestern an opponent?
SELECT result FROM table_name_78 WHERE opponent_number = "indiana"
CREATE TABLE table_name_78 (result VARCHAR, opponent_number VARCHAR)
What result did Indiana have when they were an opponent?
SELECT attendance FROM table_name_12 WHERE result = "w61-7"
CREATE TABLE table_name_12 (attendance VARCHAR, result VARCHAR)
What is the attendance when the result was w61-7?
SELECT AVG(miles_)[one_way] FROM table_name_89 WHERE fans_took = "340"
CREATE TABLE table_name_89 (one_way VARCHAR, miles_ INTEGER, fans_took VARCHAR)
What shows for miles [One Way] when the fans took 340?
SELECT reported_birth_date FROM table_name_58 WHERE reported_age = "110 years, 185 days"
CREATE TABLE table_name_58 (reported_birth_date VARCHAR, reported_age VARCHAR)
what is the reported birth date when the reported age is 110 years, 185 days?
SELECT reported_age FROM table_name_62 WHERE reported_birth_date = "22 december 1878"
CREATE TABLE table_name_62 (reported_age VARCHAR, reported_birth_date VARCHAR)
what is the reported age when the reported birth date is 22 december 1878?
SELECT region FROM table_name_50 WHERE reported_age = "111 years, 107 days"
CREATE TABLE table_name_50 (region VARCHAR, reported_age VARCHAR)
what is the region when the reported age is 111 years, 107 days?
SELECT reported_death_date FROM table_name_97 WHERE name = "laura svehaug"
CREATE TABLE table_name_97 (reported_death_date VARCHAR, name VARCHAR)
what is the reported death date for laura svehaug?
SELECT name FROM table_name_38 WHERE reported_age = "111 years, 66 days"
CREATE TABLE table_name_38 (name VARCHAR, reported_age VARCHAR)
Who has a reported age of 111 years, 66 days?
SELECT name FROM table_name_63 WHERE reported_death_date = "6 march 1998"
CREATE TABLE table_name_63 (name VARCHAR, reported_death_date VARCHAR)
Who has a reported death of 6 march 1998?
SELECT date FROM table_name_60 WHERE countries_surveyed < 122 AND _percentage_rank = "47"
CREATE TABLE table_name_60 (date VARCHAR, countries_surveyed VARCHAR, _percentage_rank VARCHAR)
Date for less than 122 countries and a 47% rank?
SELECT high_assists FROM table_name_71 WHERE high_points = "andrew bynum (23)"
CREATE TABLE table_name_71 (high_assists VARCHAR, high_points VARCHAR)
What high assists has the high points of andrew bynum (23)?
SELECT score FROM table_name_48 WHERE team = "charlotte"
CREATE TABLE table_name_48 (score VARCHAR, team VARCHAR)
What score is the team of charlotte?
SELECT record FROM table_name_26 WHERE event = "strikeforce: barnett vs. cormier"
CREATE TABLE table_name_26 (record VARCHAR, event VARCHAR)
What was strikeforce: barnett vs. cormier's record?
SELECT SUM(q_) > _1.4 FROM table_name_51 WHERE q_ > _1.3 = 455 AND q_ > _1.2 < 3 OFFSET 028
CREATE TABLE table_name_51 (q_ INTEGER)
What is the total of q > 1.4 when q > 1.3 is 455, and q >1.2 is less than 3,028?
SELECT losing_team FROM table_name_44 WHERE total = 24 AND winning_team = "sydney roosters"
CREATE TABLE table_name_44 (losing_team VARCHAR, total VARCHAR, winning_team VARCHAR)
Who was the losing team with a total of 24 when the winning team was Sydney Roosters?
SELECT venue FROM table_name_16 WHERE losing_team = "south sydney rabbitohs"
CREATE TABLE table_name_16 (venue VARCHAR, losing_team VARCHAR)
Which venue had a losing team of south sydney rabbitohs?
SELECT date FROM table_name_42 WHERE total < 19 AND venue = "anz stadium"
CREATE TABLE table_name_42 (date VARCHAR, total VARCHAR, venue VARCHAR)
What day was the total smaller than 19 at Venue of anz stadium?
SELECT attendance FROM table_name_77 WHERE week < 17 AND record = "bye"
CREATE TABLE table_name_77 (attendance VARCHAR, week VARCHAR, record VARCHAR)
What was the Attendance before Week 17 with a Record of Bye?
SELECT kickoff_time FROM table_name_72 WHERE date = "january 7, 2002"
CREATE TABLE table_name_72 (kickoff_time VARCHAR, date VARCHAR)
What is the Kickoff Time on January 7, 2002?
SELECT opponent FROM table_name_38 WHERE result = "l 24–14"
CREATE TABLE table_name_38 (opponent VARCHAR, result VARCHAR)
What was the Opponent in the game with a Result of L 24–14?
SELECT result FROM table_name_46 WHERE attendance = "69,365"
CREATE TABLE table_name_46 (result VARCHAR, attendance VARCHAR)
What was the Result of the game with an Attendance of 69,365?
SELECT events_won_by_kcl FROM table_name_74 WHERE winner = "kclms" AND events_won_by_kclMS < 10 AND year = 2008
CREATE TABLE table_name_74 (events_won_by_kcl VARCHAR, year VARCHAR, winner VARCHAR, events_won_by_kclMS VARCHAR)
Which event won by KCLMS in 2008 has KCLMS as the winner and less than 10 wins by KCL?
SELECT COUNT(year) FROM table_name_8 WHERE events_won_by_kclMS < 7
CREATE TABLE table_name_8 (year VARCHAR, events_won_by_kclMS INTEGER)
How many years were the events won by KCLMS less than 7?
SELECT AVG(events_won_by_kcl) FROM table_name_58 WHERE year < 2004
CREATE TABLE table_name_58 (events_won_by_kcl INTEGER, year INTEGER)
What is the average value for events won by KCL in a year earlier than 2004?
SELECT date_of_appointment FROM table_name_40 WHERE date_of_vacancy = "4 december 2008"
CREATE TABLE table_name_40 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR)
What is the appointment day for 4 December 2008 vacancy?
SELECT outgoing_manager FROM table_name_83 WHERE position_in_table = "16th"
CREATE TABLE table_name_83 (outgoing_manager VARCHAR, position_in_table VARCHAR)
Which outgoing manager has tabled 16th position?
SELECT position_in_table FROM table_name_91 WHERE team = "mons" AND replaced_by = "christophe dessy (caretaker)"
CREATE TABLE table_name_91 (position_in_table VARCHAR, team VARCHAR, replaced_by VARCHAR)
Which position is team mons who was replaced by Christophe Dessy (caretaker)?
SELECT position_in_table FROM table_name_13 WHERE date_of_vacancy = "4 december 2008"
CREATE TABLE table_name_13 (position_in_table VARCHAR, date_of_vacancy VARCHAR)
What is the table position for 4 December 2008 vacancy?
SELECT laps FROM table_name_65 WHERE points = "50"
CREATE TABLE table_name_65 (laps VARCHAR, points VARCHAR)
How many laps have 50 points?
SELECT grid FROM table_name_14 WHERE team = "dreyer & reinbold racing" AND points = "26"
CREATE TABLE table_name_14 (grid VARCHAR, team VARCHAR, points VARCHAR)
What is the grid of team dreyer & reinbold racing, which has 26 points?
SELECT points FROM table_name_6 WHERE laps = "75"
CREATE TABLE table_name_6 (points VARCHAR, laps VARCHAR)
How many points have 75 laps?
SELECT points FROM table_name_99 WHERE laps = "88" AND grid = "14"
CREATE TABLE table_name_99 (points VARCHAR, laps VARCHAR, grid VARCHAR)
How many points have 88 laps and a grid of 14?
SELECT laps FROM table_name_34 WHERE time_retired = "+0.4865"
CREATE TABLE table_name_34 (laps VARCHAR, time_retired VARCHAR)
How many laps have a +0.4865 time/retired?
SELECT launch_date FROM table_name_93 WHERE deorbit_date = "29 september 2008"
CREATE TABLE table_name_93 (launch_date VARCHAR, deorbit_date VARCHAR)
When did the ATV that deorbited on 29 september 2008, launch?
SELECT launch_date FROM table_name_22 WHERE designation = "atv-002"
CREATE TABLE table_name_22 (launch_date VARCHAR, designation VARCHAR)
When did the atv-002 launch?
SELECT launch_date FROM table_name_25 WHERE name = "edoardo amaldi"
CREATE TABLE table_name_25 (launch_date VARCHAR, name VARCHAR)
When did Edoardo Amaldi launch?
SELECT deorbit_date FROM table_name_9 WHERE launch_date = "9 march 2008"
CREATE TABLE table_name_9 (deorbit_date VARCHAR, launch_date VARCHAR)
When did the ATV that launched on 9 March 2008, deorbit?
SELECT partner FROM table_name_74 WHERE outcome = "runner-up" AND surface = "clay" AND opponents = "marco chiudinelli michael lammer"
CREATE TABLE table_name_74 (partner VARCHAR, opponents VARCHAR, outcome VARCHAR, surface VARCHAR)
Who was the partner on the game which took place on a clay surface with opponents of marco chiudinelli michael lammer and a runner-up result?
SELECT opponents FROM table_name_84 WHERE surface = "clay" AND score = "6–3, 7–6 (11–9)"
CREATE TABLE table_name_84 (opponents VARCHAR, surface VARCHAR, score VARCHAR)
Who were the opponent in the match on a clay surface that had a score of 6–3, 7–6 (11–9)?
SELECT season FROM table_name_7 WHERE races < 16
CREATE TABLE table_name_7 (season VARCHAR, races INTEGER)
What is Season, when Races is less than 16?
SELECT SUM(poles) FROM table_name_35 WHERE podiums = 0 AND races = 17
CREATE TABLE table_name_35 (poles INTEGER, podiums VARCHAR, races VARCHAR)
What is the sum of Poles, when Podiums is 0, and when Races is 17?
SELECT poles FROM table_name_99 WHERE races < 16
CREATE TABLE table_name_99 (poles VARCHAR, races INTEGER)
What is Poles, when Races is less than 16?
SELECT MIN(races) FROM table_name_53 WHERE podiums > 1
CREATE TABLE table_name_53 (races INTEGER, podiums INTEGER)
What is the lowest Races, when Podiums is greater than 1?
SELECT AVG(attendance) FROM table_name_68 WHERE week = 14
CREATE TABLE table_name_68 (attendance INTEGER, week VARCHAR)
How many people on average attended the game in week 14?
SELECT result FROM table_name_70 WHERE week = 11
CREATE TABLE table_name_70 (result VARCHAR, week VARCHAR)
The game in week 11 has what result?
SELECT SUM(attendance) FROM table_name_12 WHERE opponent = "san francisco 49ers"
CREATE TABLE table_name_12 (attendance INTEGER, opponent VARCHAR)
For the game against the San Francisco 49ers what was the total attendance?
SELECT place FROM table_name_71 WHERE to_par = "–1" AND score = 71 - 68 - 76 = 215
CREATE TABLE table_name_71 (place VARCHAR, to_par VARCHAR, score VARCHAR)
What is the Place that has a To standard of –1, and a Score of 71-68-76=215?
SELECT player FROM table_name_47 WHERE to_par = "–7"
CREATE TABLE table_name_47 (player VARCHAR, to_par VARCHAR)
What is the Player that has a To standard of –7?
SELECT player FROM table_name_15 WHERE to_par = "–4"
CREATE TABLE table_name_15 (player VARCHAR, to_par VARCHAR)
What is the Player that has a To standard of –4?
SELECT player FROM table_name_60 WHERE to_par = "–1" AND score = 71 - 68 - 76 = 215
CREATE TABLE table_name_60 (player VARCHAR, to_par VARCHAR, score VARCHAR)
What is the Player that has a To standard of –1, and a Score of 71-68-76=215?
SELECT player FROM table_name_71 WHERE to_par = "–4"
CREATE TABLE table_name_71 (player VARCHAR, to_par VARCHAR)
What is the Player that has a To standard of –4?
SELECT rank FROM table_name_63 WHERE s_wicket = "40" AND player = "daniel marsh"
CREATE TABLE table_name_63 (rank VARCHAR, s_wicket VARCHAR, player VARCHAR)
Which rank is 40 for s Wicket with a player of Daniel Marsh?
SELECT rank FROM table_name_66 WHERE s_wicket = "40" AND average = "28.42"
CREATE TABLE table_name_66 (rank VARCHAR, s_wicket VARCHAR, average VARCHAR)
Which rank has a s wicket at 40 and 28.42 is the average?
SELECT s_wicket FROM table_name_68 WHERE player = "shaun young"
CREATE TABLE table_name_68 (s_wicket VARCHAR, player VARCHAR)
Which value for s wicket is associated with Shaun Young?
SELECT player FROM table_name_84 WHERE s_wicket = "48"
CREATE TABLE table_name_84 (player VARCHAR, s_wicket VARCHAR)
Which player has a s wicket at 48?
SELECT s_wicket FROM table_name_51 WHERE player = "shaun young"
CREATE TABLE table_name_51 (s_wicket VARCHAR, player VARCHAR)
What is the s wicket value associated with Shaun Young?
SELECT date FROM table_name_2 WHERE home = "ny islanders"
CREATE TABLE table_name_2 (date VARCHAR, home VARCHAR)
What is the date of the game where the NY Islanders are the home team?
SELECT score FROM table_name_10 WHERE home = "ny islanders"
CREATE TABLE table_name_10 (score VARCHAR, home VARCHAR)
What is the score of the game where the NY Islanders are the home team?
SELECT home FROM table_name_68 WHERE date = "february 3"
CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)
Who was the home team on February 3?
SELECT SUM(overall) FROM table_name_50 WHERE round < 24 AND college = "north carolina state"
CREATE TABLE table_name_50 (overall INTEGER, round VARCHAR, college VARCHAR)
What is the sum of Overall, when Round is less than 24, and when College is North Carolina State?
SELECT COUNT(pick) FROM table_name_98 WHERE position = "ot" AND overall > 91 AND round > 21 AND college = "mississippi"
CREATE TABLE table_name_98 (pick VARCHAR, college VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR)
What is the total number of Pick, when Position is OT, when Overall is greater than 91, when Round is greater than 21, and when College is Mississippi?
SELECT MIN(overall) FROM table_name_17 WHERE college = "hardin-simmons" AND round > 26
CREATE TABLE table_name_17 (overall INTEGER, college VARCHAR, round VARCHAR)
What is the lowest Overall, when College is Hardin-Simmons, and when Round is greater than 26?
SELECT score FROM table_name_37 WHERE opponent = "younes el aynaoui"
CREATE TABLE table_name_37 (score VARCHAR, opponent VARCHAR)
What is the score of the tournament with younes el aynaoui as the opponent?
SELECT date FROM table_name_6 WHERE opponent = "carlos moyΓ "
CREATE TABLE table_name_6 (date VARCHAR, opponent VARCHAR)
What is the date of the tournament with carlos moyΓ  as the opponent?
SELECT tournament FROM table_name_57 WHERE opponent = "greg rusedski"
CREATE TABLE table_name_57 (tournament VARCHAR, opponent VARCHAR)
What is the tournament with greg rusedski as the opponent?
SELECT surface FROM table_name_75 WHERE date = "26 may 1996"
CREATE TABLE table_name_75 (surface VARCHAR, date VARCHAR)
What is the surface on 26 May 1996?
SELECT club FROM table_name_55 WHERE nationality = "united states" AND player = "ty harden"
CREATE TABLE table_name_55 (club VARCHAR, nationality VARCHAR, player VARCHAR)
What club did united states player ty harden play for?
SELECT COUNT(season) FROM table_name_26 WHERE player = "rohan ricketts"
CREATE TABLE table_name_26 (season VARCHAR, player VARCHAR)
Which seaosn had a player of rohan ricketts?
SELECT tries_against FROM table_name_78 WHERE points_against = "213"
CREATE TABLE table_name_78 (tries_against VARCHAR, points_against VARCHAR)
What is Tries Against, when Points Against is 213?
SELECT tries_against FROM table_name_56 WHERE tries_for = "21"
CREATE TABLE table_name_56 (tries_against VARCHAR, tries_for VARCHAR)
What is Tries Against, when Tries For is 21?
SELECT try_diff FROM table_name_18 WHERE points_diff = "+71"
CREATE TABLE table_name_18 (try_diff VARCHAR, points_diff VARCHAR)
What is Try Diff, when Points Diff is +71?
SELECT try_diff FROM table_name_42 WHERE points_against = "213"
CREATE TABLE table_name_42 (try_diff VARCHAR, points_against VARCHAR)
What is Try Diff, when Points Against is 213?
SELECT tries_against FROM table_name_34 WHERE try_diff = "+15"
CREATE TABLE table_name_34 (tries_against VARCHAR, try_diff VARCHAR)
What is Tries Against, when Try Diff is +15?
SELECT archbishop FROM table_name_42 WHERE vacated_throne = "may 17, 1907"
CREATE TABLE table_name_42 (archbishop VARCHAR, vacated_throne VARCHAR)
Which archbishop vacated the throne on May 17, 1907?
SELECT died FROM table_name_62 WHERE ordained_bishop = "july 25, 1902"
CREATE TABLE table_name_62 (died VARCHAR, ordained_bishop VARCHAR)
When did the archbishop that was ordained a bishop on July 25, 1902 die?
SELECT ordained_bishop FROM table_name_80 WHERE born = "february 10, 1858"
CREATE TABLE table_name_80 (ordained_bishop VARCHAR, born VARCHAR)
When was the archbishop that was born on February 10, 1858 ordained a bishop?
SELECT vacated_throne FROM table_name_63 WHERE archbishop = "albert daeger"
CREATE TABLE table_name_63 (vacated_throne VARCHAR, archbishop VARCHAR)
When did Archbishop Albert Daeger vacate the throne?
SELECT born FROM table_name_3 WHERE ordained_bishop = "november 30, 1925"
CREATE TABLE table_name_3 (born VARCHAR, ordained_bishop VARCHAR)
When was the archbishop that was ordained as a bishop on November 30, 1925 born?
SELECT ordained_bishop FROM table_name_6 WHERE born = "february 22, 1825"
CREATE TABLE table_name_6 (ordained_bishop VARCHAR, born VARCHAR)
When was the archbishop that was born on February 22, 1825 ordained as a bishop?
SELECT event FROM table_name_87 WHERE opponent = "pat barry"
CREATE TABLE table_name_87 (event VARCHAR, opponent VARCHAR)
Which event was against Pat Barry?
SELECT player FROM table_name_60 WHERE score = 71 - 71 = 142
CREATE TABLE table_name_60 (player VARCHAR, score VARCHAR)
What Player has a Score of 71-71=142?
SELECT to_par FROM table_name_95 WHERE place = "t9" AND player = "ernie els"
CREATE TABLE table_name_95 (to_par VARCHAR, place VARCHAR, player VARCHAR)
What is the To par of T9 Place Player Ernie Els?
SELECT score FROM table_name_64 WHERE country = "south africa"
CREATE TABLE table_name_64 (score VARCHAR, country VARCHAR)
What is the Score of the Player from South Africa?
SELECT place FROM table_name_61 WHERE score = 70 - 71 = 141
CREATE TABLE table_name_61 (place VARCHAR, score VARCHAR)
What is the Place of the Player with a Score of 70-71=141?
SELECT date FROM table_name_85 WHERE set_1 = "25–20"
CREATE TABLE table_name_85 (date VARCHAR, set_1 VARCHAR)
Which Date has a Set 1 of 25–20?
SELECT score FROM table_name_55 WHERE total = "80–72"
CREATE TABLE table_name_55 (score VARCHAR, total VARCHAR)
Which Score has a Total of 80–72?
SELECT date FROM table_name_31 WHERE set_1 = "21–25"
CREATE TABLE table_name_31 (date VARCHAR, set_1 VARCHAR)
Which Date has a Set 1 of 21–25?
SELECT set_2 FROM table_name_5 WHERE set_3 = "25–20" AND time = "13:45"
CREATE TABLE table_name_5 (set_2 VARCHAR, set_3 VARCHAR, time VARCHAR)
Which Set 2 has a Set 3 of 25–20, and a Time of 13:45?
SELECT score FROM table_name_97 WHERE set_1 = "25–16"
CREATE TABLE table_name_97 (score VARCHAR, set_1 VARCHAR)
Which Score has a Set 1 of 25–16?
SELECT date FROM table_name_38 WHERE score = "2–3" AND time = "20:30" AND set_3 = "16–25"
CREATE TABLE table_name_38 (date VARCHAR, set_3 VARCHAR, score VARCHAR, time VARCHAR)
Which Date has a Score of 2–3, a Time of 20:30, and a Set 3 of 16–25?
SELECT back FROM table_name_88 WHERE supplier = "kooga" AND year = "2006-2008"
CREATE TABLE table_name_88 (back VARCHAR, supplier VARCHAR, year VARCHAR)
Which Back has a Supplier of Kooga and a Year of 2006-2008?
SELECT supplier FROM table_name_83 WHERE year = "2006-2008"
CREATE TABLE table_name_83 (supplier VARCHAR, year VARCHAR)
Which Supplier has a Year of 2006-2008?
SELECT sleeves FROM table_name_72 WHERE back = "unknown"
CREATE TABLE table_name_72 (sleeves VARCHAR, back VARCHAR)
Which Sleeves have a Back of Unknown?
SELECT year FROM table_name_97 WHERE supplier = "kooga"
CREATE TABLE table_name_97 (year VARCHAR, supplier VARCHAR)
What is the Year for Supplier Kooga?
SELECT sleeves FROM table_name_67 WHERE year = "2006-2008"
CREATE TABLE table_name_67 (sleeves VARCHAR, year VARCHAR)
Which Sleeves have a Year of 2006-2008?