question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is terry's record when he fights julio paulino?
CREATE TABLE table_name_21 (record VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_21 WHERE opponent = "julio paulino"
What is the date that Stirling Moss had his fastest lap in a Maserati?
CREATE TABLE table_name_28 (date VARCHAR, constructor VARCHAR, fastest_lap VARCHAR)
SELECT date FROM table_name_28 WHERE constructor = "maserati" AND fastest_lap = "stirling moss"
What's the part 3 of the verb whose class is 4?
CREATE TABLE table_1745843_6 (part_3 VARCHAR, class VARCHAR)
SELECT part_3 FROM table_1745843_6 WHERE class = "4"
What location(s) did patrick mckenna lead the most laps?
CREATE TABLE table_25668203_2 (location VARCHAR, most_laps_led VARCHAR)
SELECT location FROM table_25668203_2 WHERE most_laps_led = "Patrick McKenna"
with a record of 63-76 what was the attendance?
CREATE TABLE table_name_44 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_44 WHERE record = "63-76"
Is the biggest win recorded as home or away?
CREATE TABLE table_1233808_2 (home_or_away VARCHAR, record VARCHAR)
SELECT home_or_away FROM table_1233808_2 WHERE record = "Biggest win"
Name the outcome for jordan kerr july 19, 2004
CREATE TABLE table_name_79 (outcome VARCHAR, partnering VARCHAR, date VARCHAR)
SELECT outcome FROM table_name_79 WHERE partnering = "jordan kerr" AND date = "july 19, 2004"
On what date was the score 121-113?
CREATE TABLE table_name_84 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_84 WHERE score = "121-113"
What is the lowest number of League Cups a player with a 434 league has?
CREATE TABLE table_name_34 (league INTEGER)
SELECT MIN(league) AS Cup FROM table_name_34 WHERE league = 434
What club has tries against of 75?
CREATE TABLE table_name_58 (club VARCHAR, tries_against VARCHAR)
SELECT club FROM table_name_58 WHERE tries_against = "75"
What is the genre for the year 2012 (16th)?
CREATE TABLE table_name_44 (genre VARCHAR, year VARCHAR)
SELECT genre FROM table_name_44 WHERE year = "2012 (16th)"
When the type is "reset" what is the description?
CREATE TABLE table_1507852_1 (description VARCHAR, type VARCHAR)
SELECT description FROM table_1507852_1 WHERE type = "reset"
What is the sum of Attendance when macclesfield town was the way team?
CREATE TABLE table_name_22 (attendance INTEGER, away_team VARCHAR)
SELECT SUM(attendance) FROM table_name_22 WHERE away_team = "macclesfield town"
What kind of report is for the Pau circuit?
CREATE TABLE table_1140111_5 (report VARCHAR, circuit VARCHAR)
SELECT report FROM table_1140111_5 WHERE circuit = "Pau"
When 9 games (28,002 avg.) is the results of the games what is the date/year?
CREATE TABLE table_21436373_7 (date_year VARCHAR, result_games VARCHAR)
SELECT date_year FROM table_21436373_7 WHERE result_games = "9 games (28,002 avg.)"
What is the average squad age of the team whose shirt sponsor is Sho'rtan Gaz Mahsulot and whose kit manufacturer is Adidas?
CREATE TABLE table_25527255_2 (average_squad_age VARCHAR, shirt_sponsor VARCHAR, kit_manufacturer VARCHAR)
SELECT average_squad_age FROM table_25527255_2 WHERE shirt_sponsor = "Sho'rtan Gaz Mahsulot" AND kit_manufacturer = "Adidas"
What tyre had Sergio Mantovani as a driver?
CREATE TABLE table_name_91 (tyre VARCHAR, driver VARCHAR)
SELECT tyre FROM table_name_91 WHERE driver = "sergio mantovani"
What was the title of episode 3?
CREATE TABLE table_23730973_5 (episode VARCHAR, no VARCHAR)
SELECT episode FROM table_23730973_5 WHERE no = 3
What is the Launched from a Country that is spain?
CREATE TABLE table_name_45 (launched VARCHAR, country VARCHAR)
SELECT launched FROM table_name_45 WHERE country = "spain"
List the names of all genres in alphabetical oder, together with its ratings.
CREATE TABLE genre (g_name VARCHAR, rating VARCHAR)
SELECT g_name, rating FROM genre ORDER BY g_name
What is the Round with 1 Behinds?
CREATE TABLE table_name_50 (round VARCHAR, behinds VARCHAR)
SELECT round FROM table_name_50 WHERE behinds = 1
Which Name has a Company of quantcast corporation?
CREATE TABLE table_name_77 (name VARCHAR, company VARCHAR)
SELECT name FROM table_name_77 WHERE company = "quantcast corporation"
Name the background colour for the Australian Capital Territory
CREATE TABLE table_1000181_1 (text_background_colour VARCHAR, state_territory VARCHAR)
SELECT text_background_colour FROM table_1000181_1 WHERE state_territory = "Australian Capital Territory"
What's the Dutch when then Old English is /d/?
CREATE TABLE table_name_66 (dutch VARCHAR, old_english VARCHAR)
SELECT dutch FROM table_name_66 WHERE old_english = "/d/"
How many winners from previous round were there in the semi finals?
CREATE TABLE table_28039032_1 (winners_from_previous_round VARCHAR, round VARCHAR)
SELECT winners_from_previous_round FROM table_28039032_1 WHERE round = "Semi finals"
Who were the batting partners in Colombo?
CREATE TABLE table_name_99 (batting_partners VARCHAR, venue VARCHAR)
SELECT batting_partners FROM table_name_99 WHERE venue = "colombo"
Find the name of students who didn't take any course from Biology department.
CREATE TABLE student (name VARCHAR, id VARCHAR); CREATE TABLE course (course_id VARCHAR, dept_name VARCHAR); CREATE TABLE takes (id VARCHAR, course_id VARCHAR)
SELECT name FROM student WHERE NOT id IN (SELECT T1.id FROM takes AS T1 JOIN course AS T2 ON T1.course_id = T2.course_id WHERE T2.dept_name = 'Biology')
What is the total number of ranks that had vestron as the studio?
CREATE TABLE table_name_48 (rank VARCHAR, studio VARCHAR)
SELECT COUNT(rank) FROM table_name_48 WHERE studio = "vestron"
Name the country which has prix uip venezia
CREATE TABLE table_name_9 (country VARCHAR, nominating_festival VARCHAR)
SELECT country FROM table_name_9 WHERE nominating_festival = "prix uip venezia"
What is Wheel Arrangement, when Manufacturer is "Baldwin", and when Quantity Made is 12?
CREATE TABLE table_name_52 (wheel_arrangement VARCHAR, manufacturer VARCHAR, quantity_made VARCHAR)
SELECT wheel_arrangement FROM table_name_52 WHERE manufacturer = "baldwin" AND quantity_made = "12"
What is the finish for the chip ganassi racing team that was later than 2010 and a Start of 17?
CREATE TABLE table_name_82 (finish VARCHAR, start VARCHAR, team VARCHAR, year VARCHAR)
SELECT finish FROM table_name_82 WHERE team = "chip ganassi racing" AND year > 2010 AND start = "17"
What year was first elected william m. wheeler (d) unopposed?
CREATE TABLE table_1342218_11 (first_elected VARCHAR, candidates VARCHAR)
SELECT first_elected FROM table_1342218_11 WHERE candidates = "William M. Wheeler (D) Unopposed"
Which club lost 10 games ?
CREATE TABLE table_name_93 (club VARCHAR, lost VARCHAR)
SELECT club FROM table_name_93 WHERE lost = "10"
In which year was Angélica Rivera a nominee?
CREATE TABLE table_name_66 (year INTEGER, nominee VARCHAR)
SELECT AVG(year) FROM table_name_66 WHERE nominee = "angélica rivera"
What is Nick Price's score?
CREATE TABLE table_name_20 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_20 WHERE player = "nick price"
What horse did not start and had a total of over 16.16?
CREATE TABLE table_name_10 (horse VARCHAR, faults VARCHAR, total VARCHAR)
SELECT horse FROM table_name_10 WHERE faults = "did not start" AND total > 16.16
What league does Delaware Military Academy belong to
CREATE TABLE table_15475116_1 (league VARCHAR, school VARCHAR)
SELECT league FROM table_15475116_1 WHERE school = "Delaware Military Academy"
What is the game number held on May 2?
CREATE TABLE table_name_51 (game INTEGER, date VARCHAR)
SELECT AVG(game) FROM table_name_51 WHERE date = "may 2"
What section were they in when there were tier 2 in 1996?
CREATE TABLE table_name_30 (section VARCHAR, level VARCHAR, season VARCHAR)
SELECT section FROM table_name_30 WHERE level = "tier 2" AND season = 1996
What record has points less than 16, and detroit as the home?
CREATE TABLE table_name_13 (record VARCHAR, points VARCHAR, home VARCHAR)
SELECT record FROM table_name_13 WHERE points < 16 AND home = "detroit"
Which position is number 16?
CREATE TABLE table_name_7 (position VARCHAR, number VARCHAR)
SELECT position FROM table_name_7 WHERE number = 16
What driver has more than 39 laps on gird 15?
CREATE TABLE table_name_67 (driver VARCHAR, laps VARCHAR, grid VARCHAR)
SELECT driver FROM table_name_67 WHERE laps > 39 AND grid = 15
What year did Randy Lewis drive?
CREATE TABLE table_23548160_1 (year VARCHAR, driver VARCHAR)
SELECT year FROM table_23548160_1 WHERE driver = "Randy Lewis"
Which college was the wide receiver whose pick was less than 130.0 picked from?
CREATE TABLE table_14649522_1 (college VARCHAR, position VARCHAR, pick__number VARCHAR)
SELECT college FROM table_14649522_1 WHERE position = "Wide Receiver" AND pick__number < 130.0
What is the highest elevation for the peak daurmål, and an Isolation (km) larger than 4?
CREATE TABLE table_name_83 (elevation__m_ INTEGER, peak VARCHAR, isolation__km_ VARCHAR)
SELECT MAX(elevation__m_) FROM table_name_83 WHERE peak = "daurmål" AND isolation__km_ > 4
Time of 10.82 has what location?
CREATE TABLE table_name_84 (location VARCHAR, time VARCHAR)
SELECT location FROM table_name_84 WHERE time = 10.82
what is the average number of gold when the rank is more than 5?
CREATE TABLE table_name_5 (gold INTEGER, rank INTEGER)
SELECT AVG(gold) FROM table_name_5 WHERE rank > 5
What Time elapsed has 14 February 2011 as the Closest approach?
CREATE TABLE table_name_11 (time_elapsed VARCHAR, closest_approach VARCHAR)
SELECT time_elapsed FROM table_name_11 WHERE closest_approach = "14 february 2011"
What was the margin of victory when the winning score was –10 (70-72-68-68=278)?
CREATE TABLE table_name_6 (margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT margin_of_victory FROM table_name_6 WHERE winning_score = –10(70 - 72 - 68 - 68 = 278)
How many data points for chrstians are 39.7?
CREATE TABLE table_14598_5 (composition VARCHAR, christians VARCHAR)
SELECT COUNT(composition) FROM table_14598_5 WHERE christians = "39.7"
What was the 1st Year Al Harrington (9) the leader in Rebounds?
CREATE TABLE table_name_22 (year INTEGER, rebounds VARCHAR)
SELECT MIN(year) FROM table_name_22 WHERE rebounds = "al harrington (9)"
On what Date is Alexandra Fusai a Partner with a Score of 4–6, 6–3, 6–1?
CREATE TABLE table_name_46 (date VARCHAR, partner VARCHAR, score VARCHAR)
SELECT date FROM table_name_46 WHERE partner = "alexandra fusai" AND score = "4–6, 6–3, 6–1"
Which TV season has a Season smaller than 8, and a Household (in millions) of 15.92 (17.1 rating)?
CREATE TABLE table_name_61 (tv_season VARCHAR, season VARCHAR, households__in_millions_ VARCHAR)
SELECT tv_season FROM table_name_61 WHERE season < 8 AND households__in_millions_ = "15.92 (17.1 rating)"
What is the number of wins when the against is larger than 1155, for Warrnambool, with more than 0 draws?
CREATE TABLE table_name_20 (wins INTEGER, draws VARCHAR, against VARCHAR, club VARCHAR)
SELECT AVG(wins) FROM table_name_20 WHERE against > 1155 AND club = "warrnambool" AND draws > 0
Name the attendance with record of 34-51
CREATE TABLE table_name_61 (attendance VARCHAR, record VARCHAR)
SELECT attendance FROM table_name_61 WHERE record = "34-51"
What school did player number 21 play for?
CREATE TABLE table_10015132_11 (school_club_team VARCHAR, no VARCHAR)
SELECT school_club_team FROM table_10015132_11 WHERE no = "21"
Which Attendance is the lowest one that has a Venue of away, and a Date of 19?
CREATE TABLE table_name_64 (attendance INTEGER, venue VARCHAR, date VARCHAR)
SELECT MIN(attendance) FROM table_name_64 WHERE venue = "away" AND date = 19
Name the total number of episodes for s fire extinguisher
CREATE TABLE table_15187735_10 (episode VARCHAR, segment_a VARCHAR)
SELECT COUNT(episode) FROM table_15187735_10 WHERE segment_a = "s Fire Extinguisher"
what week had a player named zach
CREATE TABLE table_name_11 (weeks_3_4 VARCHAR, name VARCHAR)
SELECT weeks_3_4 FROM table_name_11 WHERE name = "zach"
I want the time/retired for Grid of 13
CREATE TABLE table_name_59 (time_retired VARCHAR, grid VARCHAR)
SELECT time_retired FROM table_name_59 WHERE grid = 13
What is the biggest number of basses suggested in either one of the references?
CREATE TABLE table_2414_1 (basses INTEGER)
SELECT MAX(basses) FROM table_2414_1
Where was the game played and what was the attendance on May 13?
CREATE TABLE table_27756474_13 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_27756474_13 WHERE date = "May 13"
Who is the home team of the game on December 21?
CREATE TABLE table_name_53 (home VARCHAR, date VARCHAR)
SELECT home FROM table_name_53 WHERE date = "december 21"
Name the italian voice actor for dirk fenselau
CREATE TABLE table_14960574_6 (italian_voice_actor VARCHAR, german_voice_actor VARCHAR)
SELECT italian_voice_actor FROM table_14960574_6 WHERE german_voice_actor = "Dirk Fenselau"
What is the english title of the modern drama, episode 20, that airs on 26 sep- 21 oct?
CREATE TABLE table_name_82 (english_title__chinese_title_ VARCHAR, airing_date VARCHAR, genre VARCHAR, number_of_episodes VARCHAR)
SELECT english_title__chinese_title_ FROM table_name_82 WHERE genre = "modern drama" AND number_of_episodes = 20 AND airing_date = "26 sep- 21 oct"
Who did Thomaz Bellucci play against when he became runner-up on a clay surface?
CREATE TABLE table_name_73 (opponent VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT opponent FROM table_name_73 WHERE outcome = "runner-up" AND surface = "clay"
When was the satellite that has a COSPAR ID of 1967-042a launched?
CREATE TABLE table_name_80 (launch_date VARCHAR, cospar_id VARCHAR)
SELECT launch_date FROM table_name_80 WHERE cospar_id = "1967-042a"
What is the lowest weight class (kg) that has sofia, bulgaria as the venue?
CREATE TABLE table_name_73 (weight_class__kg_ INTEGER, venue VARCHAR)
SELECT MIN(weight_class__kg_) FROM table_name_73 WHERE venue = "sofia, bulgaria"
How many episodes had 4.44m viewers?
CREATE TABLE table_27039190_3 (episode VARCHAR, viewers VARCHAR)
SELECT COUNT(episode) FROM table_27039190_3 WHERE viewers = "4.44m"
What is the Time with a Record that is 15-7?
CREATE TABLE table_name_98 (time VARCHAR, record VARCHAR)
SELECT time FROM table_name_98 WHERE record = "15-7"
What is Thad Jemison's position?
CREATE TABLE table_name_85 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_85 WHERE player = "thad jemison"
What is the record of the game with a game number greater than 24 on December 19?
CREATE TABLE table_name_32 (record VARCHAR, game VARCHAR, date VARCHAR)
SELECT record FROM table_name_32 WHERE game > 24 AND date = "december 19"
What is the average Against, when Status is "Five Nations", and when Date is "16/03/1996"?
CREATE TABLE table_name_28 (against INTEGER, status VARCHAR, date VARCHAR)
SELECT AVG(against) FROM table_name_28 WHERE status = "five nations" AND date = "16/03/1996"
For what award was there a nomination for Best Actress?
CREATE TABLE table_name_21 (award VARCHAR, category VARCHAR)
SELECT award FROM table_name_21 WHERE category = "best actress"
What is the Population n1891 of the County with Sleaford Headquarters?
CREATE TABLE table_name_44 (population_1891 INTEGER, headquarters VARCHAR)
SELECT MAX(population_1891) FROM table_name_44 WHERE headquarters = "sleaford"
How many object dates have origin in Samoa?
CREATE TABLE table_29635868_1 (object_date VARCHAR, origin VARCHAR)
SELECT COUNT(object_date) FROM table_29635868_1 WHERE origin = "Samoa"
What is Score, when Location Attendance is "Madison Square Garden Unknown", and when High Rebounds is "Sidney Green (10)"?
CREATE TABLE table_name_9 (score VARCHAR, location_attendance VARCHAR, high_rebounds VARCHAR)
SELECT score FROM table_name_9 WHERE location_attendance = "madison square garden unknown" AND high_rebounds = "sidney green (10)"
What day(s) did they play on week 2?
CREATE TABLE table_1639689_2 (date VARCHAR, week VARCHAR)
SELECT date FROM table_1639689_2 WHERE week = 2
What tournament since 1973 has a result of 1st?
CREATE TABLE table_name_66 (tournament VARCHAR, result VARCHAR, year VARCHAR)
SELECT tournament FROM table_name_66 WHERE result = "1st" AND year > 1973
What message has hd 186408 as a designation HD?
CREATE TABLE table_name_75 (message VARCHAR, designation_hd VARCHAR)
SELECT message FROM table_name_75 WHERE designation_hd = "hd 186408"
Which Location Attendance has a High assists of raymond felton (5), and a Record of 35–44?
CREATE TABLE table_name_17 (location_attendance VARCHAR, high_assists VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_17 WHERE high_assists = "raymond felton (5)" AND record = "35–44"
What is the title when u.s. viewers (millions) is 3.97?
CREATE TABLE table_18481791_3 (title VARCHAR, us_viewers__in_millions_ VARCHAR)
SELECT title FROM table_18481791_3 WHERE us_viewers__in_millions_ = "3.97"
What is the league goals when the total goals is 179?
CREATE TABLE table_29701419_2 (league_goals INTEGER, total_goals VARCHAR)
SELECT MAX(league_goals) FROM table_29701419_2 WHERE total_goals = 179
What's the Backed after 2008 with a label of Wild World?
CREATE TABLE table_name_24 (backed_with VARCHAR, record_label VARCHAR, date VARCHAR)
SELECT backed_with FROM table_name_24 WHERE record_label = "wild world" AND date > 2008
How many budgets are above 3000 in year 2001 or before?
CREATE TABLE budget (budgeted VARCHAR, YEAR VARCHAR)
SELECT COUNT(*) FROM budget WHERE budgeted > 3000 AND YEAR <= 2001
For opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team.
CREATE TABLE table_27877656_7 (opponent_team VARCHAR, opponent VARCHAR, edition VARCHAR, outcome VARCHAR)
SELECT opponent_team FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND outcome = "Winner" AND opponent = "Sandra Kristjánsdóttir"
What party did the incumbent from the Illinois 12 district belong to?
CREATE TABLE table_1341707_15 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1341707_15 WHERE district = "Illinois 12"
Which Score has an October smaller than 15, and a Record of 2–0–0?
CREATE TABLE table_name_73 (score VARCHAR, october VARCHAR, record VARCHAR)
SELECT score FROM table_name_73 WHERE october < 15 AND record = "2–0–0"
What's the catalog number for a record from columbia formatted in a cd/dvd that's from the United States region?
CREATE TABLE table_name_97 (catalog VARCHAR, format VARCHAR, label VARCHAR, region VARCHAR)
SELECT catalog FROM table_name_97 WHERE label = "columbia" AND region = "united states" AND format = "cd/dvd"
How many years were there albums by heat wave?
CREATE TABLE table_name_84 (year INTEGER, from_album VARCHAR)
SELECT SUM(year) FROM table_name_84 WHERE from_album = "heat wave"
Who is the player with the PBA team of Barangay Ginebra Kings?
CREATE TABLE table_name_11 (player VARCHAR, pba_team VARCHAR)
SELECT player FROM table_name_11 WHERE pba_team = "barangay ginebra kings"
Which country is the player that went to Georgetown from?
CREATE TABLE table_10015132_21 (nationality VARCHAR, school_club_team VARCHAR)
SELECT nationality FROM table_10015132_21 WHERE school_club_team = "Georgetown"
Which composition has an issue price of $99.00?
CREATE TABLE table_name_79 (composition VARCHAR, issue_price VARCHAR)
SELECT composition FROM table_name_79 WHERE issue_price = "$99.00"
How much power does the fuel injection system have with a displacement of 1991cc?
CREATE TABLE table_name_47 (power VARCHAR, fuel_system VARCHAR, displacement VARCHAR)
SELECT power FROM table_name_47 WHERE fuel_system = "fuel injection" AND displacement = "1991cc"
What Country's Player scored 71-69-70-71=281?
CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 71 = 281
what is the event when the location is saitama, japan?
CREATE TABLE table_name_66 (event VARCHAR, location VARCHAR)
SELECT event FROM table_name_66 WHERE location = "saitama, japan"
What's the attendance of the game where there was a Loss of Yates (3-2)?
CREATE TABLE table_name_37 (attendance VARCHAR, loss VARCHAR)
SELECT attendance FROM table_name_37 WHERE loss = "yates (3-2)"
How many touchdowns are there when there were 0 extra points and Hal Weeks had left halfback?
CREATE TABLE table_name_71 (touchdowns VARCHAR, player VARCHAR, extra_points VARCHAR, position VARCHAR)
SELECT touchdowns FROM table_name_71 WHERE extra_points = 0 AND position = "left halfback" AND player = "hal weeks"
What is the name of the inductee for the ecw arena?
CREATE TABLE table_name_56 (inductee_s_ VARCHAR, venue VARCHAR)
SELECT inductee_s_ FROM table_name_56 WHERE venue = "ecw arena"
What is the home stadium of the Tennessee Titans?
CREATE TABLE table_name_10 (stadium VARCHAR, host_team VARCHAR)
SELECT stadium FROM table_name_10 WHERE host_team = "tennessee titans"