question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the total for jamie carragher
CREATE TABLE table_19764939_1 (total VARCHAR, player VARCHAR)
SELECT total FROM table_19764939_1 WHERE player = "Jamie Carragher"
What was the result of 10/18/1947?
CREATE TABLE table_name_84 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_84 WHERE date = "10/18/1947"
Name the college for nate binder
CREATE TABLE table_25017530_5 (college VARCHAR, player VARCHAR)
SELECT college FROM table_25017530_5 WHERE player = "Nate Binder"
What is Year(s) Won, when To Par is greater than 13?
CREATE TABLE table_name_24 (year_s__won VARCHAR, to_par INTEGER)
SELECT year_s__won FROM table_name_24 WHERE to_par > 13
Name the total number of points for 46 tries for
CREATE TABLE table_27293285_4 (points VARCHAR, tries_for VARCHAR)
SELECT COUNT(points) FROM table_27293285_4 WHERE tries_for = "46"
Were there Bulletins to all contacts of the license created by GG Network?
CREATE TABLE table_name_69 (bulletins_to_all_contacts VARCHAR, creator VARCHAR)
SELECT bulletins_to_all_contacts FROM table_name_69 WHERE creator = "gg network"
What is the average goals scored when less than 34 were played and there were more than 2 draws?
CREATE TABLE table_name_78 (goals_scored INTEGER, played VARCHAR, draw VARCHAR)
SELECT AVG(goals_scored) FROM table_name_78 WHERE played < 34 AND draw > 2
Who was the original artist of the chosen song when the theme was The Rolling Stones?
CREATE TABLE table_26250189_1 (original_artist VARCHAR, theme VARCHAR)
SELECT original_artist FROM table_26250189_1 WHERE theme = "The Rolling Stones"
What record has January 27 for the date?
CREATE TABLE table_name_49 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_49 WHERE date = "january 27"
What record medal event has athletics as the sport, with robert garrett as the athlete, and a medal count less than 3?
CREATE TABLE table_name_33 (record_medal_event VARCHAR, medal_count VARCHAR, sport VARCHAR, athlete VARCHAR)
SELECT record_medal_event FROM table_name_33 WHERE sport = "athletics" AND athlete = "robert garrett" AND medal_count < 3
Name the series number that aired on november 11, 1996
CREATE TABLE table_18646432_1 (series__number VARCHAR, original_air_date VARCHAR)
SELECT series__number FROM table_18646432_1 WHERE original_air_date = "November 11, 1996"
Which player from the 2004 CFL draft attended Wilfrid Laurier?
CREATE TABLE table_10975034_2 (player VARCHAR, college VARCHAR)
SELECT player FROM table_10975034_2 WHERE college = "Wilfrid Laurier"
What champion has north melbourne as the runner-up?
CREATE TABLE table_name_92 (champion VARCHAR, runner_up VARCHAR)
SELECT champion FROM table_name_92 WHERE runner_up = "north melbourne"
Which team had a game of 82?
CREATE TABLE table_name_60 (team VARCHAR, game VARCHAR)
SELECT team FROM table_name_60 WHERE game = 82
What is the highest draws that have 31 for points, wins greater than 12, with a goal difference less than 11?
CREATE TABLE table_name_8 (draws INTEGER, goal_difference VARCHAR, points VARCHAR, wins VARCHAR)
SELECT MAX(draws) FROM table_name_8 WHERE points = 31 AND wins > 12 AND goal_difference < 11
What is the gayndah when perry is 304?
CREATE TABLE table_12526990_1 (gayndah INTEGER, perry VARCHAR)
SELECT MAX(gayndah) FROM table_12526990_1 WHERE perry = 304
What event did Pakistan get the bronze medal at the 1988 Seoul Games?
CREATE TABLE table_name_82 (event VARCHAR, medal VARCHAR, games VARCHAR)
SELECT event FROM table_name_82 WHERE medal = "bronze" AND games = "1988 seoul"
what is the latest year where glos & wilts is warminster?
CREATE TABLE table_12043148_2 (year INTEGER, glos_ VARCHAR, _wilts VARCHAR)
SELECT MAX(year) FROM table_12043148_2 WHERE glos_ & _wilts = "Warminster"
Name the average Bronze when silver is more than 3, gold is more than 1 and the total is 14
CREATE TABLE table_name_52 (bronze INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR)
SELECT AVG(bronze) FROM table_name_52 WHERE gold > 1 AND total = 14 AND silver > 3
Which freq currently has 0 657?
CREATE TABLE table_name_86 (freq_currently VARCHAR, frequency VARCHAR)
SELECT freq_currently FROM table_name_86 WHERE frequency = "0 657"
On what dates was the final score of the game L 14–24?
CREATE TABLE table_25380472_2 (date VARCHAR, final_score VARCHAR)
SELECT date FROM table_25380472_2 WHERE final_score = "L 14–24"
In season number 3, who were the writers?
CREATE TABLE table_21313327_1 (written_by VARCHAR, no_in_season VARCHAR)
SELECT written_by FROM table_21313327_1 WHERE no_in_season = 3
What year was Bulworth nominated?
CREATE TABLE table_name_92 (year VARCHAR, project VARCHAR)
SELECT year FROM table_name_92 WHERE project = "bulworth"
What is the Result when the memphis grizzlies ( 2) were the loser?
CREATE TABLE table_name_10 (result VARCHAR, loser VARCHAR)
SELECT result FROM table_name_10 WHERE loser = "memphis grizzlies ( 2)"
What club has a home score of 0-2 in Round 1?
CREATE TABLE table_name_53 (club VARCHAR, round VARCHAR, home VARCHAR)
SELECT club FROM table_name_53 WHERE round = 1 AND home = "0-2"
Find the names of channels that are not owned by CCTV.
CREATE TABLE channel (name VARCHAR, OWNER VARCHAR)
SELECT name FROM channel WHERE OWNER <> 'CCTV'
What is average age for different job title?
CREATE TABLE Person (job VARCHAR, age INTEGER)
SELECT AVG(age), job FROM Person GROUP BY job
How many points did car 20 score?
CREATE TABLE table_name_65 (points VARCHAR, car_no VARCHAR)
SELECT points FROM table_name_65 WHERE car_no = "20"
What venue were the 1986 Asian games resulting in 2-0 played at?
CREATE TABLE table_name_44 (venue VARCHAR, competition VARCHAR, result VARCHAR)
SELECT venue FROM table_name_44 WHERE competition = "1986 asian games" AND result = "2-0"
Which Position has a Years in Orlando of 1997–1998?
CREATE TABLE table_name_68 (position VARCHAR, years_in_orlando VARCHAR)
SELECT position FROM table_name_68 WHERE years_in_orlando = "1997–1998"
who is the vacator whre the district is new jersey 2nd?
CREATE TABLE table_1651764_3 (vacator VARCHAR, district VARCHAR)
SELECT vacator FROM table_1651764_3 WHERE district = "New Jersey 2nd"
How many years did Real Colorado Foxes make it to the Open Cup 1st Round?
CREATE TABLE table_name_9 (year VARCHAR, open_cup VARCHAR)
SELECT COUNT(year) FROM table_name_9 WHERE open_cup = "1st round"
For the 5th round match with away team of Bahia, what was the final score?
CREATE TABLE table_name_65 (score VARCHAR, round VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_65 WHERE round = "5th" AND away_team = "bahia"
What is the status if the poverty rate is 11.4%?
CREATE TABLE table_22815568_6 (status VARCHAR, poverty_rate VARCHAR)
SELECT status FROM table_22815568_6 WHERE poverty_rate = "11.4%"
when points for is 39 what is the total number of drawn
CREATE TABLE table_20396710_1 (drawn VARCHAR, points_for VARCHAR)
SELECT drawn FROM table_20396710_1 WHERE points_for = "39"
Name the player with score of 74-68-71=213
CREATE TABLE table_name_4 (player VARCHAR, score VARCHAR)
SELECT player FROM table_name_4 WHERE score = 74 - 68 - 71 = 213
What was the player for t9 and a score of 73-69-74=216?
CREATE TABLE table_name_97 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_97 WHERE place = "t9" AND score = 73 - 69 - 74 = 216
Which Bronze has a Nation of canada, and a Rank smaller than 6?
CREATE TABLE table_name_5 (bronze INTEGER, nation VARCHAR, rank VARCHAR)
SELECT AVG(bronze) FROM table_name_5 WHERE nation = "canada" AND rank < 6
What was the result of April 27's game?
CREATE TABLE table_name_21 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_21 WHERE date = "april 27"
Find the branch names of banks in the New York state.
CREATE TABLE bank (bname VARCHAR, state VARCHAR)
SELECT bname FROM bank WHERE state = 'New York'
What is the score for Australia with a place of 4?
CREATE TABLE table_name_87 (score VARCHAR, country VARCHAR, place VARCHAR)
SELECT score FROM table_name_87 WHERE country = "australia" AND place = "4"
Name the 2008 with 2010 of 2r and wimbledon tournament
CREATE TABLE table_name_58 (tournament VARCHAR)
SELECT 2008 FROM table_name_58 WHERE 2010 = "2r" AND tournament = "wimbledon"
Name the titles for tko 11/12
CREATE TABLE table_24924576_2 (titles VARCHAR, result VARCHAR)
SELECT titles FROM table_24924576_2 WHERE result = "TKO 11/12"
Show the account id with most number of transactions.
CREATE TABLE Financial_transactions (account_id VARCHAR)
SELECT account_id FROM Financial_transactions GROUP BY account_id ORDER BY COUNT(*) DESC LIMIT 1
Who were the rowers for Great britain?
CREATE TABLE table_name_50 (rowers VARCHAR, country VARCHAR)
SELECT rowers FROM table_name_50 WHERE country = "great britain"
Which province's IATA is kix?
CREATE TABLE table_name_21 (province VARCHAR, iata VARCHAR)
SELECT province FROM table_name_21 WHERE iata = "kix"
Which grid has less than 11 laps, and a Time/Retired of accident?
CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, time_retired VARCHAR)
SELECT AVG(grid) FROM table_name_99 WHERE laps < 11 AND time_retired = "accident"
What is the sum of lost when against is less than 37, drawn is more than 2, and played is more than 20?
CREATE TABLE table_name_93 (lost VARCHAR, played VARCHAR, against VARCHAR, drawn VARCHAR)
SELECT COUNT(lost) FROM table_name_93 WHERE against < 37 AND drawn > 2 AND played > 20
What is the party for south carolina 3?
CREATE TABLE table_1342359_39 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1342359_39 WHERE district = "South Carolina 3"
how many result with date being october 25, 1964
CREATE TABLE table_14984126_1 (result VARCHAR, date VARCHAR)
SELECT COUNT(result) FROM table_14984126_1 WHERE date = "October 25, 1964"
What was the production number of the episode filmed in aug/sept 1968?
CREATE TABLE table_1971734_1 (prod__number VARCHAR, filmed VARCHAR)
SELECT prod__number FROM table_1971734_1 WHERE filmed = "Aug/Sept 1968"
What is the title the episode directed by Allison Liddi-Brown?
CREATE TABLE table_23793770_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_23793770_1 WHERE directed_by = "Allison Liddi-Brown"
What was the result of the game before week 3 with an attendance of 53,658?
CREATE TABLE table_name_32 (result VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_32 WHERE week < 3 AND attendance = "53,658"
Who had a versus of sri lanka?
CREATE TABLE table_name_18 (player VARCHAR, versus VARCHAR)
SELECT player FROM table_name_18 WHERE versus = "sri lanka"
Which Loss has a Score of 6–5?
CREATE TABLE table_name_20 (loss VARCHAR, score VARCHAR)
SELECT loss FROM table_name_20 WHERE score = "6–5"
What is the title of episode 2?
CREATE TABLE table_2430014_8 (title VARCHAR, episode_no VARCHAR)
SELECT title FROM table_2430014_8 WHERE episode_no = 2
What is the highest 2012 immigration for a country with an immigration of 81,094 in 2011?
CREATE TABLE table_name_69 (Id VARCHAR)
SELECT MAX(2012) FROM table_name_69 WHERE 2011 = 81 OFFSET 094
In what Election year were there less than 16,170 Inhabitants?
CREATE TABLE table_name_14 (election VARCHAR, inhabitants INTEGER)
SELECT COUNT(election) FROM table_name_14 WHERE inhabitants < 16 OFFSET 170
what's the cancelable with bubbles being yes
CREATE TABLE table_1507852_5 (cancelable VARCHAR, bubbles VARCHAR)
SELECT cancelable FROM table_1507852_5 WHERE bubbles = "Yes"
What is the maturity date of the ISIN labeled DE000A0BVBN3?
CREATE TABLE table_21692771_1 (maturity VARCHAR, isin VARCHAR)
SELECT maturity FROM table_21692771_1 WHERE isin = "DE000A0BVBN3"
What was the score did phoenix have with a Record of 3–6–0 at home?
CREATE TABLE table_name_88 (score VARCHAR, home VARCHAR, record VARCHAR)
SELECT score FROM table_name_88 WHERE home = "phoenix" AND record = "3–6–0"
Name the opponent for 9 november 1991
CREATE TABLE table_name_19 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_19 WHERE date = "9 november 1991"
which course has most number of registered students?
CREATE TABLE courses (course_name VARCHAR, course_id VARCHAR); CREATE TABLE student_course_registrations (course_Id VARCHAR)
SELECT T1.course_name FROM courses AS T1 JOIN student_course_registrations AS T2 ON T1.course_id = T2.course_Id GROUP BY T1.course_id ORDER BY COUNT(*) DESC LIMIT 1
What is the largest laps for Time/Retired of + 2 laps, and a Grid of 13?
CREATE TABLE table_name_34 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_34 WHERE time_retired = "+ 2 laps" AND grid = 13
What was the Grid with a hydraulics time/required?
CREATE TABLE table_name_57 (grid VARCHAR, time_retired VARCHAR)
SELECT grid FROM table_name_57 WHERE time_retired = "hydraulics"
When the team Heathmere of the South West DFL won more than 11 games, what is the maximum byes?
CREATE TABLE table_name_38 (byes INTEGER, south_west_dfl VARCHAR, wins VARCHAR)
SELECT MAX(byes) FROM table_name_38 WHERE south_west_dfl = "heathmere" AND wins > 11
What's the silver for rank 1 with less than 2 bronze?
CREATE TABLE table_name_92 (silver INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT MIN(silver) FROM table_name_92 WHERE rank = "1" AND bronze < 2
Who was the opponent at the competition held at Jeonju?
CREATE TABLE table_name_20 (opponent VARCHAR, venue VARCHAR)
SELECT opponent FROM table_name_20 WHERE venue = "jeonju"
What is every position for the CFL Edmonton?
CREATE TABLE table_28059992_1 (position VARCHAR, cfl_team VARCHAR)
SELECT position FROM table_28059992_1 WHERE cfl_team = "Edmonton"
What is the lowest Lane, when Mark is 7.66?
CREATE TABLE table_name_21 (lane INTEGER, mark VARCHAR)
SELECT MIN(lane) FROM table_name_21 WHERE mark = "7.66"
What is the total pick number of the player from a round greater than 1, a draft before 2002, and with the college/high school/club of western kentucky?
CREATE TABLE table_name_51 (pick VARCHAR, college_high_school_club VARCHAR, round VARCHAR, draft VARCHAR)
SELECT COUNT(pick) FROM table_name_51 WHERE round > 1 AND draft < 2002 AND college_high_school_club = "western kentucky"
Which Class has a Type of 1′c n2t?
CREATE TABLE table_name_85 (class VARCHAR, type VARCHAR)
SELECT class FROM table_name_85 WHERE type = "1′c n2t"
What is the highest total medals winter athlete Clara Hughes has?
CREATE TABLE table_name_41 (total INTEGER, type VARCHAR, athlete VARCHAR)
SELECT MAX(total) FROM table_name_41 WHERE type = "winter" AND athlete = "clara hughes"
Name the poll winner for march 19, 2008
CREATE TABLE table_15781170_2 (poll_winner VARCHAR, original_air_date VARCHAR)
SELECT COUNT(poll_winner) FROM table_15781170_2 WHERE original_air_date = "March 19, 2008"
At which games did Tunisia win a bronze in the men's 1500 m freestyle?
CREATE TABLE table_name_59 (games VARCHAR, medal VARCHAR, event VARCHAR)
SELECT games FROM table_name_59 WHERE medal = "bronze" AND event = "men's 1500 m freestyle"
with api level of 18, what's the code name?
CREATE TABLE table_name_71 (code_name VARCHAR, api_level VARCHAR)
SELECT code_name FROM table_name_71 WHERE api_level = 18
What is the score when Darlington is the home team?
CREATE TABLE table_name_9 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_9 WHERE home_team = "darlington"
For which location was the round smaller than 11 and the circuit streets of denver?
CREATE TABLE table_name_93 (city_location VARCHAR, round VARCHAR, circuit VARCHAR)
SELECT city_location FROM table_name_93 WHERE round < 11 AND circuit = "streets of denver"
Where was the place in Australia that had a score of 70?
CREATE TABLE table_name_20 (place VARCHAR, score VARCHAR, country VARCHAR)
SELECT place FROM table_name_20 WHERE score = 70 AND country = "australia"
Who is the opponent on the game that will be played at metropolitan stadium?
CREATE TABLE table_name_79 (opponent VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_name_79 WHERE game_site = "metropolitan stadium"
What is Name, when Goals is "80", and when Club Source [I ] is "71 [ dead link ]"?
CREATE TABLE table_name_60 (name VARCHAR, goals VARCHAR, club_source_ VARCHAR, i_ VARCHAR)
SELECT name FROM table_name_60 WHERE goals = 80 AND club_source_[i_] = "71 [ dead link ]"
What position did the kid from loganville, georgia play
CREATE TABLE table_11677691_8 (position VARCHAR, hometown VARCHAR)
SELECT position FROM table_11677691_8 WHERE hometown = "Loganville, Georgia"
What type is the misurina to bassano del grappa course?
CREATE TABLE table_name_24 (type VARCHAR, course VARCHAR)
SELECT type FROM table_name_24 WHERE course = "misurina to bassano del grappa"
What is the number of the tax supervising and conservation bill?
CREATE TABLE table_256286_23 (meas_num INTEGER, description VARCHAR)
SELECT MIN(meas_num) FROM table_256286_23 WHERE description = "Tax Supervising and Conservation Bill"
what is the position when the points 1 is less than 36, goals for is less than 40 and drawn is less than 9?
CREATE TABLE table_name_31 (position INTEGER, drawn VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
SELECT SUM(position) FROM table_name_31 WHERE points_1 < 36 AND goals_for < 40 AND drawn < 9
Which Winning score has a Margin of victory of 1 stroke, and a Date of 21 jun 1981?
CREATE TABLE table_name_19 (winning_score VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
SELECT winning_score FROM table_name_19 WHERE margin_of_victory = "1 stroke" AND date = "21 jun 1981"
What is the smallest point amount for years prior to 1958 when the class is 350cc?
CREATE TABLE table_name_91 (points INTEGER, year VARCHAR, class VARCHAR)
SELECT MIN(points) FROM table_name_91 WHERE year < 1958 AND class = "350cc"
What time was the game with a record of 7-3?
CREATE TABLE table_name_96 (game_time VARCHAR, record VARCHAR)
SELECT game_time FROM table_name_96 WHERE record = "7-3"
What is the sum of the lanes before heat 7 that elizabeth simmonds swam?
CREATE TABLE table_name_75 (lane INTEGER, heat VARCHAR, name VARCHAR)
SELECT SUM(lane) FROM table_name_75 WHERE heat < 7 AND name = "elizabeth simmonds"
Which Name has a Date of 11 june 1940?
CREATE TABLE table_name_95 (name VARCHAR, date VARCHAR)
SELECT name FROM table_name_95 WHERE date = "11 june 1940"
Which ERP W has a Frequency MHz larger than 89.1, and a City of license of de queen, arkansas?
CREATE TABLE table_name_54 (erp_w VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR)
SELECT erp_w FROM table_name_54 WHERE frequency_mhz > 89.1 AND city_of_license = "de queen, arkansas"
What is the pick # when the new jersey devils is the nhl team?
CREATE TABLE table_2897457_3 (pick__number VARCHAR, nhl_team VARCHAR)
SELECT pick__number FROM table_2897457_3 WHERE nhl_team = "New Jersey Devils"
What is the total number of Area (km²), when Population (2007) is 6,176?
CREATE TABLE table_name_13 (area__km²_ VARCHAR, population__2007_ VARCHAR)
SELECT COUNT(area__km²_) FROM table_name_13 WHERE population__2007_ = 6 OFFSET 176
How many kinds of enzymes are there?
CREATE TABLE enzyme (Id VARCHAR)
SELECT COUNT(*) FROM enzyme
what is the lowest total when the nation is sweden (swe) and silver is less than 0?
CREATE TABLE table_name_24 (total INTEGER, nation VARCHAR, silver VARCHAR)
SELECT MIN(total) FROM table_name_24 WHERE nation = "sweden (swe)" AND silver < 0
Which Lost has a Position larger than 2, a Name of sg münchen (n), and a Drawn larger than 0?
CREATE TABLE table_name_48 (lost VARCHAR, drawn VARCHAR, position VARCHAR, name VARCHAR)
SELECT COUNT(lost) FROM table_name_48 WHERE position > 2 AND name = "sg münchen (n)" AND drawn > 0
how many party classifications are there for the incumbent Mac Collins?
CREATE TABLE table_26336739_1 (party VARCHAR, incumbent VARCHAR)
SELECT COUNT(party) FROM table_26336739_1 WHERE incumbent = "Mac Collins"
What date was the venue at VFL park?
CREATE TABLE table_name_97 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_97 WHERE venue = "vfl park"
Which poll resource provided the most number of candidate information?
CREATE TABLE candidate (poll_source VARCHAR)
SELECT poll_source FROM candidate GROUP BY poll_source ORDER BY COUNT(*) DESC LIMIT 1
What is the i/o bus for the brand name Core i3-21xx?
CREATE TABLE table_24538587_11 (i_o_bus VARCHAR, brand_name__list_ VARCHAR)
SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-21xx"