answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT MIN(snatch) FROM table_name_45 WHERE total__kg_ < 318 AND clean_ & _jerk > 175 | CREATE TABLE table_name_45 (snatch INTEGER, total__kg_ VARCHAR, clean_ VARCHAR, _jerk VARCHAR) | WHAT IS THE SNATCH WITH TOTAL KG SMALLER THAN 318, AND CLEAN JERK LARGER THAN 175? |
SELECT date FROM table_name_44 WHERE killed = "2" AND location = "jaffa" | CREATE TABLE table_name_44 (date VARCHAR, killed VARCHAR, location VARCHAR) | What date has 2 for killed, and jaffa as the location? |
SELECT injured FROM table_name_9 WHERE location = "skierlik" | CREATE TABLE table_name_9 (injured VARCHAR, location VARCHAR) | What is the injured that has skierlik as the location? |
SELECT 2 AS nd_leg FROM table_name_46 WHERE team_1 = "union berlin" | CREATE TABLE table_name_46 (team_1 VARCHAR) | What is the 2nd leg that Team 1 is Union Berlin? |
SELECT apps FROM table_name_81 WHERE ratio = 0.52 AND goals = 150 | CREATE TABLE table_name_81 (apps VARCHAR, ratio VARCHAR, goals VARCHAR) | What is the Apps for the player with 150 Goals and a Ratio of 0.52? |
SELECT team FROM table_name_42 WHERE circuit = "symmons plains raceway" | CREATE TABLE table_name_42 (team VARCHAR, circuit VARCHAR) | Which team won at the symmons plains raceway? |
SELECT team FROM table_name_5 WHERE circuit = "winton motor raceway" | CREATE TABLE table_name_5 (team VARCHAR, circuit VARCHAR) | Which team won at winton motor raceway? |
SELECT circuit FROM table_name_71 WHERE series = "atcc round 7" | CREATE TABLE table_name_71 (circuit VARCHAR, series VARCHAR) | Which circuit was the atcc round 7 at? |
SELECT circuit FROM table_name_68 WHERE team = "winfield team nissan" AND series = "tooheys 1000" | CREATE TABLE table_name_68 (circuit VARCHAR, team VARCHAR, series VARCHAR) | Which circuit did winfield team nissan win for the tooheys 1000? |
SELECT date FROM table_name_44 WHERE series = "tooheys 1000" | CREATE TABLE table_name_44 (date VARCHAR, series VARCHAR) | What is the date for the tooheys 1000? |
SELECT series FROM table_name_49 WHERE city___state = "sydney, new south wales" | CREATE TABLE table_name_49 (series VARCHAR, city___state VARCHAR) | what series was in sydney, new south wales? |
SELECT COUNT(rank) FROM table_name_86 WHERE ø_pts > 1.26 AND games = 1458 | CREATE TABLE table_name_86 (rank VARCHAR, ø_pts VARCHAR, games VARCHAR) | What was the rank for 1.26 Ø-Pts in game 1458? |
SELECT outcome FROM table_name_61 WHERE partner = "marcella mesker" AND score = "6–4, 4–6, 4–6" | CREATE TABLE table_name_61 (outcome VARCHAR, partner VARCHAR, score VARCHAR) | What is the Outcome of the match with Partner Marcella Mesker and a Score of 6–4, 4–6, 4–6? |
SELECT surface FROM table_name_30 WHERE score = "2–6, 6–4, 7–6" | CREATE TABLE table_name_30 (surface VARCHAR, score VARCHAR) | What is the Surface of the match with a Score of 2–6, 6–4, 7–6? |
SELECT surface FROM table_name_77 WHERE date = "october 5, 1987" | CREATE TABLE table_name_77 (surface VARCHAR, date VARCHAR) | What is the Surface of the match played on October 5, 1987? |
SELECT date FROM table_name_57 WHERE partner = "marcella mesker" AND score = "0–6, 2–6" | CREATE TABLE table_name_57 (date VARCHAR, partner VARCHAR, score VARCHAR) | What is the Date of the match with a Score of 0–6, 2–6 with Partner Marcella Mesker? |
SELECT opponents FROM table_name_73 WHERE date = "may 3, 1982" | CREATE TABLE table_name_73 (opponents VARCHAR, date VARCHAR) | Who is the Opponents on May 3, 1982? |
SELECT score FROM table_name_94 WHERE outcome = "runner-up" AND date = "may 21, 1984" | CREATE TABLE table_name_94 (score VARCHAR, outcome VARCHAR, date VARCHAR) | What is the Score of the match on May 21, 1984 with Outcome of runner-up? |
SELECT date FROM table_name_70 WHERE event = "200m individual medley" | CREATE TABLE table_name_70 (date VARCHAR, event VARCHAR) | What is the date of the 200m individual medley? |
SELECT team_1 FROM table_name_20 WHERE team_2 = "olympique lyonnais (d2)" | CREATE TABLE table_name_20 (team_1 VARCHAR, team_2 VARCHAR) | Which team was team 1 in the match where team 2 was olympique lyonnais (d2)? |
SELECT score FROM table_name_63 WHERE team_1 = "paris sg (d1)" | CREATE TABLE table_name_63 (score VARCHAR, team_1 VARCHAR) | What was the score of the match where paris sg (d1) was team 1? |
SELECT week FROM table_name_77 WHERE result = "w 23–22" | CREATE TABLE table_name_77 (week VARCHAR, result VARCHAR) | Which Week has a Result of w 23–22? |
SELECT date FROM table_name_32 WHERE result = "bye" | CREATE TABLE table_name_32 (date VARCHAR, result VARCHAR) | When was there a bye result? |
SELECT date FROM table_name_40 WHERE attendance = "65,806" | CREATE TABLE table_name_40 (date VARCHAR, attendance VARCHAR) | When was the attendance 65,806? |
SELECT opponent FROM table_name_43 WHERE week > 16 | CREATE TABLE table_name_43 (opponent VARCHAR, week INTEGER) | Who was the opponent after week 16? |
SELECT commissioned FROM table_name_78 WHERE laid_down = "6 september 2003" | CREATE TABLE table_name_78 (commissioned VARCHAR, laid_down VARCHAR) | What is Commissioned, when Laid Down is "6 September 2003"? |
SELECT launched FROM table_name_63 WHERE laid_down = "31 october 1981" | CREATE TABLE table_name_63 (launched VARCHAR, laid_down VARCHAR) | What is Launched, when Laid Down is "31 October 1981"? |
SELECT ship FROM table_name_54 WHERE commissioned = "13 march 1982" | CREATE TABLE table_name_54 (ship VARCHAR, commissioned VARCHAR) | What is Ship, when Commissioned is "13 March 1982"? |
SELECT launched FROM table_name_50 WHERE commissioned = "25 july 1998" | CREATE TABLE table_name_50 (launched VARCHAR, commissioned VARCHAR) | What is Launched, when Commissioned is "25 July 1998"? |
SELECT laid_down FROM table_name_85 WHERE hull_number = "cvn-69" | CREATE TABLE table_name_85 (laid_down VARCHAR, hull_number VARCHAR) | What is Laid Down, when Hull Number is "CVN-69"? |
SELECT laid_down FROM table_name_90 WHERE commissioned = "11 november 1989" | CREATE TABLE table_name_90 (laid_down VARCHAR, commissioned VARCHAR) | What is Laid Down, when Commissioned is "11 November 1989"? |
SELECT position FROM table_name_67 WHERE entrant = "j ampt" | CREATE TABLE table_name_67 (position VARCHAR, entrant VARCHAR) | Can you tell me the Position that has the Entrant of j ampt? |
SELECT entrant FROM table_name_77 WHERE laps = 17 | CREATE TABLE table_name_77 (entrant VARCHAR, laps VARCHAR) | Can you tell me the Entrant that has the Laps of 17? |
SELECT position FROM table_name_41 WHERE driver = "bib stillwell" | CREATE TABLE table_name_41 (position VARCHAR, driver VARCHAR) | Can you tell me the Position that has the Driver of bib stillwell? |
SELECT result FROM table_name_70 WHERE attendance = "41,429" | CREATE TABLE table_name_70 (result VARCHAR, attendance VARCHAR) | What are the results for a game with an attendance of 41,429? |
SELECT opponent_number FROM table_name_1 WHERE attendance = "48,165" | CREATE TABLE table_name_1 (opponent_number VARCHAR, attendance VARCHAR) | Who were the opponents when there was an attendance of 48,165? |
SELECT result FROM table_name_41 WHERE attendance = "82,113" | CREATE TABLE table_name_41 (result VARCHAR, attendance VARCHAR) | What are the results for the game with 82,113 attending? |
SELECT week_4 FROM table_name_12 WHERE week_3 = "mikaela james" | CREATE TABLE table_name_12 (week_4 VARCHAR, week_3 VARCHAR) | Who was the girl on week 4 after week 3's Mikaela James? |
SELECT week_1 FROM table_name_23 WHERE week_3 = "ava hart" | CREATE TABLE table_name_23 (week_1 VARCHAR, week_3 VARCHAR) | Who was the girl on week 1 that was previous to week 3's Ava Hart? |
SELECT week_2 FROM table_name_73 WHERE week_4 = "chelsie loraine" | CREATE TABLE table_name_73 (week_2 VARCHAR, week_4 VARCHAR) | Who was the girl on week 2 that was previous to week 4's Chelsie Loraine? |
SELECT week_5 FROM table_name_72 WHERE week_3 = "mikaela james" | CREATE TABLE table_name_72 (week_5 VARCHAR, week_3 VARCHAR) | Who was the girl on week 5 that came after week 3's Mikaela James? |
SELECT week_1 FROM table_name_12 WHERE week_2 = "kamila sulewska" | CREATE TABLE table_name_12 (week_1 VARCHAR, week_2 VARCHAR) | Who was the girl on week 1 that preceded week 2's Kamila Sulewska? |
SELECT week_5 FROM table_name_21 WHERE week_3 = "shelly louise" | CREATE TABLE table_name_21 (week_5 VARCHAR, week_3 VARCHAR) | Who was the girl on week 5 that came after week 3's Shelly Louise? |
SELECT 1987 AS _88 FROM table_name_24 WHERE points = 136 | CREATE TABLE table_name_24 (points VARCHAR) | What is 1987-88, when Points is "136"? |
SELECT MAX(draw) FROM table_name_13 WHERE points = "22" AND goals_conceded < 26 | CREATE TABLE table_name_13 (draw INTEGER, points VARCHAR, goals_conceded VARCHAR) | Name the the highest Draw which has Points of 22 and Goals Conceded smaller than 26? |
SELECT MAX(played) FROM table_name_23 WHERE goals_scored < 18 AND lost > 10 | CREATE TABLE table_name_23 (played INTEGER, goals_scored VARCHAR, lost VARCHAR) | Name the highest Played of Goals Scored smaller than 18 and a Lost larger than 10? |
SELECT AVG(played) FROM table_name_72 WHERE points = "0*" | CREATE TABLE table_name_72 (played INTEGER, points VARCHAR) | Name the average Played with a Points of 0*? |
SELECT SUM(draw) FROM table_name_59 WHERE lost = 0 AND goals_scored > 0 | CREATE TABLE table_name_59 (draw INTEGER, lost VARCHAR, goals_scored VARCHAR) | Count the Draw which has Lost of 0, and a Goals Scored larger than 0? |
SELECT AVG(goals_conceded) FROM table_name_48 WHERE draw = 0 AND played > 0 | CREATE TABLE table_name_48 (goals_conceded INTEGER, draw VARCHAR, played VARCHAR) | Name the Goals Conceded which has a Draw of 0 and a Played larger than 0? |
SELECT rank FROM table_name_74 WHERE total < 13 AND nation = "mixed team" | CREATE TABLE table_name_74 (rank VARCHAR, total VARCHAR, nation VARCHAR) | What is the rank for the Mixed Team nation with a total of less than 13? |
SELECT COUNT(bronze) FROM table_name_98 WHERE silver < 0 | CREATE TABLE table_name_98 (bronze VARCHAR, silver INTEGER) | What is the total number of bronze medals for teams with less than 0 silver? |
SELECT AVG(bronze) FROM table_name_87 WHERE silver > 1 AND total < 9 | CREATE TABLE table_name_87 (bronze INTEGER, silver VARCHAR, total VARCHAR) | What is the average number of bronze medals when the team's silver are more than 1 but the total medals are less than 9? |
SELECT military_and_or_civilian_wounded FROM table_name_39 WHERE civilian_deaths = "unknown" AND total_deaths__not_including_foreigners_ = "unknown" | CREATE TABLE table_name_39 (military_and_or_civilian_wounded VARCHAR, civilian_deaths VARCHAR, total_deaths__not_including_foreigners_ VARCHAR) | How many military or civilians were wounded in the conflict that had an unknown number of civilian and total deaths? |
SELECT civilian_deaths FROM table_name_21 WHERE military_deaths = "231" | CREATE TABLE table_name_21 (civilian_deaths VARCHAR, military_deaths VARCHAR) | How many civilians died in the conflict that left 231 members of the military dead? |
SELECT civilian_deaths FROM table_name_19 WHERE total_deaths__not_including_foreigners_ = "178" | CREATE TABLE table_name_19 (civilian_deaths VARCHAR, total_deaths__not_including_foreigners_ VARCHAR) | How many civilians died in the conflict that left 178, excluding foreigners, dead? |
SELECT military_deaths FROM table_name_38 WHERE total_casualties = "531" | CREATE TABLE table_name_38 (military_deaths VARCHAR, total_casualties VARCHAR) | How many members of the military died in the conflict that had a total of 531 casualties? |
SELECT civilian_deaths FROM table_name_95 WHERE total_casualties = "1,130" | CREATE TABLE table_name_95 (civilian_deaths VARCHAR, total_casualties VARCHAR) | How many civilians died in the conflict that had a total of 1,130 casualties? |
SELECT opponent FROM table_name_7 WHERE week = 15 | CREATE TABLE table_name_7 (opponent VARCHAR, week VARCHAR) | Which team was the opponent on week 15? |
SELECT AVG(total) FROM table_name_44 WHERE finish = "t47" | CREATE TABLE table_name_44 (total INTEGER, finish VARCHAR) | What is the average Total, when Finish is "T47"? |
SELECT to_par FROM table_name_37 WHERE total < 297 AND finish = "1" | CREATE TABLE table_name_37 (to_par VARCHAR, total VARCHAR, finish VARCHAR) | What is To par, when Total is less than 297, and when Finish is "1"? |
SELECT official_itv1_rating FROM table_name_96 WHERE episode = "auditions 4" | CREATE TABLE table_name_96 (official_itv1_rating VARCHAR, episode VARCHAR) | What is the Official ITV1 rating for auditions 4? |
SELECT MIN(official_itv1_rating) FROM table_name_32 WHERE share = "45.4%" | CREATE TABLE table_name_32 (official_itv1_rating INTEGER, share VARCHAR) | What is the lowest official ITV1 rating with 45.4% share? |
SELECT COUNT(goals_against) FROM table_name_48 WHERE wins > 12 AND club = "ud las palmas" AND position > 5 | CREATE TABLE table_name_48 (goals_against VARCHAR, position VARCHAR, wins VARCHAR, club VARCHAR) | How many Goals against have Wins larger than 12, and a Club of ud las palmas, and a Position larger than 5? |
SELECT MAX(goals_against) FROM table_name_65 WHERE points < 26 AND goals_for < 38 AND position > 14 AND goal_difference < -32 | CREATE TABLE table_name_65 (goals_against INTEGER, goal_difference VARCHAR, position VARCHAR, points VARCHAR, goals_for VARCHAR) | Which Goals against has Points smaller than 26, and Goals for smaller than 38, and a Position larger than 14, and a Goal Difference smaller than -32? |
SELECT AVG(goals_against) FROM table_name_15 WHERE club = "cd castellón" AND points < 24 | CREATE TABLE table_name_15 (goals_against INTEGER, club VARCHAR, points VARCHAR) | Which Goals against have a Club of cd castellón, and Points smaller than 24? |
SELECT SUM(played) FROM table_name_51 WHERE goals_against < 34 AND wins < 13 | CREATE TABLE table_name_51 (played INTEGER, goals_against VARCHAR, wins VARCHAR) | How much Played has Goals against smaller than 34, and Wins smaller than 13? |
SELECT AVG(played) FROM table_name_94 WHERE position < 4 AND wins > 16 AND points = 38 AND goals_against > 35 | CREATE TABLE table_name_94 (played INTEGER, goals_against VARCHAR, points VARCHAR, position VARCHAR, wins VARCHAR) | Which Played has a Position smaller than 4, and Wins larger than 16, and Points of 38, and Goals against larger than 35? |
SELECT to_par FROM table_name_99 WHERE country = "france" | CREATE TABLE table_name_99 (to_par VARCHAR, country VARCHAR) | What is the To Par score for the player from France? |
SELECT player FROM table_name_41 WHERE score = 70 - 69 - 69 = 208 | CREATE TABLE table_name_41 (player VARCHAR, score VARCHAR) | What is the name of the player with an overall score of 70-69-69=208? |
SELECT to_par FROM table_name_38 WHERE score = 71 - 68 - 69 = 208 | CREATE TABLE table_name_38 (to_par VARCHAR, score VARCHAR) | What is the To Par score for the player with an overall score of 71-68-69=208? |
SELECT location FROM table_name_68 WHERE champion = "anke huber" | CREATE TABLE table_name_68 (location VARCHAR, champion VARCHAR) | What location did Anke Huber win the championship? |
SELECT runner_up FROM table_name_26 WHERE year = 1999 | CREATE TABLE table_name_26 (runner_up VARCHAR, year VARCHAR) | Who won the runner-up in 1999? |
SELECT score FROM table_name_67 WHERE champion = "flavia pennetta" | CREATE TABLE table_name_67 (score VARCHAR, champion VARCHAR) | What was the score when Flavia Pennetta won the championship? |
SELECT COUNT(matches) FROM table_name_96 WHERE s_rate < 133.72 AND team = "yorkshire carnegie" | CREATE TABLE table_name_96 (matches VARCHAR, s_rate VARCHAR, team VARCHAR) | How many Matches have an S/Rate smaller than 133.72, and a Team of yorkshire carnegie? |
SELECT team FROM table_name_27 WHERE balls < 258 AND inns = 10 AND matches < 12 | CREATE TABLE table_name_27 (team VARCHAR, matches VARCHAR, balls VARCHAR, inns VARCHAR) | Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 12? |
SELECT SUM(matches) FROM table_name_87 WHERE balls < 224 AND average > 38.25 AND s_rate > 139.09 | CREATE TABLE table_name_87 (matches INTEGER, s_rate VARCHAR, balls VARCHAR, average VARCHAR) | How many Matches have Balls smaller than 224, and an Average larger than 38.25, and an S/Rate larger than 139.09? |
SELECT fastest_lap FROM table_name_56 WHERE grand_prix = "dutch tt" | CREATE TABLE table_name_56 (fastest_lap VARCHAR, grand_prix VARCHAR) | What was the fastest lap for Grand Prix dutch tt? |
SELECT race_winner FROM table_name_47 WHERE circuit = "sachsenring" | CREATE TABLE table_name_47 (race_winner VARCHAR, circuit VARCHAR) | Who won the race circuit of sachsenring? |
SELECT race_winner FROM table_name_97 WHERE fastest_lap = "daijiro hiura" AND date = "march 29" | CREATE TABLE table_name_97 (race_winner VARCHAR, fastest_lap VARCHAR, date VARCHAR) | Who won with the fastest lap of daijiro hiura on March 29? |
SELECT year FROM table_name_35 WHERE total = "2" AND la_matches = "0" | CREATE TABLE table_name_35 (year VARCHAR, total VARCHAR, la_matches VARCHAR) | What year had a total of 2 and LA matches of 0? |
SELECT year FROM table_name_9 WHERE total = "9" | CREATE TABLE table_name_9 (year VARCHAR, total VARCHAR) | What year was the total 9? |
SELECT week_4 FROM table_name_8 WHERE week_5 = "[month ended]" AND week_2 = "april ireland" | CREATE TABLE table_name_8 (week_4 VARCHAR, week_5 VARCHAR, week_2 VARCHAR) | Who is in week 4 if week 5 is [month ended] and week 2 is April Ireland? |
SELECT week_3 FROM table_name_64 WHERE week_2 = "nikki fiction" | CREATE TABLE table_name_64 (week_3 VARCHAR, week_2 VARCHAR) | Who is week 3 if week 2 is Nikki Fiction? |
SELECT week_1 FROM table_name_3 WHERE week_3 = "natasha budhi" | CREATE TABLE table_name_3 (week_1 VARCHAR, week_3 VARCHAR) | Who is week 1 if week 3 is Natasha Budhi? |
SELECT week_5 FROM table_name_68 WHERE week_2 = "jenna jordan" | CREATE TABLE table_name_68 (week_5 VARCHAR, week_2 VARCHAR) | Who is week 5 if week 2 is Jenna Jordan? |
SELECT week_2 FROM table_name_65 WHERE week_3 = "sara stokes" | CREATE TABLE table_name_65 (week_2 VARCHAR, week_3 VARCHAR) | Who is week 2 if week 3 is Sara Stokes? |
SELECT week_3 FROM table_name_47 WHERE week_1 = "amanda batt" | CREATE TABLE table_name_47 (week_3 VARCHAR, week_1 VARCHAR) | Who is week 3 if week 1 is Amanda Batt? |
SELECT AVG(bronze) FROM table_name_29 WHERE total < 1 | CREATE TABLE table_name_29 (bronze INTEGER, total INTEGER) | What average bronze has a total less than 1? |
SELECT AVG(gold) FROM table_name_63 WHERE nation = "china (chn)" AND bronze > 1 | CREATE TABLE table_name_63 (gold INTEGER, nation VARCHAR, bronze VARCHAR) | What average gold has China (chn) as the nation with a bronze greater than 1? |
SELECT MAX(gold) FROM table_name_96 WHERE bronze > 4 | CREATE TABLE table_name_96 (gold INTEGER, bronze INTEGER) | Which is the highest gold that has a bronze greater than 4? |
SELECT date FROM table_name_84 WHERE against < 32 AND opposing_teams = "australia" | CREATE TABLE table_name_84 (date VARCHAR, against VARCHAR, opposing_teams VARCHAR) | What date has fewer than 32 against and the opposing team of Australia? |
SELECT AVG(against) FROM table_name_64 WHERE status = "test match" | CREATE TABLE table_name_64 (against INTEGER, status VARCHAR) | What is the average against for a test match? |
SELECT venue FROM table_name_90 WHERE against > 9 AND status = "second test" | CREATE TABLE table_name_90 (venue VARCHAR, against VARCHAR, status VARCHAR) | Which venue has more than 9 against and a status of second test? |
SELECT status FROM table_name_52 WHERE against = 35 | CREATE TABLE table_name_52 (status VARCHAR, against VARCHAR) | Which status has an against of 35? |
SELECT music FROM table_name_64 WHERE dance = "modern" | CREATE TABLE table_name_64 (music VARCHAR, dance VARCHAR) | What was the music for the modern dance? |
SELECT place FROM table_name_29 WHERE dance = "tango" AND points_jury = "24 (7,5,6,6)" | CREATE TABLE table_name_29 (place VARCHAR, dance VARCHAR, points_jury VARCHAR) | What was the place for the tango dance when the points was jury of 24 (7,5,6,6)? |
SELECT AVG(qualifying_goals) FROM table_name_3 WHERE player = "jack froggatt" AND finals_goals > 0 | CREATE TABLE table_name_3 (qualifying_goals INTEGER, player VARCHAR, finals_goals VARCHAR) | What is the Average Qualifying Goals for Jack Froggatt where the Final Goals is greater than 0? |
SELECT player FROM table_name_90 WHERE total_goals > 1 AND qualifying_goals < 3 | CREATE TABLE table_name_90 (player VARCHAR, total_goals VARCHAR, qualifying_goals VARCHAR) | Which Player has a Total Goals greater than 1 and Qualifying Goals smaller than 3? |
SELECT COUNT(total_goals) FROM table_name_1 WHERE player = "stan mortensen" AND qualifying_goals > 3 | CREATE TABLE table_name_1 (total_goals VARCHAR, player VARCHAR, qualifying_goals VARCHAR) | What is the total number of Total Goals scored by Stan Mortensen where the Qualifying Goals is greater than 3? |
SELECT AVG(finals_goals) FROM table_name_40 WHERE total_goals < 1 | CREATE TABLE table_name_40 (finals_goals INTEGER, total_goals INTEGER) | What is the Average Finals Goals if the Total Goals is less than 1? |
Subsets and Splits