answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT position FROM table_name_78 WHERE time = "3:01.78"
CREATE TABLE table_name_78 (position VARCHAR, time VARCHAR)
What Position has a Time of 3:01.78?
SELECT event FROM table_name_77 WHERE competition = "world championships"
CREATE TABLE table_name_77 (event VARCHAR, competition VARCHAR)
What Event has a Competition of world championships?
SELECT time FROM table_name_77 WHERE year = 1984
CREATE TABLE table_name_77 (time VARCHAR, year VARCHAR)
What Time has a Year of 1984?
SELECT competition FROM table_name_52 WHERE year < 1983
CREATE TABLE table_name_52 (competition VARCHAR, year INTEGER)
What Competition has a Year smaller than 1983?
SELECT SUM(weight) FROM table_name_78 WHERE year = "senior" AND height = "6–10"
CREATE TABLE table_name_78 (weight INTEGER, year VARCHAR, height VARCHAR)
What is the Weight of the Senior Player with a Height of 6–10?
SELECT year FROM table_name_20 WHERE weight < 230 AND home_town = "san antonio, texas"
CREATE TABLE table_name_20 (year VARCHAR, weight VARCHAR, home_town VARCHAR)
What is the Year of the Player with a Weight of 230 or less from San Antonio, Texas?
SELECT height FROM table_name_54 WHERE year = "sophomore" AND position = "guard" AND weight = 185
CREATE TABLE table_name_54 (height VARCHAR, weight VARCHAR, year VARCHAR, position VARCHAR)
What is the Height of the Sophomore Guard weighing 185?
SELECT year FROM table_name_45 WHERE weight = 185
CREATE TABLE table_name_45 (year VARCHAR, weight VARCHAR)
What is the Year of the Player weighing 185?
SELECT club FROM table_name_15 WHERE location = "thomson, victoria"
CREATE TABLE table_name_15 (club VARCHAR, location VARCHAR)
Which club is located in Thomson, Victoria?
SELECT nickname FROM table_name_25 WHERE years_in_gfl = "1986-1988"
CREATE TABLE table_name_25 (nickname VARCHAR, years_in_gfl VARCHAR)
What is the nickname of the team who was in the GFL from 1986-1988?
SELECT location FROM table_name_90 WHERE nickname = "tigers"
CREATE TABLE table_name_90 (location VARCHAR, nickname VARCHAR)
Which location did the Tigers have?
SELECT nickname FROM table_name_59 WHERE club = "geelong west cricket & football club"
CREATE TABLE table_name_59 (nickname VARCHAR, club VARCHAR)
What was the nickname of the team in the Geelong West Cricket & Football Club?
SELECT gfl_premierships FROM table_name_70 WHERE nickname = "magpies"
CREATE TABLE table_name_70 (gfl_premierships VARCHAR, nickname VARCHAR)
What GLF Premiership did the Magpies have?
SELECT nickname FROM table_name_93 WHERE club = "east geelong"
CREATE TABLE table_name_93 (nickname VARCHAR, club VARCHAR)
What was the nickname of the team in the East Geelong club?
SELECT year_s__won FROM table_name_6 WHERE finish = "t27"
CREATE TABLE table_name_6 (year_s__won VARCHAR, finish VARCHAR)
What year has a winning finish of T27?
SELECT finish FROM table_name_76 WHERE country = "england"
CREATE TABLE table_name_76 (finish VARCHAR, country VARCHAR)
What was the finish for England?
SELECT country FROM table_name_14 WHERE year_s__won = "1991"
CREATE TABLE table_name_14 (country VARCHAR, year_s__won VARCHAR)
What county won in 1991?
SELECT MAX(total) FROM table_name_40 WHERE to_par = "+9"
CREATE TABLE table_name_40 (total INTEGER, to_par VARCHAR)
What is the highest total to par of +9?
SELECT status FROM table_name_77 WHERE against = 12
CREATE TABLE table_name_77 (status VARCHAR, against VARCHAR)
What Status has Against of 12?
SELECT venue FROM table_name_46 WHERE date = "17/03/1990"
CREATE TABLE table_name_46 (venue VARCHAR, date VARCHAR)
What Venue has a Date of 17/03/1990?
SELECT COUNT(week) FROM table_name_30 WHERE attendance = "43,272"
CREATE TABLE table_name_30 (week VARCHAR, attendance VARCHAR)
How many weeks had an Attendance of 43,272?
SELECT opponent FROM table_name_37 WHERE date = "december 12, 1993"
CREATE TABLE table_name_37 (opponent VARCHAR, date VARCHAR)
Who played on december 12, 1993?
SELECT date FROM table_name_92 WHERE opposing_team = "united states"
CREATE TABLE table_name_92 (date VARCHAR, opposing_team VARCHAR)
What day was United States the opposing team?
SELECT opposing_team FROM table_name_5 WHERE status = "second test"
CREATE TABLE table_name_5 (opposing_team VARCHAR, status VARCHAR)
What was the opposing team for the second test?
SELECT opposing_team FROM table_name_30 WHERE status = "second test"
CREATE TABLE table_name_30 (opposing_team VARCHAR, status VARCHAR)
What was the opposing team for the second test?
SELECT round FROM table_name_40 WHERE venue = "canberra stadium"
CREATE TABLE table_name_40 (round VARCHAR, venue VARCHAR)
What round was in canberra stadium?
SELECT venue FROM table_name_87 WHERE opponent = "cronulla sharks"
CREATE TABLE table_name_87 (venue VARCHAR, opponent VARCHAR)
What is the venue of the match with cronulla sharks as the opponent?
SELECT opponent FROM table_name_75 WHERE venue = "toyota stadium"
CREATE TABLE table_name_75 (opponent VARCHAR, venue VARCHAR)
Who is the opponent at toyota stadium?
SELECT score FROM table_name_83 WHERE opponent = "sydney roosters"
CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR)
What is the score of the match with the sydney roosters as the opponent?
SELECT venue FROM table_name_49 WHERE opponent = "cronulla sharks"
CREATE TABLE table_name_49 (venue VARCHAR, opponent VARCHAR)
What is the venue of the match with the cronulla sharks as the opponent?
SELECT location_attendance FROM table_name_9 WHERE game = "4"
CREATE TABLE table_name_9 (location_attendance VARCHAR, game VARCHAR)
What Location Attendance has a Game of 4?
SELECT date FROM table_name_44 WHERE location_attendance = "reunion arena"
CREATE TABLE table_name_44 (date VARCHAR, location_attendance VARCHAR)
What Date has a Location Attendance of reunion arena?
SELECT record FROM table_name_68 WHERE location_attendance = "delta center" AND opponent = "vs vancouver grizzlies"
CREATE TABLE table_name_68 (record VARCHAR, location_attendance VARCHAR, opponent VARCHAR)
What Record has a Location Attendance of delta center, and an Opponent of vs vancouver grizzlies?
SELECT location_attendance FROM table_name_66 WHERE opponent = "at denver nuggets"
CREATE TABLE table_name_66 (location_attendance VARCHAR, opponent VARCHAR)
What Location Attendance has an Opponent of at denver nuggets?
SELECT record FROM table_name_99 WHERE opponent = "vs washington wizards"
CREATE TABLE table_name_99 (record VARCHAR, opponent VARCHAR)
What Record has an Opponent of vs washington wizards?
SELECT location_attendance FROM table_name_91 WHERE game = "14"
CREATE TABLE table_name_91 (location_attendance VARCHAR, game VARCHAR)
What Location Attendance has a Game of 14?
SELECT score_in_final FROM table_name_86 WHERE partnering = "robin ammerlaan" AND opponents_in_final = "shingo kunieda maikel scheffers"
CREATE TABLE table_name_86 (score_in_final VARCHAR, partnering VARCHAR, opponents_in_final VARCHAR)
What was the final score of the game against shingo kunieda maikel scheffers when robin ammerlaan was Ronald Vink's partner?
SELECT championship FROM table_name_71 WHERE partnering = "maikel scheffers" AND year > 2007 AND opponents_in_final = "stephane houdet nicolas peiffer"
CREATE TABLE table_name_71 (championship VARCHAR, opponents_in_final VARCHAR, partnering VARCHAR, year VARCHAR)
What championship tournament did Ronald Vink play in with maikel scheffers as his partner in 2007 against stephane houdet nicolas peiffer?
SELECT screen_size FROM table_name_8 WHERE bluetooth = "no" AND model = "s45 (australia only)"
CREATE TABLE table_name_8 (screen_size VARCHAR, bluetooth VARCHAR, model VARCHAR)
What is the screen size of the s45 (Australia only) Model with no bluetooth?
SELECT bluetooth FROM table_name_31 WHERE model = "s90i"
CREATE TABLE table_name_31 (bluetooth VARCHAR, model VARCHAR)
Does the S90i model have bluetooth?
SELECT bluetooth FROM table_name_31 WHERE model = "s35"
CREATE TABLE table_name_31 (bluetooth VARCHAR, model VARCHAR)
Does the s35 model have bluetooth?
SELECT height FROM table_name_49 WHERE club = "havk mladost"
CREATE TABLE table_name_49 (height VARCHAR, club VARCHAR)
What is the height for club Havk Mladost?
SELECT height FROM table_name_45 WHERE name = "nikola franković"
CREATE TABLE table_name_45 (height VARCHAR, name VARCHAR)
What is the height for Nikola Franković?
SELECT weight FROM table_name_95 WHERE name = "damir burić"
CREATE TABLE table_name_95 (weight VARCHAR, name VARCHAR)
What is the weight of Damir Burić?
SELECT total FROM table_name_70 WHERE rank_points = "15" AND event = "wc beijing"
CREATE TABLE table_name_70 (total VARCHAR, rank_points VARCHAR, event VARCHAR)
What is Total, when Rank Points is "15", and when Event is "WC Beijing"?
SELECT score_points FROM table_name_12 WHERE event = "wc rio de janeiro" AND rank_points = "10"
CREATE TABLE table_name_12 (score_points VARCHAR, event VARCHAR, rank_points VARCHAR)
What is Score Points, when Event is "WC Rio De Janeiro", and when Rank Points is "10"?
SELECT shooter FROM table_name_51 WHERE total = "21"
CREATE TABLE table_name_51 (shooter VARCHAR, total VARCHAR)
What is Shooter, when Total is "21"?
SELECT score_points FROM table_name_81 WHERE shooter = "sandra kolly ( sui )"
CREATE TABLE table_name_81 (score_points VARCHAR, shooter VARCHAR)
What is Score Points, when Shooter is "Sandra Kolly ( SUI )"?
SELECT rank_points FROM table_name_77 WHERE event = "wc milan" AND shooter = "lalita yauhleuskaya ( aus )"
CREATE TABLE table_name_77 (rank_points VARCHAR, event VARCHAR, shooter VARCHAR)
What is Rank Points, when Event is "WC Milan", and when Shooter is "Lalita Yauhleuskaya ( AUS )"?
SELECT rank_points FROM table_name_12 WHERE total = "17" AND shooter = "lalita yauhleuskaya ( aus )"
CREATE TABLE table_name_12 (rank_points VARCHAR, total VARCHAR, shooter VARCHAR)
What is Rank Points, when Total is "17", and when Shooter is "Lalita Yauhleuskaya ( AUS )"?
SELECT artist FROM table_name_32 WHERE week = "top 6"
CREATE TABLE table_name_32 (artist VARCHAR, week VARCHAR)
Which Artist is listed as having Top 6 in Week
SELECT song_sung FROM table_name_17 WHERE artist = "luther vandross" AND week = "top 20"
CREATE TABLE table_name_17 (song_sung VARCHAR, artist VARCHAR, week VARCHAR)
Which song was sung by Artist Luther Vandross in the Week Top 20?
SELECT artist FROM table_name_54 WHERE week = "top 12"
CREATE TABLE table_name_54 (artist VARCHAR, week VARCHAR)
Which Artist has a Week of Top 12?
SELECT status FROM table_name_32 WHERE artist = "freddie jackson"
CREATE TABLE table_name_32 (status VARCHAR, artist VARCHAR)
What Status does Freddie Jackson have?
SELECT song_sung FROM table_name_14 WHERE status = "eliminated"
CREATE TABLE table_name_14 (song_sung VARCHAR, status VARCHAR)
Which Song Sung has a Status of Eliminated?
SELECT place FROM table_name_95 WHERE score = 71 - 69 - 66 = 206
CREATE TABLE table_name_95 (place VARCHAR, score VARCHAR)
What is the place of the player with a 71-69-66=206 score?
SELECT place FROM table_name_44 WHERE score = 71 - 66 - 64 = 201
CREATE TABLE table_name_44 (place VARCHAR, score VARCHAR)
What is the place of the player with a 71-66-64=201 score?
SELECT to_par FROM table_name_91 WHERE player = "peter senior"
CREATE TABLE table_name_91 (to_par VARCHAR, player VARCHAR)
What is the to par of player peter senior?
SELECT finalist FROM table_name_30 WHERE year = 2008
CREATE TABLE table_name_30 (finalist VARCHAR, year VARCHAR)
What is Finalist, when Year is "2008"?
SELECT place FROM table_name_37 WHERE year > 2006 AND champion = "asvel"
CREATE TABLE table_name_37 (place VARCHAR, year VARCHAR, champion VARCHAR)
What is Place, when Year is greater than 2006, and when Champion is "Asvel"?
SELECT champion FROM table_name_71 WHERE year > 2007 AND finalist = "asvel"
CREATE TABLE table_name_71 (champion VARCHAR, year VARCHAR, finalist VARCHAR)
What is Champion, when Year is greater than 2007, and when Finalist is "Asvel"?
SELECT 2 AS nd_party FROM table_name_82 WHERE election = "1865"
CREATE TABLE table_name_82 (election VARCHAR)
What is 2nd Party, when Election is "1865"?
SELECT first_member FROM table_name_95 WHERE election = "1871 by-election"
CREATE TABLE table_name_95 (first_member VARCHAR, election VARCHAR)
What is First Member, when Election is "1871 by-election"?
SELECT 1 AS st_party FROM table_name_18 WHERE first_member = "peter john locke king" AND second_member = "james watney"
CREATE TABLE table_name_18 (first_member VARCHAR, second_member VARCHAR)
What is 1st Party, when First Member is "Peter John Locke King", and when Second Member is "James Watney"?
SELECT second_member FROM table_name_99 WHERE election = "1835"
CREATE TABLE table_name_99 (second_member VARCHAR, election VARCHAR)
What is Second Member, when Election is "1835"?
SELECT SUM(played) FROM table_name_64 WHERE goals_against = 45 AND goals_for < 65
CREATE TABLE table_name_64 (played INTEGER, goals_against VARCHAR, goals_for VARCHAR)
How much Played has Goals Against of 45, and Goals For smaller than 65?
SELECT COUNT(goals_against) FROM table_name_40 WHERE position = 4
CREATE TABLE table_name_40 (goals_against VARCHAR, position VARCHAR)
How many Goals Against have a Position of 4?
SELECT MAX(total) FROM table_name_65 WHERE bronze < 1 AND gold > 0
CREATE TABLE table_name_65 (total INTEGER, bronze VARCHAR, gold VARCHAR)
What is the highest total when bronze is less than 1 and gold more than 0?
SELECT SUM(bronze) FROM table_name_89 WHERE rank = 5 AND nation = "poland" AND gold < 0
CREATE TABLE table_name_89 (bronze INTEGER, gold VARCHAR, rank VARCHAR, nation VARCHAR)
what is the sum of bronze when the rank is 5, the nation is poland and gold is less than 0?
SELECT SUM(silver) FROM table_name_99 WHERE rank = 3 AND nation = "france" AND bronze < 0
CREATE TABLE table_name_99 (silver INTEGER, bronze VARCHAR, rank VARCHAR, nation VARCHAR)
what is the sum of silver when the rank is 3, nation is france and bronze is less than 0?
SELECT COUNT(rank) FROM table_name_4 WHERE nation = "china" AND bronze > 0
CREATE TABLE table_name_4 (rank VARCHAR, nation VARCHAR, bronze VARCHAR)
How many times is the nation china and bronze more than 0?
SELECT COUNT(gold) FROM table_name_82 WHERE rank > 3 AND bronze > 1
CREATE TABLE table_name_82 (gold VARCHAR, rank VARCHAR, bronze VARCHAR)
How many times is the rank higher than 3 and bronze more than 1?
SELECT MIN(silver) FROM table_name_98 WHERE bronze = 1 AND rank < 2 AND gold > 4
CREATE TABLE table_name_98 (silver INTEGER, gold VARCHAR, bronze VARCHAR, rank VARCHAR)
what is the least silver when bronze is 1, rank is less than 2 and gold is more than 4?
SELECT AVG(draws) FROM table_name_2 WHERE against = 2177 AND byes < 4
CREATE TABLE table_name_2 (draws INTEGER, against VARCHAR, byes VARCHAR)
What is the average value for Draws, when Against is "2177", and when Byes is less than 4?
SELECT COUNT(losses) FROM table_name_22 WHERE wins = 16 AND against < 772
CREATE TABLE table_name_22 (losses VARCHAR, wins VARCHAR, against VARCHAR)
What is the total number of Losses, when Wins is "16", and when Against is less than 772?
SELECT MIN(draws) FROM table_name_12 WHERE losses = 0 AND byes > 4
CREATE TABLE table_name_12 (draws INTEGER, losses VARCHAR, byes VARCHAR)
What is the lowest value for Draws, when Losses is "0", and when Byes is greater than 4?
SELECT MAX(byes) FROM table_name_64 WHERE wins < 16 AND benalla_dfl = "swanpool" AND against < 2177
CREATE TABLE table_name_64 (byes INTEGER, against VARCHAR, wins VARCHAR, benalla_dfl VARCHAR)
What is the highest value for Byes, when Wins is less than 16, when Benalla DFL is "Swanpool", and when Against is less than 2177?
SELECT MAX(byes) FROM table_name_61 WHERE against < 1794 AND losses = 6 AND draws < 0
CREATE TABLE table_name_61 (byes INTEGER, draws VARCHAR, against VARCHAR, losses VARCHAR)
What is the highest value for Byes, when Against is less than 1794, when Losses is "6", and when Draws is less than 0?
SELECT teams FROM table_name_89 WHERE season = "1950-51"
CREATE TABLE table_name_89 (teams VARCHAR, season VARCHAR)
what is the teams for season 1950-51?
SELECT league FROM table_name_93 WHERE season = "1955-56"
CREATE TABLE table_name_93 (league VARCHAR, season VARCHAR)
What is the league for season 1955-56?
SELECT MAX(year_drafted) FROM table_name_9 WHERE fcsl_team = "winter park" AND round = "4th"
CREATE TABLE table_name_9 (year_drafted INTEGER, fcsl_team VARCHAR, round VARCHAR)
What is the drafted year when the FCSL Team was Winter Park, in the 4th round?
SELECT fcsl_team FROM table_name_22 WHERE mlb_team = "toronto blue jays" AND round = "4th"
CREATE TABLE table_name_22 (fcsl_team VARCHAR, mlb_team VARCHAR, round VARCHAR)
What is the FCSL Team when the MLB Team is Toronto Blue Jays, in the 4th round?
SELECT score FROM table_name_96 WHERE player = "john fought"
CREATE TABLE table_name_96 (score VARCHAR, player VARCHAR)
What was John Fought's score?
SELECT to_par FROM table_name_5 WHERE place = "t8" AND country = "argentina"
CREATE TABLE table_name_5 (to_par VARCHAR, place VARCHAR, country VARCHAR)
What is the to par of the player from Argentina with a t8 place?
SELECT money___£__ FROM table_name_62 WHERE score = 68 - 67 - 69 - 71 = 275
CREATE TABLE table_name_62 (money___£__ VARCHAR, score VARCHAR)
How much money does the player with a 68-67-69-71=275 score have?
SELECT country FROM table_name_9 WHERE place = "t1" AND player = "wayne grady"
CREATE TABLE table_name_9 (country VARCHAR, place VARCHAR, player VARCHAR)
What is the country of t1 place player wayne grady?
SELECT money___£__ FROM table_name_78 WHERE score = 68 - 71 - 68 - 72 = 279
CREATE TABLE table_name_78 (money___£__ VARCHAR, score VARCHAR)
How much money does the player with a 68-71-68-72=279 score have?
SELECT money___£__ FROM table_name_20 WHERE score = 69 - 70 - 72 - 64 = 275
CREATE TABLE table_name_20 (money___£__ VARCHAR, score VARCHAR)
How much money does the player with a 69-70-72-64=275 score have?
SELECT money___$__ FROM table_name_21 WHERE place = "t8" AND score = 74 - 72 - 75 - 71 = 292
CREATE TABLE table_name_21 (money___$__ VARCHAR, place VARCHAR, score VARCHAR)
What was the money when the place was t8 and the score was 74-72-75-71=292?
SELECT AVG(money___) AS $__ FROM table_name_82 WHERE score = 74 - 72 - 75 - 71 = 292
CREATE TABLE table_name_82 (money___ INTEGER, score VARCHAR)
What was the average money when the score was 74-72-75-71=292?
SELECT place FROM table_name_94 WHERE player = "tim simpson"
CREATE TABLE table_name_94 (place VARCHAR, player VARCHAR)
What was Tim Simpson's place?
SELECT country FROM table_name_16 WHERE place = "3"
CREATE TABLE table_name_16 (country VARCHAR, place VARCHAR)
What country placed 3?
SELECT AVG(barrow_island_australia) FROM table_name_94 WHERE draugen_north_sea = 17 AND mutineer_exeter_australia < 6
CREATE TABLE table_name_94 (barrow_island_australia INTEGER, draugen_north_sea VARCHAR, mutineer_exeter_australia VARCHAR)
What is the average Barrow Island Australia when Draugen north sea is 17 and Mutineer-Exeter Australia is smaller than 6?
SELECT MAX(cpc_blend_kazakhstan) FROM table_name_48 WHERE barrow_island_australia < 12
CREATE TABLE table_name_48 (cpc_blend_kazakhstan INTEGER, barrow_island_australia INTEGER)
What is the highest CPC blend Kazakhstan number when Barrow Island Australia is smaller than 12?
SELECT MIN(cpc_blend_kazakhstan) FROM table_name_38 WHERE draugen_north_sea = 17
CREATE TABLE table_name_38 (cpc_blend_kazakhstan INTEGER, draugen_north_sea VARCHAR)
What is the lowest CPC Blend Kazakhstan number when Draugen North Sea is 17?
SELECT name FROM table_name_7 WHERE winning_driver = "eugenio silvani"
CREATE TABLE table_name_7 (name VARCHAR, winning_driver VARCHAR)
What race did eugenio silvani win?
SELECT name FROM table_name_19 WHERE winning_constructor = "mercedes"
CREATE TABLE table_name_19 (name VARCHAR, winning_constructor VARCHAR)
Which race did Mercedes win?
SELECT circuit FROM table_name_41 WHERE winning_constructor = "alfa romeo"
CREATE TABLE table_name_41 (circuit VARCHAR, winning_constructor VARCHAR)
Which circuit did alfa romeo win?
SELECT number_range FROM table_name_60 WHERE quantity = "56"
CREATE TABLE table_name_60 (number_range VARCHAR, quantity VARCHAR)
What is the number range for the 56 quantity?
SELECT team FROM table_name_39 WHERE year < 1987 AND manufacturer = "chrysler" AND start = "28"
CREATE TABLE table_name_39 (team VARCHAR, start VARCHAR, year VARCHAR, manufacturer VARCHAR)
Which team in 1987 had a start of 28 and drove a chrysler?