question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Season has a Year of 2005–06?
CREATE TABLE table_name_63 (season VARCHAR, year VARCHAR)
SELECT season FROM table_name_63 WHERE year = "2005–06"
In which series was his position NC† ?
CREATE TABLE table_25557880_1 (series VARCHAR, position VARCHAR)
SELECT series FROM table_25557880_1 WHERE position = "NC†"
What was the score of the match played on hard with a person ranked 10?
CREATE TABLE table_name_70 (score VARCHAR, surface VARCHAR, rank VARCHAR)
SELECT score FROM table_name_70 WHERE surface = "hard" AND rank = 10
How many places has the rank changed since 2006, for Clane?
CREATE TABLE table_1940144_1 (change_since_2006 VARCHAR, urban_area VARCHAR)
SELECT change_since_2006 FROM table_1940144_1 WHERE urban_area = "Clane"
What team played South Melbourne at their home game?
CREATE TABLE table_name_22 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_22 WHERE home_team = "south melbourne"
Which Males have a percentage of 0.42?
CREATE TABLE table_name_76 (males VARCHAR, percentage___percentage_ VARCHAR)
SELECT males FROM table_name_76 WHERE percentage___percentage_ = "0.42"
Which Score has a Date of may 20?
CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_76 WHERE date = "may 20"
What was the maximum speed for the P4-1 (24/36 ps)?
CREATE TABLE table_name_78 (vmax VARCHAR, type VARCHAR)
SELECT vmax FROM table_name_78 WHERE type = "p4-1 (24/36 ps)"
Who was the driver in round 4?
CREATE TABLE table_27913160_3 (driver VARCHAR, round VARCHAR)
SELECT driver FROM table_27913160_3 WHERE round = 4
What is the total number of points for entrants with a Jordan 192 chassis?
CREATE TABLE table_name_98 (pts INTEGER, chassis VARCHAR)
SELECT SUM(pts) FROM table_name_98 WHERE chassis = "jordan 192"
How many Againsts have Points larger than 31 and a Drawn larger than 6?
CREATE TABLE table_name_96 (against VARCHAR, points VARCHAR, drawn VARCHAR)
SELECT COUNT(against) FROM table_name_96 WHERE points > 31 AND drawn > 6
Who was the actor/actress with a first appearance is 3 june 2007?
CREATE TABLE table_25831483_1 (actor_actress VARCHAR, first_appearance VARCHAR)
SELECT actor_actress FROM table_25831483_1 WHERE first_appearance = "3 June 2007"
what are the minimum poles?
CREATE TABLE table_26178824_1 (poles INTEGER)
SELECT MIN(poles) FROM table_26178824_1
Name the surfaace where outcome is runner-up and championship is us open
CREATE TABLE table_1547951_3 (surface VARCHAR, outcome VARCHAR, championship VARCHAR)
SELECT surface FROM table_1547951_3 WHERE outcome = "Runner-up" AND championship = "US Open"
How many credits does course CIS-220 have, and what its description?
CREATE TABLE course (crs_credit VARCHAR, crs_description VARCHAR, crs_code VARCHAR)
SELECT crs_credit, crs_description FROM course WHERE crs_code = 'CIS-220'
Which Car # has a Driver of ryan newman, and a Position larger than 10?
CREATE TABLE table_name_39 (car__number INTEGER, driver VARCHAR, pos VARCHAR)
SELECT MIN(car__number) FROM table_name_39 WHERE driver = "ryan newman" AND pos > 10
Name the delegate first elected in 2003?
CREATE TABLE table_14009909_1 (delegate VARCHAR, first_elected VARCHAR)
SELECT delegate FROM table_14009909_1 WHERE first_elected = 2003
What number of Congress has 44 cosponsors?
CREATE TABLE table_name_97 (congress VARCHAR, _number_of_cosponsors VARCHAR)
SELECT congress FROM table_name_97 WHERE _number_of_cosponsors = 44
What is Player, when Country is "England", and when Place is "T7"?
CREATE TABLE table_name_50 (player VARCHAR, country VARCHAR, place VARCHAR)
SELECT player FROM table_name_50 WHERE country = "england" AND place = "t7"
what is robin's stat when jason was 2.5
CREATE TABLE table_19744915_3 (robin VARCHAR, jason VARCHAR)
SELECT robin FROM table_19744915_3 WHERE jason = "2.5"
What is the fewest losses for teams with points of 53 and more than 73 goals for?
CREATE TABLE table_name_23 (lost INTEGER, points_1 VARCHAR, goals_for VARCHAR)
SELECT MIN(lost) FROM table_name_23 WHERE points_1 = "53" AND goals_for > 73
What is Patrice Bergeron's rating?
CREATE TABLE table_name_62 (rating VARCHAR, player VARCHAR)
SELECT rating FROM table_name_62 WHERE player = "patrice bergeron"
What is the strongs transliteration of the hebrew word יוֹחָנָן?
CREATE TABLE table_1242447_1 (strongs_transliteration VARCHAR, hebrew_word VARCHAR)
SELECT strongs_transliteration FROM table_1242447_1 WHERE hebrew_word = "יוֹחָנָן"
What is the series score of the game on April 16?
CREATE TABLE table_name_55 (series VARCHAR, date VARCHAR)
SELECT series FROM table_name_55 WHERE date = "april 16"
What is the Set 3 with a Score of 3–1, and has a Set 2 of 13–15?
CREATE TABLE table_name_7 (set_3 VARCHAR, score VARCHAR, set_2 VARCHAR)
SELECT set_3 FROM table_name_7 WHERE score = "3–1" AND set_2 = "13–15"
What is the owner of the channel that has the highest rating ratio?
CREATE TABLE channel (OWNER VARCHAR, rating_in_percent VARCHAR)
SELECT OWNER FROM channel ORDER BY rating_in_percent DESC LIMIT 1
What's the song of artist liam reilly?
CREATE TABLE table_name_8 (song VARCHAR, artist VARCHAR)
SELECT song FROM table_name_8 WHERE artist = "liam reilly"
What is the Home team on February 2, 1947?
CREATE TABLE table_name_68 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_68 WHERE date = "february 2, 1947"
What is the 110m H number when the overall points are 7835 (sb)?
CREATE TABLE table_name_85 (overall_points VARCHAR)
SELECT 110 AS _m_h FROM table_name_85 WHERE overall_points = "7835 (sb)"
how many mens singles with mens doubles being pontus jantti lasse lindelöf
CREATE TABLE table_13857700_1 (mens_singles VARCHAR, mens_doubles VARCHAR)
SELECT COUNT(mens_singles) FROM table_13857700_1 WHERE mens_doubles = "Pontus Jantti Lasse Lindelöf"
On what date is the venue Sam Nujoma Stadium, Windhoek, Namibia?
CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_87 WHERE venue = "sam nujoma stadium, windhoek, namibia"
What is the grid total for jean-pierre beltoise?
CREATE TABLE table_name_73 (grid VARCHAR, driver VARCHAR)
SELECT COUNT(grid) FROM table_name_73 WHERE driver = "jean-pierre beltoise"
How many people finished 9th?
CREATE TABLE table_14345690_3 (exited VARCHAR, finished VARCHAR)
SELECT COUNT(exited) FROM table_14345690_3 WHERE finished = "9th"
What was the most laps with a finish of 10 and qualification of 106.185?
CREATE TABLE table_name_84 (laps INTEGER, finish VARCHAR, qual VARCHAR)
SELECT MAX(laps) FROM table_name_84 WHERE finish = "10" AND qual = "106.185"
What was Laura Diaz's score for place t9?
CREATE TABLE table_name_72 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT score FROM table_name_72 WHERE place = "t9" AND player = "laura diaz"
Name the name of the state
CREATE TABLE table_15463188_7 (name VARCHAR, school_club_team VARCHAR)
SELECT name FROM table_15463188_7 WHERE school_club_team = "State"
who were the candidates for district ohio 6?
CREATE TABLE table_1341598_36 (candidates VARCHAR, district VARCHAR)
SELECT candidates FROM table_1341598_36 WHERE district = "Ohio 6"
Which venue held the Euro 2012 Qualifier?
CREATE TABLE table_name_80 (venue VARCHAR, competition VARCHAR)
SELECT venue FROM table_name_80 WHERE competition = "euro 2012 qualifier"
How many times did Public Policy Polling under Republican: Jack Hoogendyk?
CREATE TABLE table_16751596_6 (republican VARCHAR, poll_source VARCHAR)
SELECT COUNT(republican) AS :_jack_hoogendyk FROM table_16751596_6 WHERE poll_source = "Public Policy Polling"
Name the tournament for 2012 grand slam tournaments
CREATE TABLE table_name_32 (tournament VARCHAR)
SELECT tournament FROM table_name_32 WHERE 2012 = "grand slam tournaments"
Who has the event of 36 arrow finals?
CREATE TABLE table_name_81 (name VARCHAR, event VARCHAR)
SELECT name FROM table_name_81 WHERE event = "36 arrow finals"
I want the average events for top 10 less than 4
CREATE TABLE table_name_17 (events INTEGER, top_10 INTEGER)
SELECT AVG(events) FROM table_name_17 WHERE top_10 < 4
How many Inhabitants were there after 2009 in the Municipality with a Party of union for trentino?
CREATE TABLE table_name_7 (inhabitants INTEGER, party VARCHAR, election VARCHAR)
SELECT AVG(inhabitants) FROM table_name_7 WHERE party = "union for trentino" AND election > 2009
What is the Years in Orlando for carlos arroyo?
CREATE TABLE table_name_6 (years_in_orlando VARCHAR, player VARCHAR)
SELECT years_in_orlando FROM table_name_6 WHERE player = "carlos arroyo"
Find the names of reviewers who had given higher than 3 star ratings.
CREATE TABLE Reviewer (name VARCHAR, rID VARCHAR); CREATE TABLE Rating (rID VARCHAR, stars INTEGER)
SELECT T2.name FROM Rating AS T1 JOIN Reviewer AS T2 ON T1.rID = T2.rID WHERE T1.stars > 3
what is the lowest number of sites when the headquarters are in columbus, ga and the rank is smaller than 4?
CREATE TABLE table_name_33 (sites INTEGER, headquarters VARCHAR, rank VARCHAR)
SELECT MIN(sites) FROM table_name_33 WHERE headquarters = "columbus, ga" AND rank < 4
When was the score l 111–122 (ot)?
CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_84 WHERE score = "l 111–122 (ot)"
Find the start and end dates of detentions of teachers with last name "Schultz".
CREATE TABLE Detention (datetime_detention_start VARCHAR, teacher_id VARCHAR); CREATE TABLE Teachers (teacher_id VARCHAR, last_name VARCHAR)
SELECT T1.datetime_detention_start, datetime_detention_end FROM Detention AS T1 JOIN Teachers AS T2 ON T1.teacher_id = T2.teacher_id WHERE T2.last_name = "Schultz"
How many times were Duke the opponents?
CREATE TABLE table_20745444_1 (opponents VARCHAR, opponent VARCHAR)
SELECT COUNT(opponents) FROM table_20745444_1 WHERE opponent = "Duke"
What is the average number of tries of player israel folau?
CREATE TABLE table_name_25 (tries INTEGER, player VARCHAR)
SELECT AVG(tries) FROM table_name_25 WHERE player = "israel folau"
What is the highest Amerindian (Hispanic/Non-Hispanic) value having a Black (Hispanic/Non-Hispanic) of 15.7 and White (Hispanic/Non-Hispanic) over 69.5?
CREATE TABLE table_name_67 (amerindian__both_hispanic_and_non_hispanic_ INTEGER, black__both_hispanic_and_non_hispanic_ VARCHAR, white__both_hispanic_and_non_hispanic_ VARCHAR)
SELECT MAX(amerindian__both_hispanic_and_non_hispanic_) FROM table_name_67 WHERE black__both_hispanic_and_non_hispanic_ = 15.7 AND white__both_hispanic_and_non_hispanic_ > 69.5
What date was marcos daniel the opponent?
CREATE TABLE table_name_16 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_16 WHERE opponent = "marcos daniel"
Where was the landing site when the duration on the lunar surface was 21:31?
CREATE TABLE table_name_52 (lunar_landing_site VARCHAR, duration_on_lunar_surface VARCHAR)
SELECT lunar_landing_site FROM table_name_52 WHERE duration_on_lunar_surface = "21:31"
For Saint-Paul parish, if it has an area of over 228.65 kilometers how many people live there?
CREATE TABLE table_name_59 (population VARCHAR, official_name VARCHAR, area_km_2 VARCHAR)
SELECT COUNT(population) FROM table_name_59 WHERE official_name = "saint-paul" AND area_km_2 > 228.65
Who was the opponent when the result was ud 12/12 and date was 1993-05-22?
CREATE TABLE table_12206918_2 (opponent VARCHAR, result VARCHAR, date VARCHAR)
SELECT opponent FROM table_12206918_2 WHERE result = "UD 12/12" AND date = "1993-05-22"
What sport has a Gold larger than 0, and a Silver of 2?
CREATE TABLE table_name_7 (sport VARCHAR, gold VARCHAR, silver VARCHAR)
SELECT sport FROM table_name_7 WHERE gold > 0 AND silver = 2
What is the rank of Lee Trevino, who had less than 27 wins?
CREATE TABLE table_name_89 (rank INTEGER, player VARCHAR, wins VARCHAR)
SELECT SUM(rank) FROM table_name_89 WHERE player = "lee trevino" AND wins < 27
What driver has 5 as the zan 2?
CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)
SELECT driver FROM table_name_69 WHERE zan_2 = "5"
What was the series score on april 17 with minnesota at home?
CREATE TABLE table_name_52 (series VARCHAR, home VARCHAR, date VARCHAR)
SELECT series FROM table_name_52 WHERE home = "minnesota" AND date = "april 17"
Name the james e. holmes for joe baez
CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, rockingham_county VARCHAR)
SELECT james_e_holmes FROM table_25330991_3 WHERE rockingham_county = "Joe Baez"
Name the aggregate with opponents of tauras
CREATE TABLE table_name_65 (aggregate VARCHAR, opponents VARCHAR)
SELECT aggregate FROM table_name_65 WHERE opponents = "tauras"
What is the hometown of player Jason Place?
CREATE TABLE table_11677100_12 (hometown VARCHAR, player VARCHAR)
SELECT hometown FROM table_11677100_12 WHERE player = "Jason Place"
How many kitmaker correspond to team ittihad kalba?
CREATE TABLE table_27631756_2 (kitmaker VARCHAR, team VARCHAR)
SELECT COUNT(kitmaker) FROM table_27631756_2 WHERE team = "Ittihad Kalba"
What was the date with a resulted score of 130-100?
CREATE TABLE table_name_16 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_16 WHERE score = "130-100"
Which friendly competition took place on 19 April 1979?
CREATE TABLE table_name_37 (score VARCHAR, competition VARCHAR, date VARCHAR)
SELECT score FROM table_name_37 WHERE competition = "friendly" AND date = "19 april 1979"
What is the Att-Cmp-Int for the player with a efficiency of 117.4?
CREATE TABLE table_name_72 (att_cmp_int VARCHAR, effic VARCHAR)
SELECT att_cmp_int FROM table_name_72 WHERE effic = 117.4
where would you find a public university which was founded in 1915?
CREATE TABLE table_2076463_2 (location_s_ VARCHAR, control VARCHAR, founded VARCHAR)
SELECT location_s_ FROM table_2076463_2 WHERE control = "Public university" AND founded = 1915
What was the start source that ended on 4 May?
CREATE TABLE table_name_72 (start_source VARCHAR, ended VARCHAR)
SELECT start_source FROM table_name_72 WHERE ended = "4 may"
what is the height when the locale is nepean sea road, floors is more than 30 and sr no is 58?
CREATE TABLE table_name_99 (height VARCHAR, sr_no VARCHAR, locale VARCHAR, floors VARCHAR)
SELECT height FROM table_name_99 WHERE locale = "nepean sea road" AND floors > 30 AND sr_no = 58
What was South Melbourne's home team score?
CREATE TABLE table_name_90 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_90 WHERE home_team = "south melbourne"
Name the date that had a score of 7–6(4), 6–1
CREATE TABLE table_name_98 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_98 WHERE score = "7–6(4), 6–1"
What CFL team did Kelly Bates play for?
CREATE TABLE table_name_32 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_name_32 WHERE player = "kelly bates"
What is the date for the MF position and player Jennison Myrie-Williams?
CREATE TABLE table_name_50 (date_from VARCHAR, position VARCHAR, name VARCHAR)
SELECT date_from FROM table_name_50 WHERE position = "mf" AND name = "jennison myrie-williams"
What is the lane for notes Q, SB and time less than 11.22?
CREATE TABLE table_name_31 (lane INTEGER, notes VARCHAR, time___sec__ VARCHAR)
SELECT SUM(lane) FROM table_name_31 WHERE notes = "q, sb" AND time___sec__ < 11.22
What team did he compete for in the GP3 series?
CREATE TABLE table_20500097_1 (team VARCHAR, series VARCHAR)
SELECT team FROM table_20500097_1 WHERE series = "GP3 series"
Which species show a negative result with both voges-proskauer and indole?
CREATE TABLE table_16083989_1 (species VARCHAR, voges_proskauer VARCHAR, indole VARCHAR)
SELECT species FROM table_16083989_1 WHERE voges_proskauer = "Negative" AND indole = "Negative"
What was the score when essendon was the home team?
CREATE TABLE table_name_75 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_75 WHERE home_team = "essendon"
What is the Result that has the New York Rangers as the Offer Team and Adam Graves as the Player?
CREATE TABLE table_name_79 (result VARCHAR, offer_team VARCHAR, player VARCHAR)
SELECT result FROM table_name_79 WHERE offer_team = "new york rangers" AND player = "adam graves"
Name the starts for bobby labonte
CREATE TABLE table_27786562_1 (starts VARCHAR, driver VARCHAR)
SELECT starts FROM table_27786562_1 WHERE driver = "Bobby Labonte"
Name the 2003 which has a 2000 of —, and a 2007 of —, and a 2010 of —?
CREATE TABLE table_name_33 (Id VARCHAR)
SELECT 2003 FROM table_name_33 WHERE 2000 = "—" AND 2007 = "—" AND 2010 = "—"
find all dependent names who have a spouse relation with some employee.
CREATE TABLE dependent (Dependent_name VARCHAR, relationship VARCHAR)
SELECT Dependent_name FROM dependent WHERE relationship = 'Spouse'
WHAT DATE DID JOE SESTAK HAVE 46% WITH ± 3.0% MARGIN OF ERROR?
CREATE TABLE table_name_49 (date_s__administered VARCHAR, joe_sestak__d_ VARCHAR, margin_of_error VARCHAR)
SELECT date_s__administered FROM table_name_49 WHERE joe_sestak__d_ = "46%" AND margin_of_error = "± 3.0%"
What is the service chage of the boat howitzers with a 12-pdr light destination?
CREATE TABLE table_name_42 (service_charge VARCHAR, designation VARCHAR)
SELECT service_charge FROM table_name_42 WHERE designation = "12-pdr light"
The Europe listing of 117 0 (8) belongs to what league?
CREATE TABLE table_name_5 (league VARCHAR, europe VARCHAR)
SELECT league FROM table_name_5 WHERE europe = "117 0 (8)"
Which date has a format's album?
CREATE TABLE table_name_31 (date VARCHAR, format_s_ VARCHAR)
SELECT date FROM table_name_31 WHERE format_s_ = "album"
What are the clean and jerk score of the body builder with the highest total score?
CREATE TABLE body_builder (Clean_Jerk VARCHAR, Total VARCHAR)
SELECT Clean_Jerk FROM body_builder ORDER BY Total DESC LIMIT 1
Who is the partner in the final with a score of 2–6, 7–6, 7–6?
CREATE TABLE table_name_10 (partner VARCHAR, score_in_the_final VARCHAR)
SELECT partner FROM table_name_10 WHERE score_in_the_final = "2–6, 7–6, 7–6"
What was the record at week 9?
CREATE TABLE table_name_26 (record VARCHAR, week VARCHAR)
SELECT record FROM table_name_26 WHERE week = "9"
What is noriyuki haga's time?
CREATE TABLE table_name_69 (time VARCHAR, rider VARCHAR)
SELECT time FROM table_name_69 WHERE rider = "noriyuki haga"
Which country has a qualsiasi tranne sky hd package/option?
CREATE TABLE table_name_21 (country VARCHAR, package_option VARCHAR)
SELECT country FROM table_name_21 WHERE package_option = "qualsiasi tranne sky hd"
What is the highest pennant number with ships in raahe class?
CREATE TABLE table_name_54 (pennant_number INTEGER, ships_in_class VARCHAR)
SELECT MAX(pennant_number) FROM table_name_54 WHERE ships_in_class = "raahe"
What was Andretti's finish for the year he had a Buick engine and started 16th?
CREATE TABLE table_name_50 (finish VARCHAR, engine VARCHAR, start VARCHAR)
SELECT finish FROM table_name_50 WHERE engine = "buick" AND start = "16th"
What is the winning score for Tournament of linde german masters with a margin of victory of 1 stroke?
CREATE TABLE table_name_67 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
SELECT winning_score FROM table_name_67 WHERE margin_of_victory = "1 stroke" AND tournament = "linde german masters"
Team Estudantes Paulista with a position less than 4 has what average against?
CREATE TABLE table_name_78 (against INTEGER, team VARCHAR, position VARCHAR)
SELECT AVG(against) FROM table_name_78 WHERE team = "estudantes paulista" AND position < 4
What is the purse total for the royal caribbean golf classic?
CREATE TABLE table_name_5 (purse__ INTEGER, tournament VARCHAR)
SELECT SUM(purse__) AS $__ FROM table_name_5 WHERE tournament = "royal caribbean golf classic"
Which campus has the most faculties in year 2003?
CREATE TABLE faculty (campus VARCHAR, year VARCHAR, faculty VARCHAR); CREATE TABLE campuses (campus VARCHAR, id VARCHAR)
SELECT T1.campus FROM campuses AS T1 JOIN faculty AS T2 ON T1.id = T2.campus WHERE T2.year = 2003 ORDER BY T2.faculty DESC LIMIT 1
What is the average number conceded for hte team that had less than 19 points, played more than 18 games and had a position less than 10?
CREATE TABLE table_name_65 (conceded INTEGER, played VARCHAR, points VARCHAR, position VARCHAR)
SELECT AVG(conceded) FROM table_name_65 WHERE points < 19 AND position < 10 AND played > 18
Which Game is the highest that has a January of 28?
CREATE TABLE table_name_51 (game INTEGER, january VARCHAR)
SELECT MAX(game) FROM table_name_51 WHERE january = 28
What is the record on April 3?
CREATE TABLE table_name_86 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_86 WHERE date = "april 3"
Name the pole position for 8 september
CREATE TABLE table_name_35 (pole_position VARCHAR, date VARCHAR)
SELECT pole_position FROM table_name_35 WHERE date = "8 september"