question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the venue for the game played on 13/02/1954?
CREATE TABLE table_name_5 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_5 WHERE date = "13/02/1954"
What was CHris Amon's highest lap when his grid was 4?
CREATE TABLE table_name_31 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MAX(laps) FROM table_name_31 WHERE driver = "chris amon" AND grid < 4
What is the High rebounds with a Series with 4–2?
CREATE TABLE table_name_13 (high_rebounds VARCHAR, series VARCHAR)
SELECT high_rebounds FROM table_name_13 WHERE series = "4–2"
Which Bronze has a Gold smaller than 16, a Rank of 10, and a Nation of italy?
CREATE TABLE table_name_97 (bronze INTEGER, nation VARCHAR, gold VARCHAR, rank VARCHAR)
SELECT AVG(bronze) FROM table_name_97 WHERE gold < 16 AND rank = "10" AND nation = "italy"
How many players Bowled 4/125?
CREATE TABLE table_16570286_4 (player VARCHAR, best_bowling VARCHAR)
SELECT COUNT(player) FROM table_16570286_4 WHERE best_bowling = "4/125"
What day is their record 13-15?
CREATE TABLE table_name_14 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_14 WHERE record = "13-15"
What year is the 2004 shake don't stir?
CREATE TABLE table_name_67 (year VARCHAR)
SELECT year FROM table_name_67 WHERE 2004 = "shake don't stir"
What is the total number of games lost when 22 have been played, the losing BP number is 2, and the club is Merthyr RFC?
CREATE TABLE table_name_52 (lost VARCHAR, club VARCHAR, played VARCHAR, losing_bp VARCHAR)
SELECT lost FROM table_name_52 WHERE played = "22" AND losing_bp = "2" AND club = "merthyr rfc"
What was the record after the game with the Manchester Wolves on July 30, 2004?
CREATE TABLE table_name_18 (record VARCHAR, opponent VARCHAR, date VARCHAR)
SELECT record FROM table_name_18 WHERE opponent = "manchester wolves" AND date = "july 30, 2004"
What round was Andre Fluellen drafted as a Defensive Tackle?
CREATE TABLE table_name_54 (round VARCHAR, position VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_54 WHERE position = "defensive tackle" AND player = "andre fluellen"
Which player is a centre?
CREATE TABLE table_name_50 (player VARCHAR, position VARCHAR)
SELECT player FROM table_name_50 WHERE position = "centre"
What is the title that has 14.59 u.s. viewers (millions)?
CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "14.59"
if the aramaic is šlām-āʼ, what is the english?
CREATE TABLE table_26919_7 (english VARCHAR, aramaic VARCHAR)
SELECT english FROM table_26919_7 WHERE aramaic = "šlām-āʼ"
Who is the player in the 2008 draft with a pick greater than 5?
CREATE TABLE table_name_26 (player VARCHAR, draft VARCHAR, pick VARCHAR)
SELECT player FROM table_name_26 WHERE draft = 2008 AND pick > 5
What is the value scored when there were 19 points for the team 3 de Febrero?
CREATE TABLE table_14871601_2 (scored INTEGER, points VARCHAR, team VARCHAR)
SELECT MAX(scored) FROM table_14871601_2 WHERE points = 19 AND team = "3 de Febrero"
Find the average and minimum weight for each gender.
CREATE TABLE people (sex VARCHAR, weight INTEGER)
SELECT AVG(weight), MIN(weight), sex FROM people GROUP BY sex
Which Surface has a Date of january 2, 2006?
CREATE TABLE table_name_68 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_68 WHERE date = "january 2, 2006"
WHAT TOWN IS WEST BROOK SENIOR HIGH SCHOOL FROM?
CREATE TABLE table_11677100_11 (hometown VARCHAR, school VARCHAR)
SELECT hometown FROM table_11677100_11 WHERE school = "West Brook Senior High school"
What was the complement for the unit that had 3 off 37 men killed?
CREATE TABLE table_2596811_12 (complement VARCHAR, killed VARCHAR)
SELECT complement FROM table_2596811_12 WHERE killed = "3 off 37 men"
Name the Drawn for Ystrad Rhondda RFC and has Played of 22.
CREATE TABLE table_name_39 (drawn VARCHAR, played VARCHAR, club VARCHAR)
SELECT drawn FROM table_name_39 WHERE played = "22" AND club = "ystrad rhondda rfc"
What college has a pick of 11?
CREATE TABLE table_name_86 (college VARCHAR, pick VARCHAR)
SELECT college FROM table_name_86 WHERE pick = 11
Alton Lister Category:Articles with hCards has what as the listed years?
CREATE TABLE table_name_56 (years VARCHAR, player VARCHAR)
SELECT years FROM table_name_56 WHERE player = "alton lister category:articles with hcards"
What is average age of male for different job title?
CREATE TABLE Person (job VARCHAR, age INTEGER, gender VARCHAR)
SELECT AVG(age), job FROM Person WHERE gender = 'male' GROUP BY job
which opponents in the u.s. championships played after 1945 and had a score of 3–6, 6–4, 2–6, 6–3, 20–18?
CREATE TABLE table_name_5 (opponents_in_the_final VARCHAR, score VARCHAR, championship VARCHAR, year VARCHAR)
SELECT opponents_in_the_final FROM table_name_5 WHERE championship = "u.s. championships" AND year > 1945 AND score = "3–6, 6–4, 2–6, 6–3, 20–18"
What is the score for Ky Laffoon?
CREATE TABLE table_name_22 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_22 WHERE player = "ky laffoon"
What was the U.S birthstone in the 15th-20th century when in 2013 it was amethyst?
CREATE TABLE table_name_34 (us__2013_ VARCHAR)
SELECT 15 AS th__20th_century FROM table_name_34 WHERE us__2013_ = "amethyst"
Which Player has United States as Nationality, forward as Position and a greater than 5 Round?
CREATE TABLE table_name_7 (player VARCHAR, round VARCHAR, nationality VARCHAR, position VARCHAR)
SELECT player FROM table_name_7 WHERE nationality = "united states" AND position = "forward" AND round > 5
What bridge is in Mcville?
CREATE TABLE table_name_69 (name VARCHAR, location VARCHAR)
SELECT name FROM table_name_69 WHERE location = "mcville"
How many validations are listed for the iin range 36?
CREATE TABLE table_15905399_1 (validation VARCHAR, iin_ranges VARCHAR)
SELECT COUNT(validation) FROM table_15905399_1 WHERE iin_ranges = "36"
what is the result when the venue is singapore on september 8, 1996?
CREATE TABLE table_name_37 (result VARCHAR, venue VARCHAR, date VARCHAR)
SELECT result FROM table_name_37 WHERE venue = "singapore" AND date = "september 8, 1996"
What Pastoral Region has Episcopal Vicar Robert Francis Hennessey?
CREATE TABLE table_name_81 (pastoral_region VARCHAR, episcopal_vicar VARCHAR)
SELECT pastoral_region FROM table_name_81 WHERE episcopal_vicar = "robert francis hennessey"
What year is the founding year, for the school that had an enrollment in 2005 of 963?
CREATE TABLE table_2076490_1 (founded VARCHAR, enrollment__2005_ VARCHAR)
SELECT founded FROM table_2076490_1 WHERE enrollment__2005_ = "963"
Which opponent is friendly and played on 15-08-2012?
CREATE TABLE table_name_38 (opponent VARCHAR, competition VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_38 WHERE competition = "friendly" AND date = "15-08-2012"
How many entries for 50 occur when strike rate is 92.81?
CREATE TABLE table_2985664_8 (strike_rate VARCHAR)
SELECT COUNT(50) FROM table_2985664_8 WHERE strike_rate = "92.81"
what is the winner of stage 3
CREATE TABLE table_name_75 (winner VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_75 WHERE stage = 3
What is the party of the representative that has the smallest number of votes.
CREATE TABLE representative (Party VARCHAR, Representative_ID VARCHAR); CREATE TABLE election (Representative_ID VARCHAR)
SELECT T2.Party FROM election AS T1 JOIN representative AS T2 ON T1.Representative_ID = T2.Representative_ID ORDER BY votes LIMIT 1
What is the Home Town with a Name with rob cunningham?
CREATE TABLE table_name_40 (home_town VARCHAR, name VARCHAR)
SELECT home_town FROM table_name_40 WHERE name = "rob cunningham"
What's the nickname of the team with enrollment of 40747?
CREATE TABLE table_28243691_2 (team_nickname VARCHAR, enrollment VARCHAR)
SELECT team_nickname FROM table_28243691_2 WHERE enrollment = 40747
How many games have a February larger than 11, and a Record of 23-7-8?
CREATE TABLE table_name_92 (game VARCHAR, february VARCHAR, record VARCHAR)
SELECT COUNT(game) FROM table_name_92 WHERE february > 11 AND record = "23-7-8"
Where is Shakhtar-2 located?
CREATE TABLE table_name_81 (location VARCHAR, team VARCHAR)
SELECT location FROM table_name_81 WHERE team = "shakhtar-2"
What country has OF-1 Locotenent?
CREATE TABLE table_name_40 (country VARCHAR, of_1 VARCHAR)
SELECT country FROM table_name_40 WHERE of_1 = "locotenent"
Name the city for kanjiža
CREATE TABLE table_2562572_5 (city___municipality VARCHAR, urban_settlement VARCHAR)
SELECT city___municipality FROM table_2562572_5 WHERE urban_settlement = "Kanjiža"
What was the visiting team on November 12?
CREATE TABLE table_name_12 (visiting_team VARCHAR, date VARCHAR)
SELECT visiting_team FROM table_name_12 WHERE date = "november 12"
What is the total points when there is a refusal fault and the rider is H.R.H. Prince Abdullah Al-Soud?
CREATE TABLE table_name_85 (points INTEGER, faults VARCHAR, rider VARCHAR)
SELECT SUM(points) FROM table_name_85 WHERE faults = "refusal" AND rider = "h.r.h. prince abdullah al-soud"
What is the Date with a Round with sf?
CREATE TABLE table_name_67 (date VARCHAR, round VARCHAR)
SELECT date FROM table_name_67 WHERE round = "sf"
How many Draws have Wins larger than 7, and a Wimmera FL of nhill, and Losses larger than 8?
CREATE TABLE table_name_83 (draws INTEGER, losses VARCHAR, wins VARCHAR, wimmera_fl VARCHAR)
SELECT SUM(draws) FROM table_name_83 WHERE wins > 7 AND wimmera_fl = "nhill" AND losses > 8
What is the local name for the episodes that aired in 1981?
CREATE TABLE table_name_28 (local_name VARCHAR, dates_aired VARCHAR)
SELECT local_name FROM table_name_28 WHERE dates_aired = "1981"
What week did the dallas cowboys play?
CREATE TABLE table_name_78 (week INTEGER, opponent VARCHAR)
SELECT SUM(week) FROM table_name_78 WHERE opponent = "dallas cowboys"
When George H.W. Bush had 81%, and Pat Robertson had 9%, what did Bob Dole have?
CREATE TABLE table_name_67 (bob_dole VARCHAR, george_hw_bush VARCHAR, pat_robertson VARCHAR)
SELECT bob_dole FROM table_name_67 WHERE george_hw_bush = "81%" AND pat_robertson = "9%"
Name the Home with has a Score of 2–7?
CREATE TABLE table_name_40 (home VARCHAR, score VARCHAR)
SELECT home FROM table_name_40 WHERE score = "2–7"
Which Type has an Incorporated in of netherlands, a Principal activities of airline, and a Company of transavia.com?
CREATE TABLE table_name_54 (type VARCHAR, company VARCHAR, incorporated_in VARCHAR, principal_activities VARCHAR)
SELECT type FROM table_name_54 WHERE incorporated_in = "netherlands" AND principal_activities = "airline" AND company = "transavia.com"
What is Team, when High Points is "Rashard Lewis , Mickaël Piétrus (17)"?
CREATE TABLE table_name_80 (team VARCHAR, high_points VARCHAR)
SELECT team FROM table_name_80 WHERE high_points = "rashard lewis , mickaël piétrus (17)"
When was the railmotor made?
CREATE TABLE table_name_26 (date_made VARCHAR, type VARCHAR)
SELECT date_made FROM table_name_26 WHERE type = "railmotor"
what's the regionalliga nord with regionalliga süd being 1. fc nuremberg spvgg greuther fürth
CREATE TABLE table_14242137_11 (regionalliga_nord VARCHAR, regionalliga_süd VARCHAR)
SELECT regionalliga_nord FROM table_14242137_11 WHERE regionalliga_süd = "1. FC Nuremberg SpVgg Greuther Fürth"
Who directed the episode with a production code greater than 4301103.585233785 that was written by Curtis Kheel?
CREATE TABLE table_21312845_1 (directed_by VARCHAR, production_code VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_21312845_1 WHERE production_code > 4301103.585233785 AND written_by = "Curtis Kheel"
which Completion % has a Yards of 2,175?
CREATE TABLE table_name_57 (completion__percentage VARCHAR, yards VARCHAR)
SELECT completion__percentage FROM table_name_57 WHERE yards = "2,175"
When carmelo anthony (39) has the highest amount of points where is the location and what is the attendance?
CREATE TABLE table_23285849_11 (location_attendance VARCHAR, high_points VARCHAR)
SELECT location_attendance FROM table_23285849_11 WHERE high_points = "Carmelo Anthony (39)"
What is the average against for a test match?
CREATE TABLE table_name_64 (against INTEGER, status VARCHAR)
SELECT AVG(against) FROM table_name_64 WHERE status = "test match"
what position has a handicap of 10-2?
CREATE TABLE table_25429986_1 (position VARCHAR, handicap VARCHAR)
SELECT position FROM table_25429986_1 WHERE handicap = "10-2"
Where did the wrestler, super parka, with the title with a reign of 2?
CREATE TABLE table_name_41 (location VARCHAR, wrestler VARCHAR, reign VARCHAR)
SELECT location FROM table_name_41 WHERE wrestler = "super parka" AND reign = "2"
Which year's label was label?
CREATE TABLE table_name_57 (year VARCHAR)
SELECT year FROM table_name_57 WHERE "label" = "label"
What is the score of the 1996 Emarate cup on March 25, 1996?
CREATE TABLE table_name_79 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_79 WHERE competition = "1996 emarate cup" AND date = "march 25, 1996"
Name the santee sisseton for híŋhaŋna
CREATE TABLE table_1499791_2 (santee_sisseton VARCHAR, yankton_yanktonai VARCHAR)
SELECT COUNT(santee_sisseton) FROM table_1499791_2 WHERE yankton_yanktonai = "híŋhaŋna"
What was the score against New Orleans?
CREATE TABLE table_23248967_5 (score VARCHAR, team VARCHAR)
SELECT score FROM table_23248967_5 WHERE team = "New Orleans"
Find the name and address of the customers who have both New and Pending orders.
CREATE TABLE customers (customer_name VARCHAR, customer_address VARCHAR, customer_id VARCHAR); CREATE TABLE customer_orders (customer_id VARCHAR, order_status_code VARCHAR)
SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status_code = "New" INTERSECT SELECT T1.customer_name, T1.customer_address FROM customers AS T1 JOIN customer_orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_stat...
Name the current conference for 1974, 1989
CREATE TABLE table_16168849_1 (current_conference VARCHAR, left VARCHAR)
SELECT current_conference FROM table_16168849_1 WHERE left = "1974, 1989"
which college had a running back player
CREATE TABLE table_20898602_1 (college VARCHAR, position VARCHAR)
SELECT college FROM table_20898602_1 WHERE position = "Running back"
What is the score in the Liverpool home game?
CREATE TABLE table_name_67 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_67 WHERE home_team = "liverpool"
Who was the winning driver in 1956?
CREATE TABLE table_name_93 (winning_driver VARCHAR, year VARCHAR)
SELECT winning_driver FROM table_name_93 WHERE year = "1956"
What is the location for the an-12b aircraft?
CREATE TABLE table_name_50 (location VARCHAR, aircraft VARCHAR)
SELECT location FROM table_name_50 WHERE aircraft = "an-12b"
How many total titles did Rupesh Kumar Sanave Thomas and Jwala Gutta Ashwini Ponnappa win total?
CREATE TABLE table_12194021_1 (womens_singles VARCHAR, mens_doubles VARCHAR, womens_doubles VARCHAR)
SELECT COUNT(womens_singles) FROM table_12194021_1 WHERE mens_doubles = "Rupesh Kumar Sanave Thomas" AND womens_doubles = "Jwala Gutta Ashwini Ponnappa"
Who is the away side at corio oval?
CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_85 WHERE venue = "corio oval"
Which country has a city with a Hanja of 平安北道?
CREATE TABLE table_name_83 (country VARCHAR, hanja VARCHAR)
SELECT country FROM table_name_83 WHERE hanja = "平安北道"
Who was the opponent on April 2?
CREATE TABLE table_name_56 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_56 WHERE date = "april 2"
Which Losses have an Against smaller than 1464, and Draws smaller than 1, and Wins larger than 7?
CREATE TABLE table_name_58 (losses INTEGER, wins VARCHAR, against VARCHAR, draws VARCHAR)
SELECT MIN(losses) FROM table_name_58 WHERE against < 1464 AND draws < 1 AND wins > 7
What's the average attendance on january 6, 2008?
CREATE TABLE table_name_34 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_34 WHERE date = "january 6, 2008"
What was the score of the match on December 19, 2009?
CREATE TABLE table_name_63 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_63 WHERE date = "december 19, 2009"
Name the peak for height more than 619 and class of hewitt with prom being 148
CREATE TABLE table_name_14 (peak VARCHAR, prom__m_ VARCHAR, height__m_ VARCHAR, class VARCHAR)
SELECT peak FROM table_name_14 WHERE height__m_ > 619 AND class = "hewitt" AND prom__m_ = 148
What is Score, when Tournament is "Tampere , Finland"?
CREATE TABLE table_name_24 (score VARCHAR, tournament VARCHAR)
SELECT score FROM table_name_24 WHERE tournament = "tampere , finland"
WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?
CREATE TABLE table_name_27 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_27 WHERE team_2 = "haro"
What event had Wang Bingyu for the skip?
CREATE TABLE table_name_14 (event VARCHAR, skip VARCHAR)
SELECT event FROM table_name_14 WHERE skip = "wang bingyu"
When did Prime Minister Agathe Uwilingiyimana's mandate end?
CREATE TABLE table_name_44 (mandate_end VARCHAR, office VARCHAR, name_a VARCHAR)
SELECT mandate_end FROM table_name_44 WHERE office = "prime minister" AND name_a = "agathe uwilingiyimana"
Name the max irish points for eastern michigan
CREATE TABLE table_22875369_3 (irish_points INTEGER, opponent VARCHAR)
SELECT MAX(irish_points) FROM table_22875369_3 WHERE opponent = "Eastern Michigan"
Which constituency number has a name of Timarni?
CREATE TABLE table_name_99 (constituency_number VARCHAR, name VARCHAR)
SELECT constituency_number FROM table_name_99 WHERE name = "timarni"
Name the cost for latest stable date of online
CREATE TABLE table_name_48 (cost___usd__ VARCHAR, latest_stable_date__version_ VARCHAR)
SELECT cost___usd__ FROM table_name_48 WHERE latest_stable_date__version_ = "online"
List every album ordered by album title in ascending order.
CREATE TABLE albums (title VARCHAR)
SELECT title FROM albums ORDER BY title
In which class had 252 laps and a position of dnf?
CREATE TABLE table_name_5 (class VARCHAR, pos VARCHAR, laps VARCHAR)
SELECT class FROM table_name_5 WHERE pos = "dnf" AND laps = 252
What is the record when the game is greater than 24?
CREATE TABLE table_name_65 (record VARCHAR, game INTEGER)
SELECT record FROM table_name_65 WHERE game > 24
What is the total number of wins with 10 cuts made and a score average under 74.09?
CREATE TABLE table_name_52 (wins VARCHAR, cuts_made VARCHAR, scoring_average VARCHAR)
SELECT COUNT(wins) FROM table_name_52 WHERE cuts_made = 10 AND scoring_average < 74.09
Which mountain range includes Mount Hubbard?
CREATE TABLE table_name_64 (mountain_range VARCHAR, mountain_peak VARCHAR)
SELECT mountain_range FROM table_name_64 WHERE mountain_peak = "mount hubbard"
What is the povery rate of the county with market income per capita of $20,518?
CREATE TABLE table_22815568_1 (poverty_rate VARCHAR, market_income_per_capita VARCHAR)
SELECT poverty_rate FROM table_22815568_1 WHERE market_income_per_capita = "$20,518"
What country is the contestant from Salto from?
CREATE TABLE table_20754016_2 (country VARCHAR, hometown VARCHAR)
SELECT country FROM table_20754016_2 WHERE hometown = "Salto"
How many team songs does fremantle have?
CREATE TABLE table_28243323_1 (basis_for_team_song VARCHAR, club_name VARCHAR)
SELECT COUNT(basis_for_team_song) FROM table_28243323_1 WHERE club_name = "Fremantle"
When the Home team of geelong played, what was their lowest Crowd number?
CREATE TABLE table_name_23 (crowd INTEGER, home_team VARCHAR)
SELECT MIN(crowd) FROM table_name_23 WHERE home_team = "geelong"
What is the total subframe count with Bits of 18–22?
CREATE TABLE table_name_48 (subframe__number INTEGER, bits VARCHAR)
SELECT SUM(subframe__number) FROM table_name_48 WHERE bits = "18–22"
What was the result when incumbent Fred E. Busbey was elected?
CREATE TABLE table_1342013_12 (result VARCHAR, incumbent VARCHAR)
SELECT result FROM table_1342013_12 WHERE incumbent = "Fred E. Busbey"
Who's the owner of Sanam Pao as the broadcasting area?
CREATE TABLE table_name_33 (owner VARCHAR, broadcasting_area VARCHAR)
SELECT owner FROM table_name_33 WHERE broadcasting_area = "sanam pao"
How many positions have Played smaller than 12?
CREATE TABLE table_name_79 (position INTEGER, played INTEGER)
SELECT SUM(position) FROM table_name_79 WHERE played < 12
What is the total of Pick with a Position of n/a and Greg Wendt as Player with a Round less than 6?
CREATE TABLE table_name_61 (pick INTEGER, round VARCHAR, position VARCHAR, player VARCHAR)
SELECT SUM(pick) FROM table_name_61 WHERE position = "n/a" AND player = "greg wendt" AND round < 6
how many times is the qualifying score 61.400?
CREATE TABLE table_13114949_3 (year VARCHAR, qualifying_score VARCHAR)
SELECT COUNT(year) FROM table_13114949_3 WHERE qualifying_score = "61.400"