question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Who was the RF when the SP was vicente padilla?
CREATE TABLE table_12142298_2 (rightfielder VARCHAR, starting_pitcher VARCHAR)
SELECT rightfielder FROM table_12142298_2 WHERE starting_pitcher = "Vicente Padilla"
What Class has the Identifier fo CBFX-FM-2?
CREATE TABLE table_name_42 (class VARCHAR, identifier VARCHAR)
SELECT class FROM table_name_42 WHERE identifier = "cbfx-fm-2"
What engine doe the Ed Carpenter Racing team use?
CREATE TABLE table_2503102_1 (engine VARCHAR, team VARCHAR)
SELECT engine FROM table_2503102_1 WHERE team = "Ed Carpenter Racing"
What is the average height for hewitt class, with prom less than 86, and a Peak of gragareth?
CREATE TABLE table_name_45 (height__m_ INTEGER, peak VARCHAR, class VARCHAR, prom__m_ VARCHAR)
SELECT AVG(height__m_) FROM table_name_45 WHERE class = "hewitt" AND prom__m_ < 86 AND peak = "gragareth"
In what season was Schädlich the top goalscorer?
CREATE TABLE table_name_79 (season VARCHAR, top_goalscorer VARCHAR)
SELECT season FROM table_name_79 WHERE top_goalscorer = "schädlich"
What was the record on September 26?
CREATE TABLE table_name_79 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_79 WHERE date = "september 26"
What is the represent province for the contestant whose hometown is Woerden?
CREATE TABLE table_27946889_2 (represent_province VARCHAR, hometown VARCHAR)
SELECT represent_province FROM table_27946889_2 WHERE hometown = "Woerden"
What is the lowest overall amount of no votes?
CREATE TABLE table_256286_13 (no_votes INTEGER)
SELECT MIN(no_votes) FROM table_256286_13
Name the maximum enrollment for niagara university
CREATE TABLE table_16383772_1 (enrollment INTEGER, school VARCHAR)
SELECT MAX(enrollment) FROM table_16383772_1 WHERE school = "Niagara University"
How many debuts in Europe have less than 76 goals, more than 151 games, and a rank greater than 5?
CREATE TABLE table_name_77 (debut_in_europe VARCHAR, rank VARCHAR, goals VARCHAR, games VARCHAR)
SELECT COUNT(debut_in_europe) FROM table_name_77 WHERE goals < 76 AND games > 151 AND rank > 5
Which team was the home team at Glenferrie Oval?
CREATE TABLE table_name_82 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_82 WHERE venue = "glenferrie oval"
How many entries are there for Class for the player Everett Sweeley?
CREATE TABLE table_14342210_13 (class VARCHAR, player VARCHAR)
SELECT COUNT(class) FROM table_14342210_13 WHERE player = "Everett Sweeley"
what is the apparent magnitude of NGC number 6027d?
CREATE TABLE table_name_14 (apparent_magnitude VARCHAR, ngc_number VARCHAR)
SELECT apparent_magnitude FROM table_name_14 WHERE ngc_number = "6027d"
What is the number of population for lithuania?
CREATE TABLE table_1307842_7 (population VARCHAR, member_countries VARCHAR)
SELECT COUNT(population) FROM table_1307842_7 WHERE member_countries = "Lithuania"
What date was the game that home team torquay united played?
CREATE TABLE table_name_76 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_76 WHERE home_team = "torquay united"
what's the total w–l where player is boro jovanović category:articles with hcards
CREATE TABLE table_10294071_1 (total_w_l VARCHAR, player VARCHAR)
SELECT total_w_l FROM table_10294071_1 WHERE player = "Boro Jovanović Category:Articles with hCards"
Who was the opponent in the bout that led to a win in a time of 1:21?
CREATE TABLE table_name_47 (opponent VARCHAR, res VARCHAR, time VARCHAR)
SELECT opponent FROM table_name_47 WHERE res = "win" AND time = "1:21"
Which model number has an order part number of TMSMT37BQX5LD?
CREATE TABLE table_name_57 (model_number VARCHAR, order_part_number VARCHAR)
SELECT model_number FROM table_name_57 WHERE order_part_number = "tmsmt37bqx5ld"
How many titles did Trupti Murgunde claim?
CREATE TABLE table_12194021_1 (womens_doubles VARCHAR, womens_singles VARCHAR)
SELECT womens_doubles FROM table_12194021_1 WHERE womens_singles = "Trupti Murgunde"
What is the Format of the Frequency CJBX-FM?
CREATE TABLE table_name_59 (format VARCHAR, call_sign VARCHAR)
SELECT format FROM table_name_59 WHERE call_sign = "cjbx-fm"
How many production codes are there for the episode that had 4.36 million u.s. viewers?
CREATE TABLE table_28037619_2 (production_code VARCHAR, us_viewers__million_ VARCHAR)
SELECT COUNT(production_code) FROM table_28037619_2 WHERE us_viewers__million_ = "4.36"
Who is the week 12 for the week 2 with Magda Tomek?
CREATE TABLE table_name_38 (week_12 VARCHAR, week_2 VARCHAR)
SELECT week_12 FROM table_name_38 WHERE week_2 = "magda tomek"
Which suffix has the prefix of isothiocyanato- (-ncs)?
CREATE TABLE table_name_17 (suffix VARCHAR, prefix VARCHAR)
SELECT suffix FROM table_name_17 WHERE prefix = "isothiocyanato- (-ncs)"
How many tracks are titled Mō Sukoshi Tōku?
CREATE TABLE table_11839306_2 (track VARCHAR, rōmaji_title VARCHAR)
SELECT COUNT(track) FROM table_11839306_2 WHERE rōmaji_title = "Mō Sukoshi Tōku"
What is the Sport with a Name that is gustav larsson?
CREATE TABLE table_name_9 (sport VARCHAR, name VARCHAR)
SELECT sport FROM table_name_9 WHERE name = "gustav larsson"
What is the total number of discs where the run time was 4 hours 40 minutes?
CREATE TABLE table_1180228_1 (num_of_discs VARCHAR, duration VARCHAR)
SELECT COUNT(num_of_discs) FROM table_1180228_1 WHERE duration = "4 hours 40 minutes"
Name the sum of played with wins more than 19
CREATE TABLE table_name_14 (played INTEGER, wins INTEGER)
SELECT SUM(played) FROM table_name_14 WHERE wins > 19
What are the records of games where high rebounds is amar'e stoudemire (11)
CREATE TABLE table_17340355_6 (record VARCHAR, high_rebounds VARCHAR)
SELECT COUNT(record) FROM table_17340355_6 WHERE high_rebounds = "Amar'e Stoudemire (11)"
What class in the word with part 4 "giheizan"?
CREATE TABLE table_1745843_8 (class VARCHAR, part_4 VARCHAR)
SELECT class FROM table_1745843_8 WHERE part_4 = "giheizan"
What is the last episode which has segment d as blown glass?
CREATE TABLE table_15187735_4 (episode INTEGER, segment_d VARCHAR)
SELECT MAX(episode) FROM table_15187735_4 WHERE segment_d = "Blown Glass"
What are the names of nations speak both English and French?
CREATE TABLE country (Name VARCHAR, Code VARCHAR); CREATE TABLE countrylanguage (CountryCode VARCHAR, Language VARCHAR)
SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "English" INTERSECT SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode WHERE T2.Language = "French"
Tell me the lowest tries for goals more than 0 with centre position and points less than 54
CREATE TABLE table_name_40 (tries INTEGER, points VARCHAR, goals VARCHAR, position VARCHAR)
SELECT MIN(tries) FROM table_name_40 WHERE goals > 0 AND position = "centre" AND points < 54
What is the Score of the Competition with a Result of 5-0?
CREATE TABLE table_name_7 (score VARCHAR, result VARCHAR)
SELECT score FROM table_name_7 WHERE result = "5-0"
what's the won with try bonus being 12
CREATE TABLE table_14058433_4 (won VARCHAR, try_bonus VARCHAR)
SELECT won FROM table_14058433_4 WHERE try_bonus = "12"
What is the away team of the game with tie number 31?
CREATE TABLE table_name_33 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_33 WHERE tie_no = "31"
Which match report has l 7-30 as the result/score?
CREATE TABLE table_name_98 (match_report VARCHAR, result_score VARCHAR)
SELECT match_report FROM table_name_98 WHERE result_score = "l 7-30"
what is the value of the audio with a just ratio 21:20
CREATE TABLE table_name_28 (audio VARCHAR, just_ratio VARCHAR)
SELECT audio FROM table_name_28 WHERE just_ratio = "21:20"
Which Report includes Monaco?
CREATE TABLE table_name_95 (report VARCHAR, location VARCHAR)
SELECT report FROM table_name_95 WHERE location = "monaco"
What is the Gecko value for the item that has a Trident value of 'font'?
CREATE TABLE table_name_34 (gecko VARCHAR, trident VARCHAR)
SELECT gecko FROM table_name_34 WHERE trident = "font"
In what prefecture is Susaki located?
CREATE TABLE table_2518850_4 (prefecture VARCHAR, city_town VARCHAR)
SELECT prefecture FROM table_2518850_4 WHERE city_town = "Susaki"
Which polling institute showed a lead of 6%?
CREATE TABLE table_name_1 (polling_institute VARCHAR, lead VARCHAR)
SELECT polling_institute FROM table_name_1 WHERE lead = "6%"
What is the district with the candidates leven powell (f) 63.8% roger west (dr) 36.4%?
CREATE TABLE table_2668405_17 (district VARCHAR, candidates VARCHAR)
SELECT district FROM table_2668405_17 WHERE candidates = "Leven Powell (F) 63.8% Roger West (DR) 36.4%"
Which Average has a Tally of 2-12, and a Total larger than 18?
CREATE TABLE table_name_23 (average INTEGER, tally VARCHAR, total VARCHAR)
SELECT AVG(average) FROM table_name_23 WHERE tally = "2-12" AND total > 18
What is the total pick number of the los angeles dodgers, which has a lhp position before 1979?
CREATE TABLE table_name_36 (pick VARCHAR, year VARCHAR, team VARCHAR, position VARCHAR)
SELECT COUNT(pick) FROM table_name_36 WHERE team = "los angeles dodgers" AND position = "lhp" AND year < 1979
what is the nationality when the ship is willerby?
CREATE TABLE table_name_64 (nationality VARCHAR, ship VARCHAR)
SELECT nationality FROM table_name_64 WHERE ship = "willerby"
What are all of the area where distance is marathon and month held is february
CREATE TABLE table_26166836_2 (location VARCHAR, distance VARCHAR, month_held VARCHAR)
SELECT location FROM table_26166836_2 WHERE distance = "Marathon" AND month_held = "February"
What's the TNS-Sofres when Ipsos was 27%?
CREATE TABLE table_name_51 (tns_sofres_6_2_09 VARCHAR, ipsos_6_3_09 VARCHAR)
SELECT tns_sofres_6_2_09 FROM table_name_51 WHERE ipsos_6_3_09 = "27%"
Name the other for chironius multiventris septentrionalis
CREATE TABLE table_1850282_7 (other VARCHAR, species VARCHAR)
SELECT other FROM table_1850282_7 WHERE species = "Chironius multiventris septentrionalis"
What is the type of the match with a win result and Michael Gomez as the opponent?
CREATE TABLE table_name_79 (type VARCHAR, res VARCHAR, opponent VARCHAR)
SELECT type FROM table_name_79 WHERE res = "win" AND opponent = "michael gomez"
What was nominated for the Jury Award?
CREATE TABLE table_name_57 (nominated_won VARCHAR, award_category VARCHAR)
SELECT nominated_won FROM table_name_57 WHERE award_category = "jury award"
Which developer has xbox 360 as the platform?
CREATE TABLE table_name_59 (developer VARCHAR, platform VARCHAR)
SELECT developer FROM table_name_59 WHERE platform = "xbox 360"
What is the total number of games that led to a record of 12-4-2 after November 22?
CREATE TABLE table_name_48 (game VARCHAR, record VARCHAR, november VARCHAR)
SELECT COUNT(game) FROM table_name_48 WHERE record = "12-4-2" AND november > 22
Who wrote the episode with 8.61 million U.S. viewers?
CREATE TABLE table_24648983_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT written_by FROM table_24648983_1 WHERE us_viewers__million_ = "8.61"
WHAT IS THE RADICAL WITH gǔ, AND STROKE COUNT OF 7?
CREATE TABLE table_name_81 (radical__variants_ VARCHAR, pīnyīn VARCHAR, stroke_count VARCHAR)
SELECT radical__variants_ FROM table_name_81 WHERE pīnyīn = "gǔ" AND stroke_count = 7
What was the result of the 2011 US Open when the 2007 was F?
CREATE TABLE table_name_59 (tournament VARCHAR)
SELECT 2011 FROM table_name_59 WHERE 2007 = "f" AND tournament = "us open"
What venue did the 2000 tiger cup take place at on November 10, 2000?
CREATE TABLE table_name_29 (venue VARCHAR, competition VARCHAR, date VARCHAR)
SELECT venue FROM table_name_29 WHERE competition = "2000 tiger cup" AND date = "november 10, 2000"
What is the venue of the game with Man of the Match Vaclav Zavoral?
CREATE TABLE table_17120964_8 (venue VARCHAR, man_of_the_match VARCHAR)
SELECT venue FROM table_17120964_8 WHERE man_of_the_match = "Vaclav Zavoral"
What was the date when South Melbourne was the home team?
CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_14 WHERE home_team = "south melbourne"
How many points were in a game that had a lost of 5, greater than place 2, and 27 goals conceded?
CREATE TABLE table_name_85 (points VARCHAR, place VARCHAR, goals_conceded VARCHAR, lost VARCHAR)
SELECT COUNT(points) FROM table_name_85 WHERE goals_conceded = 27 AND lost = 5 AND place > 2
Which height, in meters, has 36 floors?
CREATE TABLE table_name_93 (height_ft___m__ VARCHAR, floors VARCHAR)
SELECT height_ft___m__ FROM table_name_93 WHERE floors = 36
Tell me the control trailers for 52 motors
CREATE TABLE table_name_71 (Control VARCHAR, motors VARCHAR)
SELECT Control AS trailers FROM table_name_71 WHERE motors = "52"
What is Neighborhood, when Branch is Hollywood Library?
CREATE TABLE table_name_92 (neighborhood VARCHAR, branch VARCHAR)
SELECT neighborhood FROM table_name_92 WHERE branch = "hollywood library"
What was the score on October 30?
CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_64 WHERE date = "october 30"
What is the average round that the player from USF was picked in when his draft pick number was less than 24?
CREATE TABLE table_name_48 (round INTEGER, college VARCHAR, pick__number VARCHAR)
SELECT AVG(round) FROM table_name_48 WHERE college = "usf" AND pick__number < 24
Name the successor for north carolina 13th
CREATE TABLE table_225204_4 (successor VARCHAR, district VARCHAR)
SELECT successor FROM table_225204_4 WHERE district = "North Carolina 13th"
Who wrote the episode with the production code of BN103?
CREATE TABLE table_21304155_1 (written_by VARCHAR, production_code VARCHAR)
SELECT written_by FROM table_21304155_1 WHERE production_code = "BN103"
What is the league name for the regular season status of 2nd, mid atlantic?
CREATE TABLE table_16636344_1 (league VARCHAR, regular_season VARCHAR)
SELECT league FROM table_16636344_1 WHERE regular_season = "2nd, Mid Atlantic"
Name the most interview for minnesota and average more than 7.901
CREATE TABLE table_name_7 (interview INTEGER, state VARCHAR, average VARCHAR)
SELECT MAX(interview) FROM table_name_7 WHERE state = "minnesota" AND average > 7.901
What is the name of the season won by John Rhode?
CREATE TABLE table_name_75 (name VARCHAR, the_biggest_loser VARCHAR)
SELECT name FROM table_name_75 WHERE the_biggest_loser = "john rhode"
Was the game with Kashima antlers at home or away?
CREATE TABLE table_name_86 (h___a VARCHAR, opponents VARCHAR)
SELECT h___a FROM table_name_86 WHERE opponents = "kashima antlers"
what is the average number of events when the top-5 is less than 1 and top 25 more than 1
CREATE TABLE table_name_89 (events INTEGER, top_5 VARCHAR, top_25 VARCHAR)
SELECT AVG(events) FROM table_name_89 WHERE top_5 < 1 AND top_25 > 1
What was the sum of the rounds for the player who had a position of LS and an overall draft pick bigger than 230?
CREATE TABLE table_name_10 (round INTEGER, position VARCHAR, overall VARCHAR)
SELECT SUM(round) FROM table_name_10 WHERE position = "ls" AND overall > 230
How many people attended the game of a.f.c. totton?
CREATE TABLE table_name_47 (attendance VARCHAR, home_team VARCHAR)
SELECT attendance FROM table_name_47 WHERE home_team = "a.f.c. totton"
What are the title(s) of episodes directed by david solomon and written by marti noxon?
CREATE TABLE table_28195971_1 (title VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT title FROM table_28195971_1 WHERE directed_by = "David Solomon" AND written_by = "Marti Noxon"
Against what opponent did the Wildcats have a record of 5-4?
CREATE TABLE table_24464253_1 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_24464253_1 WHERE record = "5-4"
Who were the candidates when gregory w. meeks was the incumbent
CREATE TABLE table_1341395_33 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1341395_33 WHERE incumbent = "Gregory W. Meeks"
What is the long for the player with under 30 carries and 0 yards?
CREATE TABLE table_name_78 (long VARCHAR, car VARCHAR, yards VARCHAR)
SELECT long FROM table_name_78 WHERE car < 30 AND yards = "0"
How many seed entries are there when points are 2175?
CREATE TABLE table_29572583_19 (seed VARCHAR, points VARCHAR)
SELECT COUNT(seed) FROM table_29572583_19 WHERE points = 2175
what is the team when the driver is viktor jensen?
CREATE TABLE table_name_64 (team VARCHAR, driver VARCHAR)
SELECT team FROM table_name_64 WHERE driver = "viktor jensen"
what country has tiger woods
CREATE TABLE table_name_47 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_47 WHERE player = "tiger woods"
Result F–A of 5–0 had what group position?
CREATE TABLE table_name_93 (group_position VARCHAR, result_f_a VARCHAR)
SELECT group_position FROM table_name_93 WHERE result_f_a = "5–0"
Show student ids who are on scholarship and have major 600.
CREATE TABLE Sportsinfo (StuID VARCHAR, major VARCHAR, onscholarship VARCHAR); CREATE TABLE Student (StuID VARCHAR, major VARCHAR, onscholarship VARCHAR)
SELECT StuID FROM Student WHERE major = 600 INTERSECT SELECT StuID FROM Sportsinfo WHERE onscholarship = 'Y'
What is the 1977 value that had Grand Slam Tournaments in 1972?
CREATE TABLE table_name_9 (Id VARCHAR)
SELECT 1977 FROM table_name_9 WHERE 1972 = "grand slam tournaments"
Who is the Winner, when the Prize is €880,000?
CREATE TABLE table_name_98 (winner VARCHAR, prize VARCHAR)
SELECT winner FROM table_name_98 WHERE prize = "€880,000"
What was the date that a player went to the club Doncaster Rovers?
CREATE TABLE table_name_14 (exit_date VARCHAR, to_club VARCHAR)
SELECT exit_date FROM table_name_14 WHERE to_club = "doncaster rovers"
What is the lowest Number, when School/Club Team is Misamis Institute?
CREATE TABLE table_name_30 (number INTEGER, school_club_team VARCHAR)
SELECT MIN(number) FROM table_name_30 WHERE school_club_team = "misamis institute"
What is the highest track for Burning Love?
CREATE TABLE table_name_75 (track INTEGER, song_title VARCHAR)
SELECT MAX(track) FROM table_name_75 WHERE song_title = "burning love"
Show the names of employees that work for companies with sales bigger than 200.
CREATE TABLE employment (People_ID VARCHAR, Company_ID VARCHAR); CREATE TABLE company (Company_ID VARCHAR, Sales_in_Billion INTEGER); CREATE TABLE people (Name VARCHAR, People_ID VARCHAR)
SELECT T2.Name FROM employment AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID JOIN company AS T3 ON T1.Company_ID = T3.Company_ID WHERE T3.Sales_in_Billion > 200
When w 73-70 is the score what is the location?
CREATE TABLE table_18904831_6 (location VARCHAR, score VARCHAR)
SELECT location FROM table_18904831_6 WHERE score = "W 73-70"
Who was the winner when Katsuyuki Hiranaka had the fastest lap?
CREATE TABLE table_name_89 (winner VARCHAR, fastest_lap VARCHAR)
SELECT winner FROM table_name_89 WHERE fastest_lap = "katsuyuki hiranaka"
What is the best finish record for Sean O'hair?
CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR)
SELECT best_finish FROM table_29504351_2 WHERE player = "Sean O'Hair"
What was the date of the game with 6 goals?
CREATE TABLE table_name_61 (date VARCHAR, goal VARCHAR)
SELECT date FROM table_name_61 WHERE goal = 6
What is the College of the Pick from Denver Broncos?
CREATE TABLE table_name_47 (college VARCHAR, team VARCHAR)
SELECT college FROM table_name_47 WHERE team = "denver broncos"
Name the name for visayas
CREATE TABLE table_15463188_16 (name VARCHAR, school_club_team VARCHAR)
SELECT name FROM table_15463188_16 WHERE school_club_team = "Visayas"
Loss of francis (4–10) happened on what date?
CREATE TABLE table_name_71 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_71 WHERE loss = "francis (4–10)"
What was the Score of the Semifinal 1?
CREATE TABLE table_name_31 (score VARCHAR, round VARCHAR)
SELECT score FROM table_name_31 WHERE round = "semifinal 1"
What was the pick number in round 228 for Mike Ford?
CREATE TABLE table_name_44 (pick INTEGER, player VARCHAR, round VARCHAR)
SELECT MAX(pick) FROM table_name_44 WHERE player = "mike ford" AND round > 228
Who was the partner for the tournament in Lyon, France?
CREATE TABLE table_name_29 (partnering VARCHAR, tournament VARCHAR)
SELECT partnering FROM table_name_29 WHERE tournament = "lyon, france"
Which average bronze had a silver greater than 2 and a gold larger than 7?
CREATE TABLE table_name_9 (bronze INTEGER, silver VARCHAR, gold VARCHAR)
SELECT AVG(bronze) FROM table_name_9 WHERE silver > 2 AND gold > 7
What was the date that Elvir Krehmic made a high jump record?
CREATE TABLE table_name_78 (date VARCHAR, athlete VARCHAR)
SELECT date FROM table_name_78 WHERE athlete = "elvir krehmic"