question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the Clean and Jerk weight for the year that had a Snatch result of 190kg?
CREATE TABLE table_name_13 (clean_and_jerk VARCHAR, snatch VARCHAR)
SELECT clean_and_jerk FROM table_name_13 WHERE snatch = "190kg"
What was the highest place result in 2010 with a Clean and Jerk weight of 224kg?
CREATE TABLE table_name_92 (place INTEGER, year VARCHAR, clean_and_jerk VARCHAR)
SELECT MAX(place) FROM table_name_92 WHERE year = 2010 AND clean_and_jerk = "224kg"
Which competition led to a total weight of 428kg?
CREATE TABLE table_name_77 (competition VARCHAR, total VARCHAR)
SELECT competition FROM table_name_77 WHERE total = "428kg"
In what lane did the swimmer get a time of 1:59.42?
CREATE TABLE table_name_97 (lane INTEGER, time VARCHAR)
SELECT SUM(lane) FROM table_name_97 WHERE time = "1:59.42"
Name the Gold which has a Nation of australia, and a Bronze smaller than 1?
CREATE TABLE table_name_64 (gold INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MIN(gold) FROM table_name_64 WHERE nation = "australia" AND bronze < 1
Which the highest Bronze of czech republic with a Total smaller than 4?
CREATE TABLE table_name_63 (bronze INTEGER, nation VARCHAR, total VARCHAR)
SELECT MAX(bronze) FROM table_name_63 WHERE nation = "czech republic" AND total < 4
Name the highest Bronze which has a Gold larger than 2 and a Rank of total?
CREATE TABLE table_name_70 (bronze INTEGER, gold VARCHAR, rank VARCHAR)
SELECT MAX(bronze) FROM table_name_70 WHERE gold > 2 AND rank = "total"
Count the average Gold which has a Nation of sweden, and a Silver larger than 1?
CREATE TABLE table_name_47 (gold INTEGER, nation VARCHAR, silver VARCHAR)
SELECT AVG(gold) FROM table_name_47 WHERE nation = "sweden" AND silver > 1
Who was the opponent on June 3?
CREATE TABLE table_name_50 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_50 WHERE date = "june 3"
Which game had a 9-7 record?
CREATE TABLE table_name_28 (game VARCHAR, record VARCHAR)
SELECT game FROM table_name_28 WHERE record = "9-7"
What is the highest game with a 3-2 record?
CREATE TABLE table_name_79 (game INTEGER, record VARCHAR)
SELECT MAX(game) FROM table_name_79 WHERE record = "3-2"
Who is the opponent of the game with a game number larger than 5 on June 22?
CREATE TABLE table_name_85 (opponent VARCHAR, game VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_85 WHERE game > 5 AND date = "june 22"
What is the score of the game on June 25 at the mohegan sun arena?
CREATE TABLE table_name_85 (score VARCHAR, location VARCHAR, date VARCHAR)
SELECT score FROM table_name_85 WHERE location = "mohegan sun arena" AND date = "june 25"
Who is the opponent at america west arena?
CREATE TABLE table_name_24 (opponent VARCHAR, location VARCHAR)
SELECT opponent FROM table_name_24 WHERE location = "america west arena"
Who are the rowers ranked greater than 3 from Finland?
CREATE TABLE table_name_42 (rowers VARCHAR, rank VARCHAR, country VARCHAR)
SELECT rowers FROM table_name_42 WHERE rank > 3 AND country = "finland"
What country had a 6:55.23 time?
CREATE TABLE table_name_72 (country VARCHAR, time VARCHAR)
SELECT country FROM table_name_72 WHERE time = "6:55.23"
What is the average number of wins for teams with 14 losses and against over 2200?
CREATE TABLE table_name_41 (wins INTEGER, losses VARCHAR, against VARCHAR)
SELECT AVG(wins) FROM table_name_41 WHERE losses = 14 AND against > 2200
What is the sum of wins for teams with against under 1067?
CREATE TABLE table_name_16 (wins INTEGER, against INTEGER)
SELECT SUM(wins) FROM table_name_16 WHERE against < 1067
What is the sum of Against values for teams with 5 losses and 0 draws?
CREATE TABLE table_name_8 (against INTEGER, losses VARCHAR, draws VARCHAR)
SELECT SUM(against) FROM table_name_8 WHERE losses = 5 AND draws < 0
What is the total number of byes for teams with against of 2139 and more than 0 draws?
CREATE TABLE table_name_70 (byes VARCHAR, against VARCHAR, draws VARCHAR)
SELECT COUNT(byes) FROM table_name_70 WHERE against = 2139 AND draws > 0
what is the highest attendance when the week is smaller than 1?
CREATE TABLE table_name_30 (attendance INTEGER, week INTEGER)
SELECT MAX(attendance) FROM table_name_30 WHERE week < 1
what is the week when the result is w 14-13 and the attendance is higher than 53,295?
CREATE TABLE table_name_51 (week INTEGER, result VARCHAR, attendance VARCHAR)
SELECT AVG(week) FROM table_name_51 WHERE result = "w 14-13" AND attendance > 53 OFFSET 295
What college did Richard Ticzon attend?
CREATE TABLE table_name_82 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_82 WHERE player = "richard ticzon"
Which player went to college at Up-Diliman and plays on PBA team of the Alaska Milkmen?
CREATE TABLE table_name_97 (player VARCHAR, pba_team VARCHAR, college VARCHAR)
SELECT player FROM table_name_97 WHERE pba_team = "alaska milkmen" AND college = "up-diliman"
How many silver medals when the total was 2 and less than 1 bronze?
CREATE TABLE table_name_37 (silver INTEGER, bronze VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_37 WHERE bronze < 1 AND total = 2
What's the total when the bronze was more than 1, silver was 3, and gold was less than 5?
CREATE TABLE table_name_90 (total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT SUM(total) FROM table_name_90 WHERE bronze > 1 AND silver = 3 AND gold < 5
What's the gold medal count for Total Nation with a bronze count more than 0 and a total less than 54?
CREATE TABLE table_name_13 (gold INTEGER, bronze VARCHAR, nation VARCHAR)
SELECT MAX(gold) FROM table_name_13 WHERE bronze > 0 AND nation = "total" AND "total" < 54
what is the borough or A[›] Census area when the Name A[›] is jerome lake dam?
CREATE TABLE table_name_81 (borough_or_a VARCHAR, ›_ VARCHAR, name_a VARCHAR)
SELECT borough_or_a[›_] AS _census_area FROM table_name_81 WHERE name_a[›_] = "jerome lake dam"
What is the score for the player who won $3,600?
CREATE TABLE table_name_40 (score VARCHAR, money___$__ VARCHAR)
SELECT score FROM table_name_40 WHERE money___$__ = "3,600"
Name the most total with average less than 36.5 and rank by average of 14
CREATE TABLE table_name_39 (total INTEGER, average VARCHAR, rank_by_average VARCHAR)
SELECT MAX(total) FROM table_name_39 WHERE average < 36.5 AND rank_by_average = 14
Name the sum of rank by average with competition finish more than 8 and average larger than 30
CREATE TABLE table_name_29 (rank_by_average INTEGER, competition_finish VARCHAR, average VARCHAR)
SELECT SUM(rank_by_average) FROM table_name_29 WHERE competition_finish > 8 AND average > 30
Name the total number of competition finish with total of 90 and rank by average more than 5
CREATE TABLE table_name_43 (competition_finish VARCHAR, total VARCHAR, rank_by_average VARCHAR)
SELECT COUNT(competition_finish) FROM table_name_43 WHERE total = 90 AND rank_by_average > 5
Name the greatest competition finish with average more than 32.9 and number of dances more than 16
CREATE TABLE table_name_4 (competition_finish INTEGER, average VARCHAR, number_of_dances VARCHAR)
SELECT MAX(competition_finish) FROM table_name_4 WHERE average > 32.9 AND number_of_dances > 16
Name the least rank by average for number of dances less than 9 and competition finish of 5
CREATE TABLE table_name_62 (rank_by_average INTEGER, competition_finish VARCHAR, number_of_dances VARCHAR)
SELECT MIN(rank_by_average) FROM table_name_62 WHERE competition_finish = 5 AND number_of_dances < 9
What was the record on june 4?
CREATE TABLE table_name_83 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_83 WHERE date = "june 4"
What was the score of the Iowa v. Minnesota game?
CREATE TABLE table_name_59 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_59 WHERE opponent = "minnesota"
Who was Milwaukee's opponent?
CREATE TABLE table_name_98 (opponent VARCHAR, city VARCHAR)
SELECT opponent FROM table_name_98 WHERE city = "milwaukee"
What was the result of the game versus Tulsa?
CREATE TABLE table_name_80 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_80 WHERE opponent = "tulsa"
What is the most points for a vehicle with a lola thl1, chassis later than 1986?
CREATE TABLE table_name_54 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_54 WHERE chassis = "lola thl1" AND year > 1986
What is the latest year with less than 2 points, a Mclaren m28 chassis and an Entrant of löwenbräu team mclaren?
CREATE TABLE table_name_84 (year INTEGER, entrant VARCHAR, points VARCHAR, chassis VARCHAR)
SELECT MAX(year) FROM table_name_84 WHERE points < 2 AND chassis = "mclaren m28" AND entrant = "löwenbräu team mclaren"
What is the latest year for Entrant of equipe talbot gitanes with less than 1 point?
CREATE TABLE table_name_68 (year INTEGER, entrant VARCHAR, points VARCHAR)
SELECT MAX(year) FROM table_name_68 WHERE entrant = "equipe talbot gitanes" AND points < 1
When did the reactor that has a rated power of 945 MW and ended construction on May 10, 1978 close?
CREATE TABLE table_name_13 (close_of_reactor VARCHAR, rated_power VARCHAR, finish_construction VARCHAR)
SELECT close_of_reactor FROM table_name_13 WHERE rated_power = "945 mw" AND finish_construction = "may 10, 1978"
What is the rated power for the reactor that ended construction on May 10, 1978?
CREATE TABLE table_name_52 (rated_power VARCHAR, finish_construction VARCHAR)
SELECT rated_power FROM table_name_52 WHERE finish_construction = "may 10, 1978"
Who was the parter against Marin čilić lovro Zovko?
CREATE TABLE table_name_41 (partnering VARCHAR, opponents VARCHAR)
SELECT partnering FROM table_name_41 WHERE opponents = "marin čilić lovro zovko"
What was the score on 24 February 2013?
CREATE TABLE table_name_32 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_32 WHERE date = "24 february 2013"
Who was the opponent on clay surface when partnered with Horacio Zeballos?
CREATE TABLE table_name_23 (opponents VARCHAR, surface VARCHAR, partnering VARCHAR)
SELECT opponents FROM table_name_23 WHERE surface = "clay" AND partnering = "horacio zeballos"
Which course had a rest day for the Race Leader?
CREATE TABLE table_name_1 (course VARCHAR, race_leader VARCHAR)
SELECT course FROM table_name_1 WHERE race_leader = "rest day"
Name the attendance with angels opponent for july 9
CREATE TABLE table_name_32 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_32 WHERE opponent = "angels" AND date = "july 9"
Name the most attendance whent he record is 45-57
CREATE TABLE table_name_2 (attendance INTEGER, record VARCHAR)
SELECT MAX(attendance) FROM table_name_2 WHERE record = "45-57"
Which is the opponent when the record was 43-56?
CREATE TABLE table_name_12 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_12 WHERE record = "43-56"
What is the highest number of cuts made in a tournament with 0 wins and 0 top 5 placings?
CREATE TABLE table_name_20 (cuts_made INTEGER, top_5 VARCHAR, wins VARCHAR)
SELECT MAX(cuts_made) FROM table_name_20 WHERE top_5 = 0 AND wins < 0
What is the number of Inaug., when the Type is Public, when the Name is Mei Lam Estate, and when the No Units is larger than 4,156?
CREATE TABLE table_name_96 (inaug VARCHAR, no_units VARCHAR, type VARCHAR, name VARCHAR)
SELECT COUNT(inaug) FROM table_name_96 WHERE type = "public" AND name = "mei lam estate" AND no_units > 4 OFFSET 156
What is the average No Units, when the Name is Fung Shing Court, and when the No Blocks is fewer than 3?
CREATE TABLE table_name_99 (no_units INTEGER, name VARCHAR, no_blocks VARCHAR)
SELECT AVG(no_units) FROM table_name_99 WHERE name = "fung shing court" AND no_blocks < 3
What rank is the transfer for the milan move in 2000?
CREATE TABLE table_name_4 (rank INTEGER, moving_to VARCHAR, year VARCHAR)
SELECT AVG(rank) FROM table_name_4 WHERE moving_to = "milan" AND year = 2000
When was the earliest year that kakha kaladze moved to milan with a rank above 9?
CREATE TABLE table_name_37 (year INTEGER, rank VARCHAR, moving_to VARCHAR, name VARCHAR)
SELECT MIN(year) FROM table_name_37 WHERE moving_to = "milan" AND name = "kakha kaladze" AND rank < 9
Where did the player move from that went to stuttgart?
CREATE TABLE table_name_17 (moving_from VARCHAR, moving_to VARCHAR)
SELECT moving_from FROM table_name_17 WHERE moving_to = "stuttgart"
Who was moved to barcelona?
CREATE TABLE table_name_61 (name VARCHAR, moving_to VARCHAR)
SELECT name FROM table_name_61 WHERE moving_to = "barcelona"
How many totals have 0 as Gold, a bronze greater than 1, and a silver less than 1?
CREATE TABLE table_name_94 (total VARCHAR, silver VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT COUNT(total) FROM table_name_94 WHERE gold = 0 AND bronze > 1 AND silver < 1
How many totals have brazil as the nation, and a bronze less than 2?
CREATE TABLE table_name_89 (total INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT SUM(total) FROM table_name_89 WHERE nation = "brazil" AND bronze < 2
How many silvers have 2 as gold, and a bronze less than 2?
CREATE TABLE table_name_69 (silver INTEGER, gold VARCHAR, bronze VARCHAR)
SELECT SUM(silver) FROM table_name_69 WHERE gold = 2 AND bronze < 2
Which nation has a gold less than 2 and a bronze less than 5?
CREATE TABLE table_name_31 (nation VARCHAR, gold VARCHAR, bronze VARCHAR)
SELECT nation FROM table_name_31 WHERE gold < 2 AND bronze < 5
What is the least silver that has mexico as a nation and a gold less than 0?
CREATE TABLE table_name_69 (silver INTEGER, nation VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_69 WHERE nation = "mexico" AND gold < 0
Where did Dennis Byrd go to college?
CREATE TABLE table_name_29 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_29 WHERE player = "dennis byrd"
Which Visa 3 has gui finkler as Visa 1?
CREATE TABLE table_name_83 (visa_3 VARCHAR, visa_1 VARCHAR)
SELECT visa_3 FROM table_name_83 WHERE visa_1 = "gui finkler"
Which Visa 3 has a Visa 4 of youssouf hersi?
CREATE TABLE table_name_70 (visa_3 VARCHAR, visa_4 VARCHAR)
SELECT visa_3 FROM table_name_70 WHERE visa_4 = "youssouf hersi"
Which Visa 5 has a Visa 1 of emile heskey?
CREATE TABLE table_name_4 (visa_5 VARCHAR, visa_1 VARCHAR)
SELECT visa_5 FROM table_name_4 WHERE visa_1 = "emile heskey"
Which Visa 3 has a Visa 1 of michael mcglinchey?
CREATE TABLE table_name_7 (visa_3 VARCHAR, visa_1 VARCHAR)
SELECT visa_3 FROM table_name_7 WHERE visa_1 = "michael mcglinchey"
Which Visa 4 has besart berisha as Visa 1?
CREATE TABLE table_name_42 (visa_4 VARCHAR, visa_1 VARCHAR)
SELECT visa_4 FROM table_name_42 WHERE visa_1 = "besart berisha"
What is the lowest tier for a position smaller than 7 for a Turkish Cup group stage?
CREATE TABLE table_name_99 (tier INTEGER, turkish_cup VARCHAR, pos VARCHAR)
SELECT MIN(tier) FROM table_name_99 WHERE turkish_cup = "group stage" AND pos < 7
How many rounds have a Grand Prix of german gp?
CREATE TABLE table_name_26 (round INTEGER, grand_prix VARCHAR)
SELECT SUM(round) FROM table_name_26 WHERE grand_prix = "german gp"
What is the largest round with a Race Title of korean grand prix?
CREATE TABLE table_name_58 (round INTEGER, race_title VARCHAR)
SELECT MAX(round) FROM table_name_58 WHERE race_title = "korean grand prix"
Which circuit has a Race Title of japanese grand prix?
CREATE TABLE table_name_22 (circuit VARCHAR, race_title VARCHAR)
SELECT circuit FROM table_name_22 WHERE race_title = "japanese grand prix"
What is the smallest round with a Grand Prix of indian gp?
CREATE TABLE table_name_74 (round INTEGER, grand_prix VARCHAR)
SELECT MIN(round) FROM table_name_74 WHERE grand_prix = "indian gp"
Which date has a Race Title of dhl turkish grand prix?
CREATE TABLE table_name_40 (date VARCHAR, race_title VARCHAR)
SELECT date FROM table_name_40 WHERE race_title = "dhl turkish grand prix"
Name the PBA team for paolo mendoza
CREATE TABLE table_name_81 (pba_team VARCHAR, player VARCHAR)
SELECT pba_team FROM table_name_81 WHERE player = "paolo mendoza"
What did billy andrade to par?
CREATE TABLE table_name_5 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_5 WHERE player = "billy andrade"
Name the date for w 31-28
CREATE TABLE table_name_60 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_60 WHERE result = "w 31-28"
Name the most week for record of 1-2 and attendance more than 61,602
CREATE TABLE table_name_60 (week INTEGER, record VARCHAR, attendance VARCHAR)
SELECT MAX(week) FROM table_name_60 WHERE record = "1-2" AND attendance > 61 OFFSET 602
What was the final score when the result was 4-0?
CREATE TABLE table_name_1 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_1 WHERE result = "4-0"
Where was there a result of 4-5 and a score of 1-1?
CREATE TABLE table_name_98 (venue VARCHAR, result VARCHAR, score VARCHAR)
SELECT venue FROM table_name_98 WHERE result = "4-5" AND score = "1-1"
With a time of 53.33, who ranked the highest?
CREATE TABLE table_name_89 (rank INTEGER, time VARCHAR)
SELECT MAX(rank) FROM table_name_89 WHERE time = 53.33
What was Great Britain's total time?
CREATE TABLE table_name_4 (time VARCHAR, nationality VARCHAR)
SELECT COUNT(time) FROM table_name_4 WHERE nationality = "great britain"
Which lane ranked less than 4 for the Netherlands?
CREATE TABLE table_name_4 (lane VARCHAR, rank VARCHAR, nationality VARCHAR)
SELECT lane FROM table_name_4 WHERE rank < 4 AND nationality = "netherlands"
What was the winning score in the Alfred Dunhill links championship?
CREATE TABLE table_name_35 (winning_score VARCHAR, tournament VARCHAR)
SELECT winning_score FROM table_name_35 WHERE tournament = "alfred dunhill links championship"
What date did Ian poulter become runner up?
CREATE TABLE table_name_76 (date VARCHAR, runner_s__up VARCHAR)
SELECT date FROM table_name_76 WHERE runner_s__up = "ian poulter"
What was the film title used in nomination for Panny Z Wilka?
CREATE TABLE table_name_83 (film_title_used_in_nomination VARCHAR, original_name VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_83 WHERE original_name = "panny z wilka"
What is the language of the film originally titled רגעים?
CREATE TABLE table_name_39 (language VARCHAR, original_name VARCHAR)
SELECT language FROM table_name_39 WHERE original_name = "רגעים"
Name the points for with drawn of 0 and points of 88
CREATE TABLE table_name_33 (points_for VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT points_for FROM table_name_33 WHERE drawn = "0" AND points = "88"
Name the played with try bonus of 6 and drawn of 0
CREATE TABLE table_name_76 (played VARCHAR, try_bonus VARCHAR, drawn VARCHAR)
SELECT played FROM table_name_76 WHERE try_bonus = "6" AND drawn = "0"
Name the point with points for of 255
CREATE TABLE table_name_67 (points VARCHAR, points_for VARCHAR)
SELECT points FROM table_name_67 WHERE points_for = "255"
Name the played with losing bonus of 2 and points for of 706
CREATE TABLE table_name_99 (played VARCHAR, losing_bonus VARCHAR, points_for VARCHAR)
SELECT played FROM table_name_99 WHERE losing_bonus = "2" AND points_for = "706"
Name the drawn with lost of 3 and points of 88
CREATE TABLE table_name_86 (drawn VARCHAR, lost VARCHAR, points VARCHAR)
SELECT drawn FROM table_name_86 WHERE lost = "3" AND points = "88"
Name the year when the publisher was argonaut games sierra entertainment
CREATE TABLE table_name_50 (year VARCHAR, publisher VARCHAR)
SELECT year FROM table_name_50 WHERE publisher = "argonaut games sierra entertainment"
Name the plaform for year more than 2006 and developer of 3g studios
CREATE TABLE table_name_33 (platform VARCHAR, year VARCHAR, developer VARCHAR)
SELECT platform FROM table_name_33 WHERE year > 2006 AND developer = "3g studios"
Name the title for 2005
CREATE TABLE table_name_2 (title VARCHAR, year VARCHAR)
SELECT title FROM table_name_2 WHERE year = 2005
What years are listed for the Tahunanui school with an authority of state?
CREATE TABLE table_name_31 (years VARCHAR, authority VARCHAR, name VARCHAR)
SELECT years FROM table_name_31 WHERE authority = "state" AND name = "tahunanui school"
Who is the october playmate with February playmate Cristy Thom?
CREATE TABLE table_name_51 (october VARCHAR, february VARCHAR)
SELECT october FROM table_name_51 WHERE february = "cristy thom"
Who is the January playmate with a September playmate Nikki Schieler?
CREATE TABLE table_name_15 (january VARCHAR, september VARCHAR)
SELECT january FROM table_name_15 WHERE september = "nikki schieler"
Who is the June playmate with the November playmate Lorraine Olivia?
CREATE TABLE table_name_3 (june VARCHAR, november VARCHAR)
SELECT june FROM table_name_3 WHERE november = "lorraine olivia"
Who is the January playmate with a March playmate Alexandria Karlsen?
CREATE TABLE table_name_59 (january VARCHAR, march VARCHAR)
SELECT january FROM table_name_59 WHERE march = "alexandria karlsen"