question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What was the score on April 6, 2008?
CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_12 WHERE date = "april 6, 2008"
What conference includes the Indians?
CREATE TABLE table_name_40 (conference_joined VARCHAR, mascot VARCHAR)
SELECT conference_joined FROM table_name_40 WHERE mascot = "indians"
Which Heat has a Nation of australia, and a Rank larger than 7?
CREATE TABLE table_name_36 (heat INTEGER, nation VARCHAR, rank VARCHAR)
SELECT MAX(heat) FROM table_name_36 WHERE nation = "australia" AND rank > 7
Name the date for record of 74-84
CREATE TABLE table_name_20 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_20 WHERE record = "74-84"
What was the score at 3:27?
CREATE TABLE table_name_8 (score VARCHAR, time VARCHAR)
SELECT score FROM table_name_8 WHERE time = "3:27"
Find the states where have some college students in tryout.
CREATE TABLE college (cName VARCHAR); CREATE TABLE tryout (cName VARCHAR)
SELECT DISTINCT state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName
What's the website of the school in Macon, Illinois?
CREATE TABLE table_29612224_1 (school_website VARCHAR, location VARCHAR)
SELECT school_website FROM table_29612224_1 WHERE location = "Macon, Illinois"
What was the result for the film with the English name of Morning Undersea?
CREATE TABLE table_22118197_1 (result VARCHAR, english_title VARCHAR)
SELECT result FROM table_22118197_1 WHERE english_title = "Morning Undersea"
what is the game on june 29?
CREATE TABLE table_name_75 (game INTEGER, date VARCHAR)
SELECT SUM(game) FROM table_name_75 WHERE date = "june 29"
How many viewers in millions did the Alison McDonald episode get?
CREATE TABLE table_26961951_4 (us_viewers__million_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__million_ FROM table_26961951_4 WHERE written_by = "Alison McDonald"
What is the lowest height for Rans Brempong?
CREATE TABLE table_name_37 (height INTEGER, player VARCHAR)
SELECT MIN(height) FROM table_name_37 WHERE player = "rans brempong"
Which species is male?
CREATE TABLE table_name_70 (species VARCHAR, gender VARCHAR)
SELECT species FROM table_name_70 WHERE gender = "male"
What is hte license for beeone smod/hms software?
CREATE TABLE table_15038373_1 (license VARCHAR, software VARCHAR)
SELECT license FROM table_15038373_1 WHERE software = "BeeOne SMOD/HMS"
What is Score, when Outcome is Loser, and when Edition is 2011?
CREATE TABLE table_name_32 (score VARCHAR, outcome VARCHAR, edition VARCHAR)
SELECT score FROM table_name_32 WHERE outcome = "loser" AND edition = 2011
What is the lowest number of wins where the losses are more than 12 and the draws are less than 0?
CREATE TABLE table_name_27 (wins INTEGER, losses VARCHAR, draws VARCHAR)
SELECT MIN(wins) FROM table_name_27 WHERE losses > 12 AND draws < 0
what is the tie no when the attendance is 126?
CREATE TABLE table_name_66 (tie_no INTEGER, attendance VARCHAR)
SELECT AVG(tie_no) FROM table_name_66 WHERE attendance = 126
What is the Retail name with a Chipset based on with radeon 9200?
CREATE TABLE table_name_1 (retail_name VARCHAR, chipset_based_on VARCHAR)
SELECT retail_name FROM table_name_1 WHERE chipset_based_on = "radeon 9200"
What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18?
CREATE TABLE table_name_16 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR)
SELECT total FROM table_name_16 WHERE score = "3-0" AND set_3 = "25-18" AND set_2 = "25-12"
What Tournament had a Score in Final of 5–7, 4–6?
CREATE TABLE table_name_43 (tournament VARCHAR, score_in_final VARCHAR)
SELECT tournament FROM table_name_43 WHERE score_in_final = "5–7, 4–6"
Who had a high rebound where the associated record is 11-13?
CREATE TABLE table_17104539_10 (high_rebounds VARCHAR, record VARCHAR)
SELECT high_rebounds FROM table_17104539_10 WHERE record = "11-13"
What is the shoulder measurement of the gun with a length of 57.85 (2.278)?
CREATE TABLE table_name_36 (shoulder VARCHAR, length VARCHAR)
SELECT shoulder FROM table_name_36 WHERE length = "57.85 (2.278)"
Which is the email of the party that has used the services the most number of times?
CREATE TABLE parties (party_email VARCHAR, party_id VARCHAR); CREATE TABLE party_services (customer_id VARCHAR)
SELECT t1.party_email FROM parties AS t1 JOIN party_services AS t2 ON t1.party_id = t2.customer_id GROUP BY t1.party_email ORDER BY COUNT(*) DESC LIMIT 1
What was actor Teresa Graves's series before the year 1993?
CREATE TABLE table_name_82 (series VARCHAR, year VARCHAR, actor VARCHAR)
SELECT series FROM table_name_82 WHERE year < 1993 AND actor = "teresa graves"
When were the callback auditions at Hilton Riverside Hotel held?
CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, callback_venue VARCHAR)
SELECT callback_audition_date FROM table_27455867_1 WHERE callback_venue = "Hilton Riverside Hotel"
For what tournament is the 1990 0 / 4?
CREATE TABLE table_name_83 (tournament VARCHAR)
SELECT tournament FROM table_name_83 WHERE 1990 = "0 / 4"
What is the number of games lost when goal difference is +13 and draws are more than 12?
CREATE TABLE table_name_65 (lost VARCHAR, goal_difference VARCHAR, drawn VARCHAR)
SELECT COUNT(lost) FROM table_name_65 WHERE goal_difference = "+13" AND drawn > 12
Name the player with pick number of 7
CREATE TABLE table_name_63 (player VARCHAR, pick__number VARCHAR)
SELECT player FROM table_name_63 WHERE pick__number = 7
Which Runner(s)-up has a Margin of victory of 1 stroke, and a Tournament of world seniors invitational?
CREATE TABLE table_name_34 (runner_s__up VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)
SELECT runner_s__up FROM table_name_34 WHERE margin_of_victory = "1 stroke" AND tournament = "world seniors invitational"
Find the number of different states which banks are located at.
CREATE TABLE bank (state VARCHAR)
SELECT COUNT(DISTINCT state) FROM bank
How many attended the game on 4 February 2003?
CREATE TABLE table_name_81 (attendance INTEGER, date VARCHAR)
SELECT AVG(attendance) FROM table_name_81 WHERE date = "4 february 2003"
If the district ID is 74907, what is the name of the district?
CREATE TABLE table_22665117_1 (district_name VARCHAR, dist_id VARCHAR)
SELECT district_name FROM table_22665117_1 WHERE dist_id = 74907
When pinyin is xīnluó qū, what is the simplified value?
CREATE TABLE table_1204998_2 (simplified VARCHAR, pinyin VARCHAR)
SELECT COUNT(simplified) FROM table_1204998_2 WHERE pinyin = "Xīnluó Qū"
What was the guernsey record set with a fish caught at Bordeaux Harbour?
CREATE TABLE table_name_80 (guernsey_record VARCHAR, location VARCHAR)
SELECT guernsey_record FROM table_name_80 WHERE location = "bordeaux harbour"
What is the transmitter location for city of Maryborough?
CREATE TABLE table_name_95 (transmitter_location VARCHAR, city VARCHAR)
SELECT transmitter_location FROM table_name_95 WHERE city = "maryborough"
Name the number of poles for fastest laps being 6
CREATE TABLE table_2725949_6 (poles VARCHAR, fastest_laps VARCHAR)
SELECT COUNT(poles) FROM table_2725949_6 WHERE fastest_laps = 6
Name the evening gown for swimsuit more than 9.51 for maryland
CREATE TABLE table_name_90 (evening_gown VARCHAR, swimsuit VARCHAR, country VARCHAR)
SELECT evening_gown FROM table_name_90 WHERE swimsuit > 9.51 AND country = "maryland"
What is the result F-A with an H/A of h and more than 31,727 attending?
CREATE TABLE table_name_11 (result_f___a VARCHAR, h___a VARCHAR, attendance VARCHAR)
SELECT result_f___a FROM table_name_11 WHERE h___a = "h" AND attendance > 31 OFFSET 727
What catalog has june 1990 as the date?
CREATE TABLE table_name_73 (catalog VARCHAR, date VARCHAR)
SELECT catalog FROM table_name_73 WHERE date = "june 1990"
What is the final standing in 1981–82?
CREATE TABLE table_name_58 (final_standing VARCHAR, years VARCHAR)
SELECT final_standing FROM table_name_58 WHERE years = "1981–82"
Which Score has a Opponent of Boston red sox and a Save of sager?
CREATE TABLE table_name_8 (score VARCHAR, opponent VARCHAR, save VARCHAR)
SELECT score FROM table_name_8 WHERE opponent = "boston red sox" AND save = "sager"
What is the FCC information of 104.5 fm frequency?
CREATE TABLE table_name_68 (fcc_info VARCHAR, frequency_mhz VARCHAR)
SELECT fcc_info FROM table_name_68 WHERE frequency_mhz = "104.5 fm"
Name the school/club for guard
CREATE TABLE table_15463188_1 (school_club_team VARCHAR, position VARCHAR)
SELECT school_club_team FROM table_15463188_1 WHERE position = "Guard"
Which Games had a Name of manuel felix diaz?
CREATE TABLE table_name_64 (games VARCHAR, name VARCHAR)
SELECT games FROM table_name_64 WHERE name = "manuel felix diaz"
What were the odds for the finish of 1/4h?
CREATE TABLE table_name_14 (odds VARCHAR, finish VARCHAR)
SELECT odds FROM table_name_14 WHERE finish = "1/4h"
What is the party affiliation of Virginia Foxx?
CREATE TABLE table_name_57 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_name_57 WHERE incumbent = "virginia foxx"
What is the sum of the points of the game with philadelphia as the visitor and an attendance greater than 7,284?
CREATE TABLE table_name_26 (points INTEGER, visitor VARCHAR, attendance VARCHAR)
SELECT SUM(points) FROM table_name_26 WHERE visitor = "philadelphia" AND attendance > 7 OFFSET 284
what's the pole position with location being hockenheimring
CREATE TABLE table_1140074_2 (pole_position VARCHAR, location VARCHAR)
SELECT pole_position FROM table_1140074_2 WHERE location = "Hockenheimring"
What's the pos for an asts less than 117?
CREATE TABLE table_name_52 (pos VARCHAR, asts INTEGER)
SELECT pos FROM table_name_52 WHERE asts < 117
What was the date of the game with a result of won 4-2?
CREATE TABLE table_name_15 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_15 WHERE result = "won 4-2"
How many elverum are tehre for et sted i scandinavia?
CREATE TABLE table_19439864_2 (elverum VARCHAR, song VARCHAR)
SELECT COUNT(elverum) FROM table_19439864_2 WHERE song = "Et sted i Scandinavia"
Name the number for fifth district for richard houskamp
CREATE TABLE table_15442974_1 (fifth_district VARCHAR, third_district VARCHAR)
SELECT COUNT(fifth_district) FROM table_15442974_1 WHERE third_district = "Richard Houskamp"
When was the film released that a less than 5038 production number and was of the character Bosko?
CREATE TABLE table_name_21 (release_date VARCHAR, production_num VARCHAR, characters VARCHAR)
SELECT release_date FROM table_name_21 WHERE production_num < 5038 AND characters = "bosko"
At what location did the event that used electric traction and system name ATM (1880–1911) GETA (1911–1944) occur?
CREATE TABLE table_name_5 (location VARCHAR, name_of_system VARCHAR, traction_type VARCHAR)
SELECT location FROM table_name_5 WHERE name_of_system = "atm (1880–1911) geta (1911–1944)" AND traction_type = "electric"
In what state is the Thomas Assembly Center located?
CREATE TABLE table_name_5 (state VARCHAR, venue VARCHAR)
SELECT state FROM table_name_5 WHERE venue = "thomas assembly center"
What date was the score of 6–3 6–4?
CREATE TABLE table_name_53 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_53 WHERE score = "6–3 6–4"
What nation was Pageos 1 from?
CREATE TABLE table_2150068_1 (nation VARCHAR, satellite VARCHAR)
SELECT nation FROM table_2150068_1 WHERE satellite = "PAGEOS 1"
Which Outcome that has a Tournament of milan , italy?
CREATE TABLE table_name_19 (outcome VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_19 WHERE tournament = "milan , italy"
what is 1958 when 1957 is 2 and 1956 is 3?
CREATE TABLE table_name_67 (Id VARCHAR)
SELECT 1958 FROM table_name_67 WHERE 1957 = "2" AND 1956 = "3"
Who was the home team for the game played on November 2, 2007?
CREATE TABLE table_name_69 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_69 WHERE date = "november 2, 2007"
When the nominee(s) is john wells what is the episode for a year before 2004?
CREATE TABLE table_name_64 (episode VARCHAR, year VARCHAR, nominee_s_ VARCHAR)
SELECT episode FROM table_name_64 WHERE year < 2004 AND nominee_s_ = "john wells"
What was the attendance at the game that had a score of 16–7?
CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_8 WHERE score = "16–7"
Who wrote Episode #3?
CREATE TABLE table_10470082_6 (writer VARCHAR, _number VARCHAR)
SELECT writer FROM table_10470082_6 WHERE _number = 3
What were the points against in a game that was played correct as of 2009-05-16?
CREATE TABLE table_name_99 (points_against VARCHAR, played VARCHAR)
SELECT points_against FROM table_name_99 WHERE played = "correct as of 2009-05-16"
Who were all of the opponents when the date was November 12, 1978?
CREATE TABLE table_14945112_1 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_14945112_1 WHERE date = "November 12, 1978"
WHAT POSITION IS 273?
CREATE TABLE table_name_26 (position VARCHAR, overall VARCHAR)
SELECT position FROM table_name_26 WHERE overall = 273
What rank did Poland receive with a time of 1:50.12?
CREATE TABLE table_name_43 (rank VARCHAR, nationality VARCHAR, time VARCHAR)
SELECT rank FROM table_name_43 WHERE nationality = "poland" AND time = "1:50.12"
Name the number of reason for change on may 11, 1939
CREATE TABLE table_2160008_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR)
SELECT COUNT(reason_for_change) FROM table_2160008_4 WHERE date_successor_seated = "May 11, 1939"
When is the release date for a chip that has a Frequency of 2300mhz?
CREATE TABLE table_name_88 (release_date VARCHAR, frequency VARCHAR)
SELECT release_date FROM table_name_88 WHERE frequency = "2300mhz"
What is the smallest population recorded back in 2002?
CREATE TABLE table_13764346_1 (Id VARCHAR)
SELECT MIN(2002 AS _population) FROM table_13764346_1
What's the wind when the time was 19.32?
CREATE TABLE table_name_83 (wind VARCHAR, time VARCHAR)
SELECT wind FROM table_name_83 WHERE time = "19.32"
What was the position of the player from the college of Nevada with a round over 5?
CREATE TABLE table_name_23 (position VARCHAR, round VARCHAR, college VARCHAR)
SELECT position FROM table_name_23 WHERE round > 5 AND college = "nevada"
Name the D 46 which has a D 43 of majority→
CREATE TABLE table_name_34 (d_46 VARCHAR, d_43 VARCHAR)
SELECT d_46 FROM table_name_34 WHERE d_43 = "majority→"
What is the round when the match was against sergis kyratzis?
CREATE TABLE table_name_21 (round VARCHAR, opponent VARCHAR)
SELECT round FROM table_name_21 WHERE opponent = "sergis kyratzis"
Who is the Opponent in the game with a Record of 1–3–0?
CREATE TABLE table_name_26 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_26 WHERE record = "1–3–0"
Where did Brendon Labatte get picked?
CREATE TABLE table_16575609_1 (pick__number INTEGER, player VARCHAR)
SELECT MIN(pick__number) FROM table_16575609_1 WHERE player = "Brendon LaBatte"
What tournament had a winning score of –9 (69-71-67=207)?
CREATE TABLE table_name_72 (tournament VARCHAR, winning_score VARCHAR)
SELECT tournament FROM table_name_72 WHERE winning_score = –9(69 - 71 - 67 = 207)
Which Station has a Zone 2010 of 7?
CREATE TABLE table_name_65 (station VARCHAR, zone_2010 VARCHAR)
SELECT station FROM table_name_65 WHERE zone_2010 = "7"
When Ernie Els placed t2, what was his To par?
CREATE TABLE table_name_3 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_3 WHERE place = "t2" AND player = "ernie els"
Name the common name for furcifer pardalis
CREATE TABLE table_175442_1 (common_name VARCHAR, scientific_name VARCHAR)
SELECT common_name FROM table_175442_1 WHERE scientific_name = "Furcifer pardalis"
What Binibining Pilipinas-International has a Year of 1975?
CREATE TABLE table_name_2 (binibining_pilipinas_international VARCHAR, year VARCHAR)
SELECT binibining_pilipinas_international FROM table_name_2 WHERE year = 1975
Tell me the winning constructor for the paris cup
CREATE TABLE table_name_42 (winning_constructor VARCHAR, name VARCHAR)
SELECT winning_constructor FROM table_name_42 WHERE name = "paris cup"
What is the score of the game with a record of 12–8–3?
CREATE TABLE table_name_98 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_98 WHERE record = "12–8–3"
Which Attendance has a Result of 1-0, and a Venue of A, and an Opponent of newcastle united?
CREATE TABLE table_name_77 (attendance INTEGER, opponent VARCHAR, result VARCHAR, venue VARCHAR)
SELECT MIN(attendance) FROM table_name_77 WHERE result = "1-0" AND venue = "a" AND opponent = "newcastle united"
How many laps were completed in the race with time of 3:03:50?
CREATE TABLE table_2175858_1 (laps VARCHAR, race_time VARCHAR)
SELECT laps FROM table_2175858_1 WHERE race_time = "3:03:50"
What is the number for t c (k) when the notation is tl-2212?
CREATE TABLE table_101336_1 (t_c__k_ VARCHAR, notation VARCHAR)
SELECT COUNT(t_c__k_) FROM table_101336_1 WHERE notation = "Tl-2212"
what is the average points when goals conceded is 14 and goals scored is less than 32?
CREATE TABLE table_name_97 (points INTEGER, goals_conceded VARCHAR, goals_scored VARCHAR)
SELECT AVG(points) FROM table_name_97 WHERE goals_conceded = 14 AND goals_scored < 32
What is the lowest total when the rank is 14 and the gold medals is larger than 0?
CREATE TABLE table_name_34 (total INTEGER, rank VARCHAR, gold VARCHAR)
SELECT MIN(total) FROM table_name_34 WHERE rank = "14" AND gold > 0
Which shipping agent shipped the most documents? List the shipping agent name and the number of documents.
CREATE TABLE Documents (Id VARCHAR); CREATE TABLE Ref_Shipping_Agents (Id VARCHAR)
SELECT Ref_Shipping_Agents.shipping_agent_name, COUNT(Documents.document_id) FROM Ref_Shipping_Agents JOIN Documents ON Documents.shipping_agent_code = Ref_Shipping_Agents.shipping_agent_code GROUP BY Ref_Shipping_Agents.shipping_agent_code ORDER BY COUNT(Documents.document_id) DESC LIMIT 1
what is the highest goals against when the wins is less than 1?
CREATE TABLE table_name_54 (goals_against INTEGER, wins INTEGER)
SELECT MAX(goals_against) FROM table_name_54 WHERE wins < 1
What date has kimberly po nathalie tauziat as the opponent in the final?
CREATE TABLE table_name_92 (date VARCHAR, opponent_in_the_final VARCHAR)
SELECT date FROM table_name_92 WHERE opponent_in_the_final = "kimberly po nathalie tauziat"
What is the highest lost number of the team with less than 14 points and less than 18 played?
CREATE TABLE table_name_65 (lost INTEGER, points VARCHAR, played VARCHAR)
SELECT MAX(lost) FROM table_name_65 WHERE points < 14 AND played < 18
What is the Population of the nation that has an Area (km²) of 70,273?
CREATE TABLE table_name_31 (population VARCHAR, area__km²_ VARCHAR)
SELECT population FROM table_name_31 WHERE area__km²_ = "70,273"
Who had the decision when the visitor was Detroit and the home team was Ottawa?
CREATE TABLE table_name_71 (decision VARCHAR, visitor VARCHAR, home VARCHAR)
SELECT decision FROM table_name_71 WHERE visitor = "detroit" AND home = "ottawa"
What year did the 11th place play 26 games?
CREATE TABLE table_name_96 (year VARCHAR, place VARCHAR, played VARCHAR)
SELECT year FROM table_name_96 WHERE place = "11th" AND played = 26
Which Mountain Peak has a Region of baja california, and a Location of 28.1301°n 115.2206°w?
CREATE TABLE table_name_87 (mountain_peak VARCHAR, region VARCHAR, location VARCHAR)
SELECT mountain_peak FROM table_name_87 WHERE region = "baja california" AND location = "28.1301°n 115.2206°w"
What's listed for the Elevated with a Cardinalatial title of Priest of S. Eusebio and Archbishop of Benevento?
CREATE TABLE table_name_25 (elevated VARCHAR, cardinalatial_title VARCHAR)
SELECT elevated FROM table_name_25 WHERE cardinalatial_title = "priest of s. eusebio and archbishop of benevento"
When the record was 2-29 who had the most assists?
CREATE TABLE table_22879323_6 (high_assists VARCHAR, record VARCHAR)
SELECT high_assists FROM table_22879323_6 WHERE record = "2-29"
What is the Hometown for Villanova College?
CREATE TABLE table_name_11 (hometown VARCHAR, college VARCHAR)
SELECT hometown FROM table_name_11 WHERE college = "villanova"
What date was introduced where it was withdrawn 1955?
CREATE TABLE table_name_31 (introduced VARCHAR, withdrawn VARCHAR)
SELECT introduced FROM table_name_31 WHERE withdrawn = "1955"
What was the lifespan of Representative Harry P. O'neill from the state of Pennsylvania?
CREATE TABLE table_name_28 (lifespan VARCHAR, state VARCHAR, representative VARCHAR)
SELECT lifespan FROM table_name_28 WHERE state = "pennsylvania" AND representative = "harry p. o'neill"