question
stringlengths
12
243
answer
stringlengths
18
557
context
stringlengths
27
489
Who had a score of 68-67=135?
SELECT player FROM table_name_98 WHERE score = 68 - 67 = 135
CREATE TABLE table_name_98 (player VARCHAR, score VARCHAR)
Find the names of states that have some college students playing in the mid position but not in the goalie position.
SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie'
CREATE TABLE tryout (cName VARCHAR, pPos VARCHAR); CREATE TABLE college (state VARCHAR, cName VARCHAR)
Name the parter for w/o
SELECT partner FROM table_28979895_4 WHERE score = "w/o"
CREATE TABLE table_28979895_4 (partner VARCHAR, score VARCHAR)
Which film was released in the year 2002?
SELECT film_name FROM table_name_63 WHERE year = 2002
CREATE TABLE table_name_63 (film_name VARCHAR, year VARCHAR)
How many were written by Peter Winther?
SELECT COUNT(written_by) FROM table_20704243_3 WHERE directed_by = "Peter Winther"
CREATE TABLE table_20704243_3 (written_by VARCHAR, directed_by VARCHAR)
what is the place when losses is less than 12 and points is less than 19?
SELECT SUM(place) FROM table_name_12 WHERE lost < 12 AND points < 19
CREATE TABLE table_name_12 (place INTEGER, lost VARCHAR, points VARCHAR)
What team does jan heylen race for?
SELECT team FROM table_name_35 WHERE driver = "jan heylen"
CREATE TABLE table_name_35 (team VARCHAR, driver VARCHAR)
Which Date has a Result of w 27–20?
SELECT date FROM table_name_30 WHERE result = "w 27–20"
CREATE TABLE table_name_30 (date VARCHAR, result VARCHAR)
What is the television service that has package with sky tv, and it in Italian English?
SELECT television_service FROM table_name_30 WHERE package_option = "sky tv" AND language = "italian english"
CREATE TABLE table_name_30 (television_service VARCHAR, package_option VARCHAR, language VARCHAR)
Name the name for desha
SELECT name FROM table_25794010_1 WHERE county = "Desha"
CREATE TABLE table_25794010_1 (name VARCHAR, county VARCHAR)
Name the most against for minas gerais
SELECT MAX(against) FROM table_15400878_1 WHERE team = "Minas Gerais"
CREATE TABLE table_15400878_1 (against INTEGER, team VARCHAR)
What's the total power of the unit whose construction finished on 14.06.1963?
SELECT total_power FROM table_12983929_1 WHERE construction_finish = "14.06.1963"
CREATE TABLE table_12983929_1 (total_power VARCHAR, construction_finish VARCHAR)
What was the rank of the park that had a value of 5,040,000 in 2010?
SELECT rank FROM table_name_30 WHERE 2010 = "5,040,000"
CREATE TABLE table_name_30 (rank VARCHAR)
College of san diego state, and a Pick # smaller than 30 has what lowest overall?
SELECT MIN(overall) FROM table_name_46 WHERE college = "san diego state" AND pick__number < 30
CREATE TABLE table_name_46 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
What is the Raptors' record against New Jersey?
SELECT record FROM table_15780718_9 WHERE team = "New Jersey"
CREATE TABLE table_15780718_9 (record VARCHAR, team VARCHAR)
What is the lowest number of sunlight hours, and number of days with frost, more than 30, for the city of Ourense?
SELECT MIN(sunlight_hours) FROM table_name_98 WHERE city_town = "ourense" AND days_with_frost > 30
CREATE TABLE table_name_98 (sunlight_hours INTEGER, city_town VARCHAR, days_with_frost VARCHAR)
How many clubs achieved the 5th position in 2012-13?
SELECT COUNT(top_division_titles) FROM table_1908877_2 WHERE position_in_2012_13 = "5th"
CREATE TABLE table_1908877_2 (top_division_titles VARCHAR, position_in_2012_13 VARCHAR)
How many tries against have a losing bonus of 9?
SELECT tries_against FROM table_name_72 WHERE losing_bonus = "9"
CREATE TABLE table_name_72 (tries_against VARCHAR, losing_bonus VARCHAR)
Which game number was played against Georgia?
SELECT MIN(game) FROM table_20928682_1 WHERE opponent = "Georgia"
CREATE TABLE table_20928682_1 (game INTEGER, opponent VARCHAR)
On what date was a record set in the team pursuit (8 laps) event?
SELECT date FROM table_name_75 WHERE event = "team pursuit (8 laps)"
CREATE TABLE table_name_75 (date VARCHAR, event VARCHAR)
What was the score for the game that kicked off at 6:00 p.m.?
SELECT final_score FROM table_24918268_2 WHERE kickoff = "6:00 p.m."
CREATE TABLE table_24918268_2 (final_score VARCHAR, kickoff VARCHAR)
What's the average round Red Bryant was drafted with a pick larger than 121?
SELECT AVG(round) FROM table_name_29 WHERE name = "red bryant" AND pick > 121
CREATE TABLE table_name_29 (round INTEGER, name VARCHAR, pick VARCHAR)
What tournament happened on 12 november 2006?
SELECT tournament FROM table_name_88 WHERE date = "12 november 2006"
CREATE TABLE table_name_88 (tournament VARCHAR, date VARCHAR)
Who was the leader in Steals when Travis Watson (9) was the leader in Rebounds?
SELECT steals FROM table_name_87 WHERE rebounds = "travis watson (9)"
CREATE TABLE table_name_87 (steals VARCHAR, rebounds VARCHAR)
how many millions of North American people saw the episode whose director was Ed Sherin?
SELECT us_viewers__millions_ FROM table_2791668_1 WHERE directed_by = "Ed Sherin"
CREATE TABLE table_2791668_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
When was the train 2053 built?
SELECT build_date FROM table_1057316_1 WHERE serial_number = "2053"
CREATE TABLE table_1057316_1 (build_date VARCHAR, serial_number VARCHAR)
What team does Joe Deane play for?
SELECT team FROM table_name_20 WHERE player = "joe deane"
CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR)
Which Aspect has a Programming of latv?
SELECT aspect FROM table_name_18 WHERE programming = "latv"
CREATE TABLE table_name_18 (aspect VARCHAR, programming VARCHAR)
Tell me the nation for bronze more than 0 and total more than 8 with gold of 4
SELECT nation FROM table_name_62 WHERE bronze > 0 AND total > 8 AND gold = 4
CREATE TABLE table_name_62 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR)
Which opponent has a Time of 1:34?
SELECT opponent FROM table_name_46 WHERE time = "1:34"
CREATE TABLE table_name_46 (opponent VARCHAR, time VARCHAR)
Name the average top-10 for cuts made of 10 and top-25 more than 6
SELECT AVG(top_10) FROM table_name_57 WHERE cuts_made = 10 AND top_25 > 6
CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR)
What is the Time with an Away that is broadview hawks?
SELECT time FROM table_name_91 WHERE away = "broadview hawks"
CREATE TABLE table_name_91 (time VARCHAR, away VARCHAR)
How many people were in attendance on the game on April 8, 2007?
SELECT attendance FROM table_name_15 WHERE date = "april 8, 2007"
CREATE TABLE table_name_15 (attendance VARCHAR, date VARCHAR)
how many million u.s. viewers watched the episode directed by dan lerner?
SELECT us_viewers__million_ FROM table_25997153_1 WHERE directed_by = "Dan Lerner"
CREATE TABLE table_25997153_1 (us_viewers__million_ VARCHAR, directed_by VARCHAR)
What type of engine did the Fuel Injection entrant use?
SELECT engine FROM table_name_4 WHERE entrant = "fuel injection"
CREATE TABLE table_name_4 (engine VARCHAR, entrant VARCHAR)
Who is the entrant when the chassis is ferrari 125?
SELECT entrant FROM table_name_88 WHERE chassis = "ferrari 125"
CREATE TABLE table_name_88 (entrant VARCHAR, chassis VARCHAR)
Which player is from Australia?
SELECT player FROM table_name_88 WHERE country = "australia"
CREATE TABLE table_name_88 (player VARCHAR, country VARCHAR)
What is the wards/branches of the fort smith Arkansas stake?
SELECT wards__branches_in_arkansas FROM table_name_89 WHERE stake = "fort smith arkansas"
CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR)
How many positions have f/laps of 1 and british formula three series?
SELECT COUNT(position) FROM table_22056184_1 WHERE f_laps = 1 AND series = "British Formula Three"
CREATE TABLE table_22056184_1 (position VARCHAR, f_laps VARCHAR, series VARCHAR)
What is the largest number of gold medals when the bronze medals is less than 49, and there is 22 silver medals, and the total is less than 60?
SELECT MAX(gold) FROM table_name_25 WHERE bronze < 49 AND silver = 22 AND total < 60
CREATE TABLE table_name_25 (gold INTEGER, total VARCHAR, bronze VARCHAR, silver VARCHAR)
What was the final score of the November 8, 2001 game?
SELECT result FROM table_name_64 WHERE date = "november 8, 2001"
CREATE TABLE table_name_64 (result VARCHAR, date VARCHAR)
Which game did was Bud Eley a player in?
SELECT games FROM table_name_88 WHERE name = "bud eley"
CREATE TABLE table_name_88 (games VARCHAR, name VARCHAR)
For the tournament played Nov 13, 1988, ending with a margin of victory of 5 strokes, who was the runner-up?
SELECT runner_s__up FROM table_name_67 WHERE margin_of_victory = "5 strokes" AND date = "nov 13, 1988"
CREATE TABLE table_name_67 (runner_s__up VARCHAR, margin_of_victory VARCHAR, date VARCHAR)
What is the average Year with Chassis equalling cooper t60?
SELECT AVG(year) FROM table_name_49 WHERE chassis = "cooper t60"
CREATE TABLE table_name_49 (year INTEGER, chassis VARCHAR)
What is the y = 2011 when the expression is month = floor ((d + e + 114) / 31)?
SELECT y_ = _2011 FROM table_214479_8 WHERE expression = month = FLOOR((d + e + 114) / 31)
CREATE TABLE table_214479_8 (y_ VARCHAR, _2011 VARCHAR, expression VARCHAR, month VARCHAR, d VARCHAR, e VARCHAR)
Find the average number of customers in all banks of Utah state.
SELECT AVG(no_of_customers) FROM bank WHERE state = 'Utah'
CREATE TABLE bank (no_of_customers INTEGER, state VARCHAR)
When did eleonor magdalene of the palatinate-neuburg become duchess?
SELECT became_duchess FROM table_name_77 WHERE name = "eleonor magdalene of the palatinate-neuburg"
CREATE TABLE table_name_77 (became_duchess VARCHAR, name VARCHAR)
Show the names of customers who have at least 2 mailshots with outcome code 'Order'.
SELECT T2.customer_name FROM mailshot_customers AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE outcome_code = 'Order' GROUP BY T1.customer_id HAVING COUNT(*) >= 2
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR); CREATE TABLE mailshot_customers (customer_id VARCHAR)
What is the type of the locomotive which was delivered in 1857-59?
SELECT type FROM table_name_7 WHERE delivered = "1857-59"
CREATE TABLE table_name_7 (type VARCHAR, delivered VARCHAR)
if the aramaic is šlām-āʼ, what is the english?
SELECT english FROM table_26919_7 WHERE aramaic = "šlām-āʼ"
CREATE TABLE table_26919_7 (english VARCHAR, aramaic VARCHAR)
What was the score of the game on December 11?
SELECT score FROM table_17360840_6 WHERE date = "December 11"
CREATE TABLE table_17360840_6 (score VARCHAR, date VARCHAR)
What is the Mecha of the Japanese voice actor Shingo Kanemoto?
SELECT mecha FROM table_name_39 WHERE japanese_voice_actor = "shingo kanemoto"
CREATE TABLE table_name_39 (mecha VARCHAR, japanese_voice_actor VARCHAR)
What point against has tries against of 77, and a lost of 16?
SELECT points_against FROM table_name_93 WHERE tries_against = "77" AND lost = "16"
CREATE TABLE table_name_93 (points_against VARCHAR, tries_against VARCHAR, lost VARCHAR)
Name the result with week of 16
SELECT result FROM table_name_72 WHERE week = "16"
CREATE TABLE table_name_72 (result VARCHAR, week VARCHAR)
What was the score of the Kings game when they had a record of 8–11–1?
SELECT score FROM table_name_27 WHERE record = "8–11–1"
CREATE TABLE table_name_27 (score VARCHAR, record VARCHAR)
Name the venue where St Kilda was the opposing away team
SELECT venue FROM table_name_76 WHERE away_team = "st kilda"
CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)
Who directed the episode with a production code of 4WAB05?
SELECT directedby FROM table_20726262_5 WHERE production_code = "4WAB05"
CREATE TABLE table_20726262_5 (directedby VARCHAR, production_code VARCHAR)
What label released a record on December 19, 2001?
SELECT label FROM table_name_83 WHERE date = "december 19, 2001"
CREATE TABLE table_name_83 (label VARCHAR, date VARCHAR)
Which American has British of ɛm?
SELECT american FROM table_name_62 WHERE british = "ɛm"
CREATE TABLE table_name_62 (american VARCHAR, british VARCHAR)
Who is the Member when the Party is Alp, and when the Electorate is Grey?
SELECT member FROM table_name_66 WHERE party = "alp" AND electorate = "grey"
CREATE TABLE table_name_66 (member VARCHAR, party VARCHAR, electorate VARCHAR)
Which name has an overall number of more than 164, when the pick number is more than 2, the position is running back, and the round is 16?
SELECT name FROM table_name_9 WHERE overall > 164 AND pick__number > 2 AND position = "running back" AND round = 16
CREATE TABLE table_name_9 (name VARCHAR, round VARCHAR, position VARCHAR, overall VARCHAR, pick__number VARCHAR)
what's the individual winners with nation being australia
SELECT individual_winners FROM table_1458666_4 WHERE nation = "Australia"
CREATE TABLE table_1458666_4 (individual_winners VARCHAR, nation VARCHAR)
What was the away team for the match that had a time of 18:30?
SELECT away_team FROM table_name_45 WHERE time = "18:30"
CREATE TABLE table_name_45 (away_team VARCHAR, time VARCHAR)
In which lane did the swimmer with a time of 1:57.01 and a rank smaller than 6 swim?
SELECT SUM(lane) FROM table_name_17 WHERE rank < 6 AND time = "1:57.01"
CREATE TABLE table_name_17 (lane INTEGER, rank VARCHAR, time VARCHAR)
What was the final score in game 15?
SELECT score FROM table_17001658_5 WHERE game = 15
CREATE TABLE table_17001658_5 (score VARCHAR, game VARCHAR)
What series # had an original air date of november 30, 1996?
SELECT MIN(series__number) FROM table_name_52 WHERE original_air_date = "november 30, 1996"
CREATE TABLE table_name_52 (series__number INTEGER, original_air_date VARCHAR)
What was the home team's score of the game where South Melbourne is the away team?
SELECT home_team AS score FROM table_name_77 WHERE away_team = "south melbourne"
CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR)
what is the year when the title is jotei?
SELECT SUM(year) FROM table_name_38 WHERE title = "jotei"
CREATE TABLE table_name_38 (year INTEGER, title VARCHAR)
Which cell type has a conduction speed of 35?
SELECT cell_type FROM table_name_15 WHERE conduction_speed__m_s_ = "35"
CREATE TABLE table_name_15 (cell_type VARCHAR, conduction_speed__m_s_ VARCHAR)
Who was the womens double winner when the womens singles winner was Ding Ning?
SELECT womens_doubles FROM table_28138035_32 WHERE womens_singles = "Ding Ning"
CREATE TABLE table_28138035_32 (womens_doubles VARCHAR, womens_singles VARCHAR)
Which state has the most customers?
SELECT state FROM customers GROUP BY state ORDER BY COUNT(*) LIMIT 1
CREATE TABLE customers (state VARCHAR)
If the longitude is -97.473110, what is the minimum geo id?
SELECT MIN(geo_id) FROM table_18600760_7 WHERE longitude = "-97.473110"
CREATE TABLE table_18600760_7 (geo_id INTEGER, longitude VARCHAR)
Where is the location where Scott Junk was the opponent?
SELECT location FROM table_name_89 WHERE opponent = "scott junk"
CREATE TABLE table_name_89 (location VARCHAR, opponent VARCHAR)
What is the last year that Andre Agassi was the final opponent?
SELECT MAX(year) FROM table_22834834_3 WHERE opponent_in_the_final = "Andre Agassi"
CREATE TABLE table_22834834_3 (year INTEGER, opponent_in_the_final VARCHAR)
What are all the vicinity (km²) where profits magnificence (2007) is 2nd
SELECT area__km²_ FROM table_255812_1 WHERE income_class__2007_ = "2nd"
CREATE TABLE table_255812_1 (area__km²_ VARCHAR, income_class__2007_ VARCHAR)
What was the score of the golfer from the united states who had a To par of e?
SELECT SUM(score) FROM table_name_96 WHERE to_par = "e" AND country = "united states"
CREATE TABLE table_name_96 (score INTEGER, to_par VARCHAR, country VARCHAR)
how many total with county being rooks county, kansas
SELECT COUNT(total) FROM table_13606924_1 WHERE county = "Rooks county, Kansas"
CREATE TABLE table_13606924_1 (total VARCHAR, county VARCHAR)
Name the sum of cuts with wins less than 2, top-25 more than 7 and top-10 less than 2
SELECT SUM(cuts_made) FROM table_name_80 WHERE wins < 2 AND top_25 > 7 AND top_10 < 2
CREATE TABLE table_name_80 (cuts_made INTEGER, top_10 VARCHAR, wins VARCHAR, top_25 VARCHAR)
Name the least enrollment for field hockey, men's swimming
SELECT MIN(enrollment) FROM table_24216139_2 WHERE sport = "Field hockey, men's swimming"
CREATE TABLE table_24216139_2 (enrollment INTEGER, sport VARCHAR)
what country has a score of 69-70-72=211?
SELECT place FROM table_name_63 WHERE score = 69 - 70 - 72 = 211
CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR)
What is the version with sbagen software?
SELECT version FROM table_15038373_1 WHERE software = "SBaGen"
CREATE TABLE table_15038373_1 (version VARCHAR, software VARCHAR)
Tell me the manner of departure for 3 january date of appointment
SELECT manner_of_departure FROM table_name_1 WHERE date_of_appointment = "3 january"
CREATE TABLE table_name_1 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)
What was the grid placement for the Maserati that completed 14 laps?
SELECT grid FROM table_name_40 WHERE constructor = "maserati" AND laps = 14
CREATE TABLE table_name_40 (grid VARCHAR, constructor VARCHAR, laps VARCHAR)
WHAT IS THE SCORE WITH A TIE NUMBER OF 13?
SELECT score FROM table_name_86 WHERE tie_no = "13"
CREATE TABLE table_name_86 (score VARCHAR, tie_no VARCHAR)
Name the order in office for spiro agnew
SELECT order_in_office FROM table_2026548_1 WHERE vice_president = "Spiro Agnew"
CREATE TABLE table_2026548_1 (order_in_office VARCHAR, vice_president VARCHAR)
Which Date has a Record of 4–2–0?
SELECT date FROM table_name_68 WHERE record = "4–2–0"
CREATE TABLE table_name_68 (date VARCHAR, record VARCHAR)
Show different nationalities along with the number of hosts of each nationality.
SELECT Nationality, COUNT(*) FROM HOST GROUP BY Nationality
CREATE TABLE HOST (Nationality VARCHAR)
Name the 2006 with 2003 of a and 2012 of a
SELECT 2006 FROM table_name_1 WHERE 2003 = "a" AND 2012 = "a"
CREATE TABLE table_name_1 (Id VARCHAR)
When hany abu-assad category:articles with hcards is the director what is the result?
SELECT result FROM table_26555737_1 WHERE director = "Hany Abu-Assad Category:Articles with hCards"
CREATE TABLE table_26555737_1 (result VARCHAR, director VARCHAR)
How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s was 801471?
SELECT COUNT(tot_enlisted) FROM table_23508196_2 WHERE enlisted_o_s = 801471
CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)
What score does Vasil Levski National Stadium, Sofia earn?
SELECT score FROM table_name_62 WHERE venue = "vasil levski national stadium, sofia"
CREATE TABLE table_name_62 (score VARCHAR, venue VARCHAR)
Who was on the Republican ticket for the office of Inspector of state prisons?
SELECT republican_ticket FROM table_name_8 WHERE office = "inspector of state prisons"
CREATE TABLE table_name_8 (republican_ticket VARCHAR, office VARCHAR)
What is the name of the podcast on November 21, 2004?
SELECT title FROM table_name_87 WHERE podcast_date = "november 21, 2004"
CREATE TABLE table_name_87 (title VARCHAR, podcast_date VARCHAR)
What is the lowest React, when Mark is 46.26 sb, and when Lane is greater than 6?
SELECT MIN(react) FROM table_name_61 WHERE mark = "46.26 sb" AND lane > 6
CREATE TABLE table_name_61 (react INTEGER, mark VARCHAR, lane VARCHAR)
List every individual's first name, middle name and last name in alphabetical order by last name.
SELECT individual_first_name, individual_middle_name, individual_last_name FROM individuals ORDER BY individual_last_name
CREATE TABLE individuals (individual_first_name VARCHAR, individual_middle_name VARCHAR, individual_last_name VARCHAR)
What regulations have carlos arzani as the winning driver?
SELECT regulations FROM table_name_13 WHERE winning_drivers = "carlos arzani"
CREATE TABLE table_name_13 (regulations VARCHAR, winning_drivers VARCHAR)
What country were the athletes where ranked smaller than 5 with notes listed as fb?
SELECT country FROM table_name_67 WHERE rank < 5 AND notes = "fb"
CREATE TABLE table_name_67 (country VARCHAR, rank VARCHAR, notes VARCHAR)
What is the height of the player who currently plays for Alta Gestión Fuenlabrada?
SELECT height FROM table_name_59 WHERE current_club = "alta gestión fuenlabrada"
CREATE TABLE table_name_59 (height VARCHAR, current_club VARCHAR)
What is the average Grid, when Laps is less than 24, when Bike is "Honda CBR1000RR", and when Rider is "Jason Pridmore"?
SELECT AVG(grid) FROM table_name_7 WHERE laps < 24 AND bike = "honda cbr1000rr" AND rider = "jason pridmore"
CREATE TABLE table_name_7 (grid INTEGER, rider VARCHAR, laps VARCHAR, bike VARCHAR)
How many Picks have a Position of kicker, and an Overall smaller than 137?
SELECT SUM(pick__number) FROM table_name_59 WHERE position = "kicker" AND overall < 137
CREATE TABLE table_name_59 (pick__number INTEGER, position VARCHAR, overall VARCHAR)