answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT to_par FROM table_name_52 WHERE player = "dave hill"
what is the to par for Dave hill?
CREATE TABLE table_name_52 (to_par VARCHAR, player VARCHAR)
SELECT partial_thromboplastin_time FROM table_20592988_1 WHERE platelet_count = "Decreased"
What is the status of partial thromboplastin times for conditions where the platelet count is decreased?
CREATE TABLE table_20592988_1 (partial_thromboplastin_time VARCHAR, platelet_count VARCHAR)
SELECT nation FROM table_22355_44 WHERE athlete = "Abdon Pamich Category:Articles with hCards"
Name the nation for abdon pamich category:articles with hcards
CREATE TABLE table_22355_44 (nation VARCHAR, athlete VARCHAR)
SELECT COUNT(year_set) FROM table_name_73 WHERE event = "100m freestyle"
What year had a 100m freestyle event?
CREATE TABLE table_name_73 (year_set VARCHAR, event VARCHAR)
SELECT score FROM table_name_35 WHERE date = "2008-06-28"
What is the Score with a Date that is 2008-06-28?
CREATE TABLE table_name_35 (score VARCHAR, date VARCHAR)
SELECT census_ranking FROM table_171250_2 WHERE population = 284
What are the census ranking(s) for a population of 284?
CREATE TABLE table_171250_2 (census_ranking VARCHAR, population VARCHAR)
SELECT AVG(points) FROM table_name_14 WHERE date = "february 2" AND attendance < 16 OFFSET 874
What is the average Points, when Date is "February 2", and when Attendance is less than 16,874?
CREATE TABLE table_name_14 (points INTEGER, date VARCHAR, attendance VARCHAR)
SELECT competition FROM table_name_30 WHERE year = 1993
Which Competition has a Year of 1993?
CREATE TABLE table_name_30 (competition VARCHAR, year VARCHAR)
SELECT result FROM table_2668393_18 WHERE district = "Virginia 11"
What is the result in the virginia 11 district?
CREATE TABLE table_2668393_18 (result VARCHAR, district VARCHAR)
SELECT score FROM table_name_46 WHERE date = "january 12"
What is the score of the game on January 12?
CREATE TABLE table_name_46 (score VARCHAR, date VARCHAR)
SELECT type FROM table_1507852_5 WHERE description = "Fires when the overflow state changes."
what's the type with description being fires when the overflow state changes.
CREATE TABLE table_1507852_5 (type VARCHAR, description VARCHAR)
SELECT SUM(pick) FROM table_name_62 WHERE overall > 250 AND college = "florida"
WHAT IS THE SUM OF PICK WITH AN OVERALL LARGER THAN 250, AND FOR FLORIDA COLLEGE?
CREATE TABLE table_name_62 (pick INTEGER, overall VARCHAR, college VARCHAR)
SELECT country FROM table_name_79 WHERE score = 72 - 68 - 67 = 207
what is the country when the score is 72-68-67=207?
CREATE TABLE table_name_79 (country VARCHAR, score VARCHAR)
SELECT gold FROM table_name_32 WHERE year > 2004 AND notes = "2.73km, 14controls"
Who won Gold later than 2004 with Notes of 2.73km, 14controls?
CREATE TABLE table_name_32 (gold VARCHAR, year VARCHAR, notes VARCHAR)
SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 - 72 = 283
what is the to par when the score is 69-70-72-72=283?
CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR)
SELECT affiliation FROM table_24195232_1 WHERE institution = "Ohio Christian University"
What is the affiliation when the institution was ohio christian university?
CREATE TABLE table_24195232_1 (affiliation VARCHAR, institution VARCHAR)
SELECT COUNT(area_km_2) FROM table_name_66 WHERE census_ranking = "3,129 of 5,008" AND population > 460
What is the total area with the Census Ranking of 3,129 of 5,008, and a Population larger than 460?
CREATE TABLE table_name_66 (area_km_2 VARCHAR, census_ranking VARCHAR, population VARCHAR)
SELECT tournament FROM table_name_12 WHERE margin_of_victory = "1 point"
What tournament had a 1 point margin of victory?
CREATE TABLE table_name_12 (tournament VARCHAR, margin_of_victory VARCHAR)
SELECT 2002 FROM table_name_21 WHERE 2008 = "career statistics"
What 2002 tournament has 2008 career statistics?
CREATE TABLE table_name_21 (Id VARCHAR)
SELECT COUNT(overall) FROM table_name_86 WHERE round < 1
What total number of Overalls has a round that was smaller than 1?
CREATE TABLE table_name_86 (overall VARCHAR, round INTEGER)
SELECT MIN(enrollment) FROM table_15851155_1 WHERE school = "Montana Tech of the University of Montana"
Name the minimum enrollment for montana tech of the university of montana
CREATE TABLE table_15851155_1 (enrollment INTEGER, school VARCHAR)
SELECT MIN(week) FROM table_name_97 WHERE date = "december 3, 1967"
What is the lowest week number that had a game on December 3, 1967?
CREATE TABLE table_name_97 (week INTEGER, date VARCHAR)
SELECT line_name FROM table_name_7 WHERE nimt_junction = "huntly"
What line has Junction of Huntly NIMT
CREATE TABLE table_name_7 (line_name VARCHAR, nimt_junction VARCHAR)
SELECT t2.title FROM authorship AS t1 JOIN papers AS t2 ON t1.paperid = t2.paperid WHERE t1.authorder = (SELECT MAX(authorder) FROM authorship)
Retrieve the title of the paper that has the largest number of authors.
CREATE TABLE authorship (authorder INTEGER); CREATE TABLE authorship (paperid VARCHAR, authorder INTEGER); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
SELECT MIN(week) FROM table_23916462_3
What is the least value for week?
CREATE TABLE table_23916462_3 (week INTEGER)
SELECT name FROM table_name_20 WHERE country = "esp" AND transfer_fee = "€ 7m"
What is the name when the country is ESP and the transfer fee is € 7m?
CREATE TABLE table_name_20 (name VARCHAR, country VARCHAR, transfer_fee VARCHAR)
SELECT date FROM table_name_81 WHERE attendance = "82,500"
What date was the attendance 82,500?
CREATE TABLE table_name_81 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_17 WHERE score = "5-2" AND loss = "sele (3-2)"
What date was the score 5-2 with a loss of sele (3-2)?
CREATE TABLE table_name_17 (date VARCHAR, score VARCHAR, loss VARCHAR)
SELECT writer_s_ FROM table_name_57 WHERE recipient = "parkville pictures ltd"
Who was the writer when Parkville Pictures Ltd was the recipient?
CREATE TABLE table_name_57 (writer_s_ VARCHAR, recipient VARCHAR)
SELECT Shop_Name, LOCATION FROM shop ORDER BY Shop_Name
What are the names and location of the shops in ascending alphabetical order of name.
CREATE TABLE shop (Shop_Name VARCHAR, LOCATION VARCHAR)
SELECT MIN(round) FROM table_name_97 WHERE pick__number > 10 AND position = "tight end" AND overall < 132
Which Round is the lowest one that has a Pick # larger than 10, and a Position of tight end, and an Overall smaller than 132?
CREATE TABLE table_name_97 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR)
SELECT player FROM table_name_55 WHERE college = "ohio state"
Which player is from Ohio State College?
CREATE TABLE table_name_55 (player VARCHAR, college VARCHAR)
SELECT director FROM table_name_61 WHERE studio = "wb" AND year < 1945 AND title = "to have and have not"
Who was the director for To Have and Have Not, earlier than 1945 with WB studio?
CREATE TABLE table_name_61 (director VARCHAR, title VARCHAR, studio VARCHAR, year VARCHAR)
SELECT holmenkollen FROM table_name_58 WHERE fis_nordic_world_ski_championships = "1962, 1964"
When the FIS Nordic World Ski Championships was 1962, 1964 what was the Holmenkollen?
CREATE TABLE table_name_58 (holmenkollen VARCHAR, fis_nordic_world_ski_championships VARCHAR)
SELECT winner FROM table_name_35 WHERE result = "90–86"
What team was the winner when the result was 90–86?
CREATE TABLE table_name_35 (winner VARCHAR, result VARCHAR)
SELECT cyclist FROM table_name_70 WHERE team = "gce" AND uci_points < 20
Who is the cyclist from the GCE team and had UCI points under 20?
CREATE TABLE table_name_70 (cyclist VARCHAR, team VARCHAR, uci_points VARCHAR)
SELECT MIN(silver) FROM table_name_34 WHERE bronze < 0
What is the smallest silver that has a bronze less than 0?
CREATE TABLE table_name_34 (silver INTEGER, bronze INTEGER)
SELECT player FROM table_name_61 WHERE to_par = "–2" AND score = 73 - 65 = 138
What player has a To par of –2, and a Score of 73-65=138?
CREATE TABLE table_name_61 (player VARCHAR, to_par VARCHAR, score VARCHAR)
SELECT february FROM table_name_74 WHERE opponent = "montreal canadiens"
What is February, when Opponent is "Montreal Canadiens"?
CREATE TABLE table_name_74 (february VARCHAR, opponent VARCHAR)
SELECT team FROM table_name_5 WHERE race_name = "tour de santa catarina"
What team won the Tour de Santa Catarina?
CREATE TABLE table_name_5 (team VARCHAR, race_name VARCHAR)
SELECT catalog FROM table_name_79 WHERE format = "cd reissue" AND label = "universal"
What is the Catalog number of the CD Reissue Universal release?
CREATE TABLE table_name_79 (catalog VARCHAR, format VARCHAR, label VARCHAR)
SELECT broadcast FROM table_26842217_18 WHERE time = "7:00pm" AND home_team = "Mississippi State"
Name the broadcast for 7:00pm and mississippi state
CREATE TABLE table_26842217_18 (broadcast VARCHAR, time VARCHAR, home_team VARCHAR)
SELECT season FROM table_name_62 WHERE third = "glen muirhead"
What is Season, when Third is "Glen Muirhead"?
CREATE TABLE table_name_62 (season VARCHAR, third VARCHAR)
SELECT MAX(split__50m_) FROM table_name_8 WHERE time = 53.74 AND lane < 3
What is the slowest 50m split time for a total of 53.74 in a lane of less than 3?
CREATE TABLE table_name_8 (split__50m_ INTEGER, time VARCHAR, lane VARCHAR)
SELECT MIN(round) FROM table_name_96 WHERE college_team = "kansas" AND pick < 56
What is the lowest Round, when College/Team is "Kansas", and when Pick is less than 56?
CREATE TABLE table_name_96 (round INTEGER, college_team VARCHAR, pick VARCHAR)
SELECT COUNT(score_in_final) FROM table_23197088_4 WHERE opponents_in_final = "Alexandra Fusai Nathalie Tauziat"
as is the quantity variety of score between ultimate the place opponents between remaining is alexandra fusai nathalie tauziat
CREATE TABLE table_23197088_4 (score_in_final VARCHAR, opponents_in_final VARCHAR)
SELECT awardee_s_ FROM table_25926120_7 WHERE name_of_award = "Best Agricultural Film"
who are the awardees when the name of award is best agricultural film?
CREATE TABLE table_25926120_7 (awardee_s_ VARCHAR, name_of_award VARCHAR)
SELECT COUNT(train_no) FROM table_27011761_2 WHERE departure = "17:30"
How many trains depart at 17:30?
CREATE TABLE table_27011761_2 (train_no VARCHAR, departure VARCHAR)
SELECT date FROM table_name_7 WHERE venue = "city stadium, georgetown"
Which date held the match at the City Stadium, Georgetown?
CREATE TABLE table_name_7 (date VARCHAR, venue VARCHAR)
SELECT suffix FROM table_name_21 WHERE valency_change = "0" AND type = "intensive"
What is the Suffix of the intensive and valency change of 0?
CREATE TABLE table_name_21 (suffix VARCHAR, valency_change VARCHAR, type VARCHAR)
SELECT performer_3 FROM table_name_19 WHERE performer_2 = "christopher smith"
Who was the 3rd performer when christopher smith was the 2nd performer?
CREATE TABLE table_name_19 (performer_3 VARCHAR, performer_2 VARCHAR)
SELECT stage FROM table_21578303_2 WHERE name = "Kourdali"
Which stage has kourdali as the name?
CREATE TABLE table_21578303_2 (stage VARCHAR, name VARCHAR)
SELECT production_code FROM table_1876825_3 WHERE no_in_season = 6
What is the production code for episode 6 in the season?
CREATE TABLE table_1876825_3 (production_code VARCHAR, no_in_season VARCHAR)
SELECT week_4 FROM table_name_10 WHERE week_1 = "sheila levell"
What kind of Week 4 has a Week 1 of sheila levell?
CREATE TABLE table_name_10 (week_4 VARCHAR, week_1 VARCHAR)
SELECT set_1 FROM table_name_58 WHERE total = "117–109"
What is the score for set 1 with a total of 117–109?
CREATE TABLE table_name_58 (set_1 VARCHAR, total VARCHAR)
SELECT open_1st_viii FROM table_11318462_5 WHERE u15_6th_iv = "BGS"
what are all the open 1st viii with u15 6th iv being bgs
CREATE TABLE table_11318462_5 (open_1st_viii VARCHAR, u15_6th_iv VARCHAR)
SELECT result_f___a FROM table_name_87 WHERE league_position = "1st" AND date = "4 january 1994"
Name the Result F – A that has a League position of 1st on 4 january 1994?
CREATE TABLE table_name_87 (result_f___a VARCHAR, league_position VARCHAR, date VARCHAR)
SELECT no_8 FROM table_name_29 WHERE no_4 = "matthew" AND no_7 = "anthony"
What is the No. 8 of the person with a No. 4 of Matthew and a No. 7 of Anthony?
CREATE TABLE table_name_29 (no_8 VARCHAR, no_4 VARCHAR, no_7 VARCHAR)
SELECT opponents FROM table_name_15 WHERE game > 20 AND date = "january 28"
How many opponents were there in a game higher than 20 on January 28?
CREATE TABLE table_name_15 (opponents VARCHAR, game VARCHAR, date VARCHAR)
SELECT name FROM table_name_32 WHERE lane < 7 AND time = "2:19.86"
Who had a lane number smaller than 7 and a time of 2:19.86?
CREATE TABLE table_name_32 (name VARCHAR, lane VARCHAR, time VARCHAR)
SELECT date FROM table_name_34 WHERE winning_constructor = "fiat" AND winning_driver = "louis wagner"
Which Date has a Winning constructor of fiat and a Winning driver of louis wagner?
CREATE TABLE table_name_34 (date VARCHAR, winning_constructor VARCHAR, winning_driver VARCHAR)
SELECT runner_s__up FROM table_name_89 WHERE date = "jan 19, 1964"
Who was the runner-up on Jan 19, 1964?
CREATE TABLE table_name_89 (runner_s__up VARCHAR, date VARCHAR)
SELECT description FROM table_256286_43 WHERE no_votes = 233759
What is every description if NO votes is 233759?
CREATE TABLE table_256286_43 (description VARCHAR, no_votes VARCHAR)
SELECT wickets FROM table_15700367_4 WHERE overs_bowled = "9"
Name the wickets when overs bowled is 9
CREATE TABLE table_15700367_4 (wickets VARCHAR, overs_bowled VARCHAR)
SELECT featuring FROM table_1620397_2 WHERE author = "Pat Mills"
Name the featuring for pat mills
CREATE TABLE table_1620397_2 (featuring VARCHAR, author VARCHAR)
SELECT country FROM table_name_35 WHERE city = "johannesburg"
Name the country for johannesburg
CREATE TABLE table_name_35 (country VARCHAR, city VARCHAR)
SELECT T2.party_name FROM party_events AS T1 JOIN party AS T2 ON T1.party_id = T2.party_id GROUP BY T1.party_id HAVING COUNT(*) >= 2
What are the names of parties with at least 2 events?
CREATE TABLE party (party_name VARCHAR, party_id VARCHAR); CREATE TABLE party_events (party_id VARCHAR)
SELECT country FROM table_name_70 WHERE total > 300
What is the country of the player who has a total larger than 300?
CREATE TABLE table_name_70 (country VARCHAR, total INTEGER)
SELECT MIN(population) FROM table_170961_2 WHERE census_ranking = "1,184 of 5,008"
At census ranking 1,184 of 5,008, what was the minimum population?
CREATE TABLE table_170961_2 (population INTEGER, census_ranking VARCHAR)
SELECT competition FROM table_name_63 WHERE date = "october 11, 2006"
Which competition took place on October 11, 2006?
CREATE TABLE table_name_63 (competition VARCHAR, date VARCHAR)
SELECT COUNT(finish) FROM table_2649597_1 WHERE start = "21.6"
Where did he finish when he started at 21.6?
CREATE TABLE table_2649597_1 (finish VARCHAR, start VARCHAR)
SELECT hometown FROM table_name_83 WHERE school = "bishop luers high school"
When the School is Bishop Luers High School, what is the Hometown?
CREATE TABLE table_name_83 (hometown VARCHAR, school VARCHAR)
SELECT MAX(attendance) FROM table_name_25 WHERE date = "oct. 26"
What is the highest Attendance, when Date is "Oct. 26"?
CREATE TABLE table_name_25 (attendance INTEGER, date VARCHAR)
SELECT safari FROM table_name_7 WHERE opera = "2.4%" AND internet_explorer = "29.9%"
What is the safari value with a 2.4% opera and 29.9% internet explorer?
CREATE TABLE table_name_7 (safari VARCHAR, opera VARCHAR, internet_explorer VARCHAR)
SELECT SUM(ties) FROM table_name_40 WHERE goals_for = 25 AND wins > 5
How many ties do teams with 25 Goals For and more than 5 wins have?
CREATE TABLE table_name_40 (ties INTEGER, goals_for VARCHAR, wins VARCHAR)
SELECT MAX(shirt_number) FROM table_name_22 WHERE cap_number = 5
What's the largest shirt number when the cap number is 5?
CREATE TABLE table_name_22 (shirt_number INTEGER, cap_number VARCHAR)
SELECT pastoral_region FROM table_name_81 WHERE episcopal_vicar = "robert francis hennessey"
What Pastoral Region has Episcopal Vicar Robert Francis Hennessey?
CREATE TABLE table_name_81 (pastoral_region VARCHAR, episcopal_vicar VARCHAR)
SELECT club FROM table_2454589_1 WHERE home_city = "Quevedo"
Name the club for quevedo
CREATE TABLE table_2454589_1 (club VARCHAR, home_city VARCHAR)
SELECT score FROM table_name_20 WHERE place = "t8" AND player = "byron nelson"
What is score of the game played in place t8 with Byron Nelson playing?
CREATE TABLE table_name_20 (score VARCHAR, place VARCHAR, player VARCHAR)
SELECT high_rebounds FROM table_17058226_5 WHERE high_points = "Kevin Love (20)"
Who had all the high rebounds when kevin love (20) scored the highest points?
CREATE TABLE table_17058226_5 (high_rebounds VARCHAR, high_points VARCHAR)
SELECT record FROM table_name_45 WHERE streak = "l1" AND score = "l 95–111"
Name the record that has a stream of l1 and score of l 95–111
CREATE TABLE table_name_45 (record VARCHAR, streak VARCHAR, score VARCHAR)
SELECT 2008 FROM table_name_16 WHERE 1998 = "a" AND 2009 = "sf" AND 2006 = "a"
Which 2008 had a 1998 and 2006 that were a when 2009 was sf?
CREATE TABLE table_name_16 (Id VARCHAR)
SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Sulfur hexafluoride"
What is the 20 year for Sulfur Hexafluoride?
CREATE TABLE table_21350772_2 (gas_name VARCHAR)
SELECT location FROM table_name_90 WHERE time = "3:24"
Where was the match held that lasted 3:24?
CREATE TABLE table_name_90 (location VARCHAR, time VARCHAR)
SELECT COUNT(pick__number) FROM table_name_88 WHERE name = "jaimie thomas" AND round < 7
Pick # that has a Name of jaimie thomas, and a Round smaller than 7 is how many numbers?
CREATE TABLE table_name_88 (pick__number VARCHAR, name VARCHAR, round VARCHAR)
SELECT teams FROM table_name_66 WHERE season = "2009-10"
What team has a season of 2009-10?
CREATE TABLE table_name_66 (teams VARCHAR, season VARCHAR)
SELECT label FROM table_name_40 WHERE region = "japan"
What is Label, when Region is Japan?
CREATE TABLE table_name_40 (label VARCHAR, region VARCHAR)
SELECT COUNT(weight__kg_) FROM table_1360997_3 WHERE winner_2nd = "1st - Defier" AND venue = "Randwick"
How many entries are there for weight when the winner is 1st - defier and venue is randwick?
CREATE TABLE table_1360997_3 (weight__kg_ VARCHAR, winner_2nd VARCHAR, venue VARCHAR)
SELECT round FROM table_name_23 WHERE player = "derrick franklin"
In what Round was Derrick Franklin picked?
CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR)
SELECT MAX(pinoresinol) FROM table_1831262_2 WHERE foodstuff = "Wheat bran"
what is the maximum number of pinorinol in wheat bran?
CREATE TABLE table_1831262_2 (pinoresinol INTEGER, foodstuff VARCHAR)
SELECT score FROM table_name_82 WHERE date = "january 10"
What is the score of the game on January 10?
CREATE TABLE table_name_82 (score VARCHAR, date VARCHAR)
SELECT address FROM member EXCEPT SELECT address FROM member WHERE Membership_card = 'Black'
Which address do not have any member with the black membership card?
CREATE TABLE member (address VARCHAR, Membership_card VARCHAR)
SELECT COUNT(drawn) FROM table_13018091_1 WHERE club = "Widnes Vikings"
How many teams drew the widnes vikings?
CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR)
SELECT club FROM table_name_99 WHERE league_cup_goals = "0" AND fa_cup_goals = "1" AND total > 11 AND league_goals = "13"
Which Club has a League Cup goals of 0, and a FA Cup goals of 1, and a Total larger than 11, and a League goals of 13?
CREATE TABLE table_name_99 (club VARCHAR, league_goals VARCHAR, total VARCHAR, league_cup_goals VARCHAR, fa_cup_goals VARCHAR)
SELECT status FROM table_name_33 WHERE date = "15/04/1967"
What status has 15/04/1967 as the date?
CREATE TABLE table_name_33 (status VARCHAR, date VARCHAR)
SELECT date FROM table_name_2 WHERE edition = "1991 world group i" AND opponent = "li fang"
When was the 1991 world group I with the opponent of Li Fang?
CREATE TABLE table_name_2 (date VARCHAR, edition VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_83 WHERE date = "feb 25"
What was the record on Feb 25?
CREATE TABLE table_name_83 (record VARCHAR, date VARCHAR)
SELECT SUM(drawn) FROM table_name_36 WHERE league_pos = "15th" AND lost > 17
What is the drawn result with a league position of 15th and a lost result that is more than 17?
CREATE TABLE table_name_36 (drawn INTEGER, league_pos VARCHAR, lost VARCHAR)
SELECT player FROM table_2781227_4 WHERE college_junior_club_team = "Brandon Wheat Kings (WHL)"
For college/junior/club team is brandon wheat kings (whl) mention all the player name
CREATE TABLE table_2781227_4 (player VARCHAR, college_junior_club_team VARCHAR)
SELECT italian FROM table_name_78 WHERE andalusian = "coche"
How would an Italian say the Andalusian word coche?
CREATE TABLE table_name_78 (italian VARCHAR, andalusian VARCHAR)