question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Result of 86-87 (2-4) involves what home team?
CREATE TABLE table_name_38 (home_team VARCHAR, result VARCHAR)
SELECT home_team FROM table_name_38 WHERE result = "86-87 (2-4)"
What team did the Heat play against at the TD Waterhouse Centre?
CREATE TABLE table_name_55 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_name_55 WHERE location_attendance = "td waterhouse centre"
What was the average attendance for games with a loss of papelbon (0–1)?
CREATE TABLE table_name_66 (attendance INTEGER, loss VARCHAR)
SELECT AVG(attendance) FROM table_name_66 WHERE loss = "papelbon (0–1)"
What year was the tournament first held in Italy?
CREATE TABLE table_14903081_1 (began INTEGER, country VARCHAR)
SELECT MIN(began) FROM table_14903081_1 WHERE country = "Italy"
Where did Geelong play as the home team?
CREATE TABLE table_name_4 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_4 WHERE home_team = "geelong"
What is the duration for no 33?
CREATE TABLE table_21422977_2 (duration VARCHAR, nº VARCHAR)
SELECT duration FROM table_21422977_2 WHERE nº = 33
How long was the 16 staged event in 1997?
CREATE TABLE table_name_38 (distance VARCHAR, stages VARCHAR, year VARCHAR)
SELECT distance FROM table_name_38 WHERE stages = "16" AND year = "1997"
Name the vacator for took seat being january 29, 1813
CREATE TABLE table_15572443_1 (vacator VARCHAR, took_seat VARCHAR)
SELECT vacator FROM table_15572443_1 WHERE took_seat = "January 29, 1813"
Name the total number of written by for original air date for may 8, 2005
CREATE TABLE table_1876825_7 (written_by VARCHAR, original_air_date VARCHAR)
SELECT COUNT(written_by) FROM table_1876825_7 WHERE original_air_date = "May 8, 2005"
Name the interacting settings for co-operate, plan, take care of, help
CREATE TABLE table_name_40 (interacting__settings_ VARCHAR, doing__actions_ VARCHAR)
SELECT interacting__settings_ FROM table_name_40 WHERE doing__actions_ = "co-operate, plan, take care of, help"
What date was the loss of sparks (0–1)?
CREATE TABLE table_name_43 (date VARCHAR, loss VARCHAR)
SELECT date FROM table_name_43 WHERE loss = "sparks (0–1)"
How many matches were drawn by the teams that won exactly 10?
CREATE TABLE table_27293285_6 (drawn VARCHAR, won VARCHAR)
SELECT COUNT(drawn) FROM table_27293285_6 WHERE won = "10"
What nation is the cyclist from team discovery channel?
CREATE TABLE table_name_22 (nation VARCHAR, team VARCHAR)
SELECT nation FROM table_name_22 WHERE team = "discovery channel"
What were the dates for Round 8?
CREATE TABLE table_14016079_1 (date VARCHAR, rd VARCHAR)
SELECT date FROM table_14016079_1 WHERE rd = 8
Give me the product type, name and price for all the products supplied by supplier id 3.
CREATE TABLE products (product_type_code VARCHAR, product_name VARCHAR, product_price VARCHAR, product_id VARCHAR); CREATE TABLE product_suppliers (product_id VARCHAR, supplier_id VARCHAR)
SELECT T2.product_type_code, T2.product_name, T2.product_price FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id = T2.product_id WHERE T1.supplier_id = 3
Name the contestant for villa hermosa
CREATE TABLE table_21346767_3 (contestant VARCHAR, hometown VARCHAR)
SELECT contestant FROM table_21346767_3 WHERE hometown = "Villa Hermosa"
What is the latitude when the diameter is 184.0?
CREATE TABLE table_16768245_2 (latitude VARCHAR, diameter VARCHAR)
SELECT latitude FROM table_16768245_2 WHERE diameter = "184.0"
What is the smallest number of points for a 1981 team?
CREATE TABLE table_name_15 (points INTEGER, year VARCHAR)
SELECT MIN(points) FROM table_name_15 WHERE year = 1981
What is the hight in ft and m of the building with less than 11 floors?
CREATE TABLE table_name_12 (height_ft__m_ VARCHAR, floors INTEGER)
SELECT height_ft__m_ FROM table_name_12 WHERE floors < 11
Which Novick has a Source of surveyusa, and a Neville of 8%?
CREATE TABLE table_name_59 (novick VARCHAR, source VARCHAR, neville VARCHAR)
SELECT novick FROM table_name_59 WHERE source = "surveyusa" AND neville = "8%"
Where is the team in Sussex county located?
CREATE TABLE table_18461635_1 (location VARCHAR, county VARCHAR)
SELECT location FROM table_18461635_1 WHERE county = "Sussex"
What is the sum of the gold medals for the nation of Great britain who had more than 8 silvers and a total of less than 61 medals?
CREATE TABLE table_name_18 (gold INTEGER, total VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT SUM(gold) FROM table_name_18 WHERE silver > 8 AND nation = "great britain" AND total < 61
How many bronze medals did Bulgaria receive?
CREATE TABLE table_name_1 (bronze VARCHAR, nation VARCHAR)
SELECT bronze FROM table_name_1 WHERE nation = "bulgaria"
Which club had football at Mitchel Athletic Field?
CREATE TABLE table_name_43 (club VARCHAR, sport VARCHAR, venue VARCHAR)
SELECT club FROM table_name_43 WHERE sport = "football" AND venue = "mitchel athletic field"
What is the score of the game with 1,125 people in attendance?
CREATE TABLE table_name_37 (score VARCHAR, attendance VARCHAR)
SELECT score FROM table_name_37 WHERE attendance = "1,125"
Name the date for richmond
CREATE TABLE table_16387700_1 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_16387700_1 WHERE away_team = "Richmond"
which Score has a Partnering of dmitry tursunov?
CREATE TABLE table_name_63 (score VARCHAR, partnering VARCHAR)
SELECT score FROM table_name_63 WHERE partnering = "dmitry tursunov"
How many 5K wins did Emily Chebet, who had more than 2 total, have?
CREATE TABLE table_name_80 (runner VARCHAR, total VARCHAR)
SELECT COUNT(5 AS k_wins) FROM table_name_80 WHERE runner = "emily chebet" AND total > 2
Which report is for Townsville Entertainment Centre?
CREATE TABLE table_name_6 (report VARCHAR, venue VARCHAR)
SELECT report FROM table_name_6 WHERE venue = "townsville entertainment centre"
Who is Mike Wallace's primary Sponsor(s)?
CREATE TABLE table_name_45 (primary_sponsor_s_ VARCHAR, driver_s_ VARCHAR)
SELECT primary_sponsor_s_ FROM table_name_45 WHERE driver_s_ = "mike wallace"
What is Home Team, when Attendance is "112", and when Away Team is "Kentish Town"?
CREATE TABLE table_name_94 (home_team VARCHAR, attendance VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_94 WHERE attendance = "112" AND away_team = "kentish town"
Name the visitor for detroit on february 24
CREATE TABLE table_name_55 (visitor VARCHAR, home VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_55 WHERE home = "detroit" AND date = "february 24"
What was the sample size for polling on May 2-7, 2007 for Hillary Clinton?
CREATE TABLE table_name_35 (sample_size VARCHAR, date VARCHAR, democrat VARCHAR)
SELECT sample_size FROM table_name_35 WHERE date = "may 2-7, 2007" AND democrat = "hillary clinton"
What was the highest points when the second was 4?
CREATE TABLE table_name_12 (points INTEGER, second VARCHAR)
SELECT MAX(points) FROM table_name_12 WHERE second = "4"
Which Silver is the lowest one that has a Bronze smaller than 1, and a Gold larger than 0?
CREATE TABLE table_name_56 (silver INTEGER, bronze VARCHAR, gold VARCHAR)
SELECT MIN(silver) FROM table_name_56 WHERE bronze < 1 AND gold > 0
What was the stadium in Adelaide, South Australia built for?
CREATE TABLE table_28885977_1 (built_for VARCHAR, location VARCHAR)
SELECT built_for FROM table_28885977_1 WHERE location = "Adelaide, South Australia"
what is the club in the sixth round proper
CREATE TABLE table_27876486_2 (clubs VARCHAR, round VARCHAR)
SELECT clubs FROM table_27876486_2 WHERE round = "Sixth round proper"
what is the location when the year is before 1979 and the result is 19-17?
CREATE TABLE table_name_68 (location VARCHAR, year VARCHAR, result VARCHAR)
SELECT location FROM table_name_68 WHERE year < 1979 AND result = "19-17"
who had the high rebounds when the game number was 6?
CREATE TABLE table_name_70 (high_rebounds VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_name_70 WHERE game = 6
What is the Country of the Player with a Score of 69-71-66=206?
CREATE TABLE table_name_99 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_99 WHERE score = 69 - 71 - 66 = 206
What was the result of the game played on May 5?
CREATE TABLE table_name_5 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_5 WHERE date = "may 5"
What is the poison/klesha word for moha avijja in pali?
CREATE TABLE table_name_29 (poison_klesha VARCHAR, pali VARCHAR)
SELECT poison_klesha FROM table_name_29 WHERE pali = "moha avijja"
During what years was the Jersey Numbers 34, 30 played?
CREATE TABLE table_name_13 (years VARCHAR, jersey_number_s_ VARCHAR)
SELECT years FROM table_name_13 WHERE jersey_number_s_ = "34, 30"
Where did Essendon play as the away team?
CREATE TABLE table_name_83 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_83 WHERE away_team = "essendon"
WHich Studio analysts has a Studio host of gary tanguay in 2009-10?
CREATE TABLE table_name_36 (studio_analysts VARCHAR, studio_host VARCHAR, year VARCHAR)
SELECT studio_analysts FROM table_name_36 WHERE studio_host = "gary tanguay" AND year = "2009-10"
What is the highest top-10 a tournament with 16 cuts and less than 13 top-25 has?
CREATE TABLE table_name_81 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR)
SELECT MAX(top_10) FROM table_name_81 WHERE cuts_made = 16 AND top_25 < 13
What college did the Toronto Argonauts draft pick come from?
CREATE TABLE table_25085059_1 (college VARCHAR, cfl_team VARCHAR)
SELECT college FROM table_25085059_1 WHERE cfl_team = "Toronto Argonauts"
For High Assists of Raymond Felton (12), who were the High rebounds?
CREATE TABLE table_17001658_10 (high_rebounds VARCHAR, high_assists VARCHAR)
SELECT high_rebounds FROM table_17001658_10 WHERE high_assists = "Raymond Felton (12)"
Which Hometown/School has a Team of cleveland indians?
CREATE TABLE table_name_94 (hometown_school VARCHAR, team VARCHAR)
SELECT hometown_school FROM table_name_94 WHERE team = "cleveland indians"
Which Diameter has a Thickness of 1.3mm?
CREATE TABLE table_name_93 (diameter VARCHAR, thickness VARCHAR)
SELECT diameter FROM table_name_93 WHERE thickness = "1.3mm"
Name the team for arco arena 13,685
CREATE TABLE table_17102076_5 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_17102076_5 WHERE location_attendance = "ARCO Arena 13,685"
How many people lived in the district with a code GP in 2011?
CREATE TABLE table_2801442_1 (population__2011_census_ INTEGER, code VARCHAR)
SELECT MIN(population__2011_census_) FROM table_2801442_1 WHERE code = "GP"
Find the name of the most expensive product.
CREATE TABLE products (product_name VARCHAR, product_price VARCHAR)
SELECT product_name FROM products ORDER BY product_price DESC LIMIT 1
What is the least entry for game if the score is 1-0?
CREATE TABLE table_27539535_4 (game INTEGER, score VARCHAR)
SELECT MIN(game) FROM table_27539535_4 WHERE score = "1-0"
what was the overall pick number for rich dobbert?
CREATE TABLE table_name_36 (overall INTEGER, name VARCHAR)
SELECT AVG(overall) FROM table_name_36 WHERE name = "rich dobbert"
Who was the minister for the CSV party with a present day end date?
CREATE TABLE table_name_43 (minister VARCHAR, party VARCHAR, end_date VARCHAR)
SELECT minister FROM table_name_43 WHERE party = "csv" AND end_date = "present day"
what is the location/attendance when the record is 9-2?
CREATE TABLE table_name_23 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_23 WHERE record = "9-2"
Who is the player from Canada with a 199 pick?
CREATE TABLE table_name_75 (player VARCHAR, nationality VARCHAR, pick VARCHAR)
SELECT player FROM table_name_75 WHERE nationality = "canada" AND pick = "199"
What is Try Diff, when Points Diff is +71?
CREATE TABLE table_name_18 (try_diff VARCHAR, points_diff VARCHAR)
SELECT try_diff FROM table_name_18 WHERE points_diff = "+71"
Can you tell me the average Money ($) that has the To par larger than 14, and the Player of ed dudley?
CREATE TABLE table_name_87 (money___ INTEGER, to_par VARCHAR, player VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_87 WHERE to_par > 14 AND player = "ed dudley"
Elevation of 11,158 feet 3401 m had what route?
CREATE TABLE table_name_85 (route VARCHAR, elevation VARCHAR)
SELECT route FROM table_name_85 WHERE elevation = "11,158 feet 3401 m"
What is the player from England's score?
CREATE TABLE table_name_98 (score VARCHAR, country VARCHAR)
SELECT score FROM table_name_98 WHERE country = "england"
Name the opponent for astrodome
CREATE TABLE table_14418812_1 (opponent VARCHAR, game_site VARCHAR)
SELECT opponent FROM table_14418812_1 WHERE game_site = "Astrodome"
How many Gold medals for the Nations with 6 or more Bronze medals and 18 or more Silver?
CREATE TABLE table_name_73 (gold INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT AVG(gold) FROM table_name_73 WHERE bronze > 6 AND silver > 18
Where was the game site for the game that had a packers record of 2-2?
CREATE TABLE table_name_37 (game_site VARCHAR, record VARCHAR)
SELECT game_site FROM table_name_37 WHERE record = "2-2"
What is the Highest first elected year that has a district of 06.0 6, and a committee of economic matters?
CREATE TABLE table_name_99 (first_elected INTEGER, district VARCHAR, committee VARCHAR)
SELECT MAX(first_elected) FROM table_name_99 WHERE district = "06.0 6" AND committee = "economic matters"
What is Position when Player is Drew Barry Category:Articles With hCards?
CREATE TABLE table_name_54 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_54 WHERE player = "drew barry category:articles with hcards"
Who is the Driver with the Team of P & L Mechanical Services?
CREATE TABLE table_name_1 (driver VARCHAR, team VARCHAR)
SELECT driver FROM table_name_1 WHERE team = "p & l mechanical services"
What is Result, when Competition is 2010 FIFA World Cup Qualification, and when Date is 10 September 2008?
CREATE TABLE table_name_37 (result VARCHAR, competition VARCHAR, date VARCHAR)
SELECT result FROM table_name_37 WHERE competition = "2010 fifa world cup qualification" AND date = "10 september 2008"
available subnets leading total is?
CREATE TABLE table_149426_4 (available_subnets INTEGER)
SELECT MAX(available_subnets) FROM table_149426_4
Who was the owner in 1996 of trainer Nick Zito?
CREATE TABLE table_name_10 (owner VARCHAR, trainer VARCHAR, year VARCHAR)
SELECT owner FROM table_name_10 WHERE trainer = "nick zito" AND year = "1996"
What is the memory when release date is January 2010 and socket is BGA-1288?
CREATE TABLE table_name_13 (memory VARCHAR, release_date VARCHAR, socket VARCHAR)
SELECT memory FROM table_name_13 WHERE release_date = "january 2010" AND socket = "bga-1288"
What is week 7 when week 3 is 35.90?
CREATE TABLE table_name_62 (week_7 VARCHAR, week_3 VARCHAR)
SELECT week_7 FROM table_name_62 WHERE week_3 = "35.90"
When was Jill Hall of the Labor Party first elected?
CREATE TABLE table_name_6 (first_elected VARCHAR, party VARCHAR, member VARCHAR)
SELECT first_elected FROM table_name_6 WHERE party = "labor" AND member = "jill hall"
What are the names and ids of customers whose address contains TN?
CREATE TABLE customers (customer_name VARCHAR, customer_id VARCHAR, customer_address VARCHAR)
SELECT customer_name, customer_id FROM customers WHERE customer_address LIKE "%TN%"
What was the Date of Country of United States?
CREATE TABLE table_name_97 (date VARCHAR, country VARCHAR)
SELECT date FROM table_name_97 WHERE country = "united states"
What is the platform for the latest release 8.4?
CREATE TABLE table_name_28 (platform VARCHAR, latest_stable_release VARCHAR)
SELECT platform FROM table_name_28 WHERE latest_stable_release = "8.4"
What is the home team's score at mcg?
CREATE TABLE table_name_49 (home_team VARCHAR, venue VARCHAR)
SELECT home_team AS score FROM table_name_49 WHERE venue = "mcg"
What are all the title directed by reginald hudlin
CREATE TABLE table_21994729_3 (title VARCHAR, directed_by VARCHAR)
SELECT COUNT(title) FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin"
Which Year has the Orginal title of La Cérémonie?
CREATE TABLE table_name_13 (year VARCHAR, original_title VARCHAR)
SELECT year FROM table_name_13 WHERE original_title = "la cérémonie"
What is Teleplay, when First Broadcast is April 10, 1981?
CREATE TABLE table_name_57 (teleplay VARCHAR, first_broadcast VARCHAR)
SELECT teleplay FROM table_name_57 WHERE first_broadcast = "april 10, 1981"
Who is from south korea and has a heat less than 3?
CREATE TABLE table_name_44 (name VARCHAR, heat VARCHAR, nationality VARCHAR)
SELECT name FROM table_name_44 WHERE heat < 3 AND nationality = "south korea"
What country is Relax-Gam from?
CREATE TABLE table_name_83 (country VARCHAR, team VARCHAR)
SELECT country FROM table_name_83 WHERE team = "relax-gam"
What was the 2nd leg for 2004?
CREATE TABLE table_name_29 (year VARCHAR)
SELECT 2 AS nd_leg FROM table_name_29 WHERE year = 2004
What document type codes do we have?
CREATE TABLE Ref_Document_Types (document_type_code VARCHAR)
SELECT document_type_code FROM Ref_Document_Types
What digital reaction has a hot 100 reaction of 4 (+4)?
CREATE TABLE table_name_81 (hot_digital_songs_reaction VARCHAR, hot_100_reaction VARCHAR)
SELECT hot_digital_songs_reaction FROM table_name_81 WHERE hot_100_reaction = "4 (+4)"
List the names of the schools without any endowment.
CREATE TABLE endowment (school_name VARCHAR, school_id VARCHAR); CREATE TABLE school (school_name VARCHAR, school_id VARCHAR)
SELECT school_name FROM school WHERE NOT school_id IN (SELECT school_id FROM endowment)
Name the delay when scientific linux release is 5.10
CREATE TABLE table_1500146_1 (delay VARCHAR, scientific_linux_release VARCHAR)
SELECT delay FROM table_1500146_1 WHERE scientific_linux_release = "5.10"
What is the chapter in Lubbock?
CREATE TABLE table_name_65 (chapter VARCHAR, city VARCHAR)
SELECT chapter FROM table_name_65 WHERE city = "lubbock"
What's the heat that was timed 2:08.54?
CREATE TABLE table_name_64 (heat VARCHAR, time VARCHAR)
SELECT COUNT(heat) FROM table_name_64 WHERE time = "2:08.54"
What is the average tries for less than 117 points and less than 48 tries against?
CREATE TABLE table_name_90 (tries_for INTEGER, points_for VARCHAR, tries_against VARCHAR)
SELECT AVG(tries_for) FROM table_name_90 WHERE points_for < 117 AND tries_against < 48
List the team with 12 points.
CREATE TABLE table_25561038_1 (team VARCHAR, points VARCHAR)
SELECT team FROM table_25561038_1 WHERE points = "12"
What is the smallest ansi code?
CREATE TABLE table_18600760_13 (ansi_code INTEGER)
SELECT MIN(ansi_code) FROM table_18600760_13
Who had a ballet style with original cast?
CREATE TABLE table_name_80 (name VARCHAR, style VARCHAR, status VARCHAR)
SELECT name FROM table_name_80 WHERE style = "ballet" AND status = "original cast"
On what date was the Result 1-0?
CREATE TABLE table_name_33 (date VARCHAR, result VARCHAR)
SELECT date FROM table_name_33 WHERE result = "1-0"
Show the document type code with fewer than 3 documents.
CREATE TABLE Documents (document_type_code VARCHAR)
SELECT document_type_code FROM Documents GROUP BY document_type_code HAVING COUNT(*) < 3
What Event's Time is 4:01.00?
CREATE TABLE table_name_4 (event VARCHAR, time VARCHAR)
SELECT event FROM table_name_4 WHERE time = "4:01.00"
What is the score for the match that had a home team of Kidderminster Harriers?
CREATE TABLE table_name_42 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_42 WHERE home_team = "kidderminster harriers"
What is the highest Top-5 that has 18 or more events with a Top-25 of 23?
CREATE TABLE table_name_61 (top_5 INTEGER, events VARCHAR, top_25 VARCHAR)
SELECT MAX(top_5) FROM table_name_61 WHERE events > 18 AND top_25 = 23
Which Week 10 Nov 2 has a Week 9 Oct 26 of lsu (5-2)?
CREATE TABLE table_name_86 (week_10_nov_2 VARCHAR, week_9_oct_26 VARCHAR)
SELECT week_10_nov_2 FROM table_name_86 WHERE week_9_oct_26 = "lsu (5-2)"