question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
what is the place for costantino rocca?
CREATE TABLE table_name_13 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_13 WHERE player = "costantino rocca"
Which Position has Notes of 68.76 m?
CREATE TABLE table_name_55 (position VARCHAR, notes VARCHAR)
SELECT position FROM table_name_55 WHERE notes = "68.76 m"
What is the OF-4 of Albania?
CREATE TABLE table_name_47 (of_4 VARCHAR, country VARCHAR)
SELECT of_4 FROM table_name_47 WHERE country = "albania"
Which Played has Draws smaller than 7, and Goals for smaller than 61, and Goals against smaller than 48, and a Position of 5?
CREATE TABLE table_name_29 (played INTEGER, position VARCHAR, goals_against VARCHAR, draws VARCHAR, goals_for VARCHAR)
SELECT MAX(played) FROM table_name_29 WHERE draws < 7 AND goals_for < 61 AND goals_against < 48 AND position = 5
Who is the opponent for week 5?
CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_96 WHERE week = 5
What was the position of the Racing Organisation Course team?
CREATE TABLE table_name_79 (pos VARCHAR, team VARCHAR)
SELECT pos FROM table_name_79 WHERE team = "racing organisation course"
What was the score for the final played on 2 July 2012?
CREATE TABLE table_name_5 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_5 WHERE date = "2 july 2012"
Who is the owner operator who has license number PL 59?
CREATE TABLE table_name_85 (owner_operator VARCHAR, licence_number VARCHAR)
SELECT owner_operator FROM table_name_85 WHERE licence_number = "pl 59"
What was the date of the game where the record was 4-4?
CREATE TABLE table_name_56 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_56 WHERE record = "4-4"
Who is on the 2002 commission from district 3?
CREATE TABLE table_136027_2 (district VARCHAR)
SELECT 2002 AS _commission FROM table_136027_2 WHERE district = "district 3"
What was the earliest aired show that's returning on September 13?
CREATE TABLE table_name_1 (last_aired INTEGER, returning VARCHAR)
SELECT MIN(last_aired) FROM table_name_1 WHERE returning = "september 13"
Which visiting team had a final score of 14-34?
CREATE TABLE table_name_12 (visiting_team VARCHAR, final_score VARCHAR)
SELECT visiting_team FROM table_name_12 WHERE final_score = "14-34"
What was the total number of episodes that had a 3-1 vote?
CREATE TABLE table_24122653_2 (episode VARCHAR, vote VARCHAR)
SELECT COUNT(episode) FROM table_24122653_2 WHERE vote = "3-1"
Which player played in 2007?
CREATE TABLE table_name_17 (player VARCHAR, season VARCHAR)
SELECT player FROM table_name_17 WHERE season = "2007"
What was Ben Hogan's par?
CREATE TABLE table_name_45 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_45 WHERE player = "ben hogan"
In what year was Martin Sheen nominated?
CREATE TABLE table_name_3 (year VARCHAR, nominee VARCHAR)
SELECT year FROM table_name_3 WHERE nominee = "martin sheen"
What are the notes for 2005?
CREATE TABLE table_name_36 (notes VARCHAR, year VARCHAR)
SELECT notes FROM table_name_36 WHERE year = 2005
how many capital with population census 2009 being 284657
CREATE TABLE table_1404456_1 (capital VARCHAR, population_census_2009 VARCHAR)
SELECT COUNT(capital) FROM table_1404456_1 WHERE population_census_2009 = 284657
What Kemmerode has a Gersforf of 39?
CREATE TABLE table_name_68 (kemmerode VARCHAR, gersdorf VARCHAR)
SELECT kemmerode FROM table_name_68 WHERE gersdorf = "39"
Find the total rating ratio for each channel owner.
CREATE TABLE channel (OWNER VARCHAR, Rating_in_percent INTEGER)
SELECT SUM(Rating_in_percent), OWNER FROM channel GROUP BY OWNER
List the names of all scientists sorted in alphabetical order.
CREATE TABLE scientists (name VARCHAR)
SELECT name FROM scientists ORDER BY name
Which time has eddie miller as opponent?
CREATE TABLE table_name_11 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_11 WHERE opponent = "eddie miller"
From what county was the team that left the conference in 1993?
CREATE TABLE table_name_3 (county VARCHAR, year_left VARCHAR)
SELECT county FROM table_name_3 WHERE year_left = "1993"
What is the least amount of blank ends for a skip who has 44 PF?
CREATE TABLE table_29546030_2 (blank_ends INTEGER, pf VARCHAR)
SELECT MIN(blank_ends) FROM table_29546030_2 WHERE pf = 44
What shows for gold when bronze is 1?
CREATE TABLE table_name_28 (gold VARCHAR, bronze VARCHAR)
SELECT gold FROM table_name_28 WHERE bronze = 1
Which laps has a grid of 8?
CREATE TABLE table_name_25 (laps VARCHAR, grid VARCHAR)
SELECT laps FROM table_name_25 WHERE grid = "8"
What is the score on 15 Aug with a 17:30 time?
CREATE TABLE table_name_66 (score VARCHAR, date VARCHAR, time VARCHAR)
SELECT score FROM table_name_66 WHERE date = "15 aug" AND time = "17:30"
How many track numbers were called song 2?
CREATE TABLE table_28715942_3 (track_no VARCHAR, track VARCHAR)
SELECT COUNT(track_no) FROM table_28715942_3 WHERE track = "Song 2"
When was there a score of 5-1?
CREATE TABLE table_name_42 (date VARCHAR, score VARCHAR)
SELECT date FROM table_name_42 WHERE score = "5-1"
What is Date, when Tie No is "Replay", and when Away Team is "Crystal Palace"?
CREATE TABLE table_name_85 (date VARCHAR, tie_no VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_85 WHERE tie_no = "replay" AND away_team = "crystal palace"
Record of 47–5 (1) involved what res?
CREATE TABLE table_name_49 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_49 WHERE record = "47–5 (1)"
Who choreographed the smooth waltz with lacey schwimmer?
CREATE TABLE table_name_94 (choreographer_s_ VARCHAR, style VARCHAR, partner VARCHAR)
SELECT choreographer_s_ FROM table_name_94 WHERE style = "smooth waltz" AND partner = "lacey schwimmer"
What were the high assist on january 2?
CREATE TABLE table_name_61 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_name_61 WHERE date = "january 2"
Show company name and main industry without a gas station.
CREATE TABLE station_company (company VARCHAR, main_industry VARCHAR, company_id VARCHAR); CREATE TABLE company (company VARCHAR, main_industry VARCHAR, company_id VARCHAR)
SELECT company, main_industry FROM company WHERE NOT company_id IN (SELECT company_id FROM station_company)
What was the nationality of the athlete that ran the 10000 m event?
CREATE TABLE table_name_75 (nationality VARCHAR, event VARCHAR)
SELECT nationality FROM table_name_75 WHERE event = "10000 m"
what is the year built of kyrkjebø?
CREATE TABLE table_name_20 (year_built INTEGER, sub_parish__sogn_ VARCHAR)
SELECT AVG(year_built) FROM table_name_20 WHERE sub_parish__sogn_ = "kyrkjebø"
What is the accelerate of the car make amc hornet sportabout (sw)?
CREATE TABLE CARS_DATA (Accelerate VARCHAR, Id VARCHAR); CREATE TABLE CAR_NAMES (MakeId VARCHAR, Make VARCHAR)
SELECT T1.Accelerate FROM CARS_DATA AS T1 JOIN CAR_NAMES AS T2 ON T1.Id = T2.MakeId WHERE T2.Make = 'amc hornet sportabout (sw)'
What was the resolution of the fight where andre roberts record was 9-1?
CREATE TABLE table_name_60 (res VARCHAR, record VARCHAR)
SELECT res FROM table_name_60 WHERE record = "9-1"
Which Model number has a Front Side Bus of 100mhz, a L2-Cache of 64kib and a Multiplier of 8.5×?
CREATE TABLE table_name_98 (model_number VARCHAR, multiplier VARCHAR, front_side_bus VARCHAR, l2_cache VARCHAR)
SELECT model_number FROM table_name_98 WHERE front_side_bus = "100mhz" AND l2_cache = "64kib" AND multiplier = "8.5×"
What is the Almaty, Kazakhstan when Sergey Filimonov ( KAZ ) is 210kg?
CREATE TABLE table_name_17 (almaty_ VARCHAR, _kazakhstan VARCHAR, sergey_filimonov___kaz__ VARCHAR)
SELECT almaty_, _kazakhstan FROM table_name_17 WHERE sergey_filimonov___kaz__ = "210kg"
Which Date has a Record of 3-4?
CREATE TABLE table_name_30 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_30 WHERE record = "3-4"
What is the sum of League Cup, when the Other is less than 1, when the Name is Gareth Farrelly Category:Articles with hCards, and when the League is greater than 1?
CREATE TABLE table_name_68 (league INTEGER, other VARCHAR, name VARCHAR)
SELECT SUM(league) AS Cup FROM table_name_68 WHERE other < 1 AND name = "gareth farrelly category:articles with hcards" AND league > 1
If the qatari male is 1104, what is the grand total?
CREATE TABLE table_26214389_3 (grand_total INTEGER, qatari_male VARCHAR)
SELECT MAX(grand_total) FROM table_26214389_3 WHERE qatari_male = 1104
What is the Position for the brandon wheat kings (wchl)?
CREATE TABLE table_name_92 (position VARCHAR, college_junior_club_team VARCHAR)
SELECT position FROM table_name_92 WHERE college_junior_club_team = "brandon wheat kings (wchl)"
What was the result on November 20, 1988?
CREATE TABLE table_name_49 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_49 WHERE date = "november 20, 1988"
What was the Tournament on May 2?
CREATE TABLE table_name_12 (tournament VARCHAR, week VARCHAR)
SELECT tournament FROM table_name_12 WHERE week = "may 2"
When the girls doubles is ayu pratiwi anggi widia what is the boys doubles?
CREATE TABLE table_14319023_2 (boys_doubles VARCHAR, girls_doubles VARCHAR)
SELECT boys_doubles FROM table_14319023_2 WHERE girls_doubles = "Ayu Pratiwi Anggi Widia"
Which Constructor has a Grid less than 17, Laps under 52, and Olivier Panis as the Driver?
CREATE TABLE table_name_11 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT constructor FROM table_name_11 WHERE grid < 17 AND laps < 52 AND driver = "olivier panis"
What is the name of the network in the United Kingdom which aired in 1985–1992?
CREATE TABLE table_name_44 (network VARCHAR, region_country VARCHAR, dates_aired VARCHAR)
SELECT network FROM table_name_44 WHERE region_country = "united kingdom" AND dates_aired = "1985–1992"
How many furniture components are there in total?
CREATE TABLE furniture (num_of_component INTEGER)
SELECT SUM(num_of_component) FROM furniture
For the ship that was a brig and located in the English Channel, what was the disposition of ship?
CREATE TABLE table_name_57 (disposition_of_ship VARCHAR, ship_type VARCHAR, location VARCHAR)
SELECT disposition_of_ship FROM table_name_57 WHERE ship_type = "brig" AND location = "english channel"
Who was the songwriter for Track 4, produced by nigel wright and john smits?
CREATE TABLE table_name_84 (songwriter_s_ VARCHAR, production_credits VARCHAR, track VARCHAR)
SELECT songwriter_s_ FROM table_name_84 WHERE production_credits = "nigel wright and john smits" AND track = 4
Name the devices per channel for 2560
CREATE TABLE table_174151_5 (devices_per_channel VARCHAR, raw_bandwidth__mbit_s_ VARCHAR)
SELECT devices_per_channel FROM table_174151_5 WHERE raw_bandwidth__mbit_s_ = 2560
what's the u.s. open cup status for regular season of 4th, atlantic division
CREATE TABLE table_1046170_5 (us_open_cup VARCHAR, regular_season VARCHAR)
SELECT us_open_cup FROM table_1046170_5 WHERE regular_season = "4th, Atlantic division"
What year was the team 8th in the season and made it to the 3rd round in Open Cup?
CREATE TABLE table_name_21 (year VARCHAR, reg_season VARCHAR, open_cup VARCHAR)
SELECT year FROM table_name_21 WHERE reg_season = "8th" AND open_cup = "3rd round"
What is the number for the international with 669 domestic earlier than 2005?
CREATE TABLE table_name_78 (international INTEGER, domestic VARCHAR, year VARCHAR)
SELECT AVG(international) FROM table_name_78 WHERE domestic = 669 AND year < 2005
What years does Goreville High School have members?
CREATE TABLE table_name_62 (years_member VARCHAR, school VARCHAR)
SELECT years_member FROM table_name_62 WHERE school = "goreville high school"
For how many years did the song "Lost Without Your Love" win the gold RIAA Sales Certification, and have a Billboard 200 Peak greater than 26?
CREATE TABLE table_name_80 (year INTEGER, billboard_200_peak VARCHAR, riaa_sales_certification VARCHAR, title VARCHAR)
SELECT SUM(year) FROM table_name_80 WHERE riaa_sales_certification = "gold" AND title = "lost without your love" AND billboard_200_peak > 26
WHAT IS THE 2010 PERFORMANCE THAT HAD 2009 0F 0, AND FINALS TOURNAMENT?
CREATE TABLE table_name_19 (tournament VARCHAR)
SELECT 2010 FROM table_name_19 WHERE 2009 = "0" AND tournament = "finals"
What is the score of the United States, which has more than $24,542?
CREATE TABLE table_name_21 (score VARCHAR, country VARCHAR, money___$__ VARCHAR)
SELECT score FROM table_name_21 WHERE country = "united states" AND money___$__ > 24 OFFSET 542
Who had the fastest lap for the circuit magione?
CREATE TABLE table_26920192_5 (fastest_lap VARCHAR, circuit VARCHAR)
SELECT fastest_lap FROM table_26920192_5 WHERE circuit = "Magione"
What is the most cup goals for seasson 1911-12?
CREATE TABLE table_10556257_1 (cup_goals INTEGER, season VARCHAR)
SELECT MAX(cup_goals) FROM table_10556257_1 WHERE season = "1911-12"
How many providers were founded in 1964?
CREATE TABLE table_11390711_4 (provider_iai_ VARCHAR, foundation VARCHAR)
SELECT COUNT(provider_iai_) FROM table_11390711_4 WHERE foundation = 1964
What is the average Year for the Finish of lost 2001 alcs and the Percentage is over 0.716?
CREATE TABLE table_name_11 (year INTEGER, finish VARCHAR, percentage VARCHAR)
SELECT AVG(year) FROM table_name_11 WHERE finish = "lost 2001 alcs" AND percentage > 0.716
Which days have a stage of ss11?
CREATE TABLE table_21536557_2 (day VARCHAR, stage VARCHAR)
SELECT day FROM table_21536557_2 WHERE stage = "SS11"
Name the least indian tamil for population density being 240
CREATE TABLE table_24574438_1 (indian_tamil INTEGER, population_density___km_2__ VARCHAR)
SELECT MIN(indian_tamil) FROM table_24574438_1 WHERE population_density___km_2__ = 240
What is the Airline when the notes show aoc 135?
CREATE TABLE table_name_51 (airline VARCHAR, notes VARCHAR)
SELECT airline FROM table_name_51 WHERE notes = "aoc 135"
Which PCI-Express has a DDR 266/333/400 Registered/ECC memory and Enhanced AC'97 2.3 sound?
CREATE TABLE table_name_11 (pci_express VARCHAR, memory VARCHAR, sound VARCHAR)
SELECT pci_express FROM table_name_11 WHERE memory = "ddr 266/333/400 registered/ecc" AND sound = "enhanced ac'97 2.3"
what person was in rank 10
CREATE TABLE table_name_10 (rider VARCHAR, rank VARCHAR)
SELECT rider FROM table_name_10 WHERE rank = 10
What are the names of cities in ascending alphabetical order?
CREATE TABLE city (Name VARCHAR)
SELECT Name FROM city ORDER BY Name
Which Pre-1009 province has a Post-1009 province of donggye?
CREATE TABLE table_name_36 (pre_1009_province VARCHAR, post_1009_province VARCHAR)
SELECT pre_1009_province FROM table_name_36 WHERE post_1009_province = "donggye"
Name the style for 27
CREATE TABLE table_28677723_14 (style VARCHAR, total VARCHAR)
SELECT style FROM table_28677723_14 WHERE total = 27
What is the elista with 1 played and 153⅓ baku?
CREATE TABLE table_name_14 (elista VARCHAR, played VARCHAR, baku VARCHAR)
SELECT elista FROM table_name_14 WHERE played = 1 AND baku = "153⅓"
what is the measure number for the init type?
CREATE TABLE table_256286_18 (meas_num VARCHAR, type VARCHAR)
SELECT meas_num FROM table_256286_18 WHERE type = "Init"
Which Round has a Rally HQ of salou?
CREATE TABLE table_name_80 (round INTEGER, rally_hq VARCHAR)
SELECT MIN(round) FROM table_name_80 WHERE rally_hq = "salou"
I want the team with assists greater than 118 and rank less than 2
CREATE TABLE table_name_10 (team VARCHAR, assists VARCHAR, rank VARCHAR)
SELECT team FROM table_name_10 WHERE assists > 118 AND rank < 2
Which School/Club Team has a Pick of 198?
CREATE TABLE table_name_7 (school_club_team VARCHAR, pick VARCHAR)
SELECT school_club_team FROM table_name_7 WHERE pick = 198
Name the highest Played of Goals Scored smaller than 18 and a Lost larger than 10?
CREATE TABLE table_name_23 (played INTEGER, goals_scored VARCHAR, lost VARCHAR)
SELECT MAX(played) FROM table_name_23 WHERE goals_scored < 18 AND lost > 10
How much Avg/G has a Name of robert marve, and a Gain smaller than 236?
CREATE TABLE table_name_32 (avg_g INTEGER, name VARCHAR, gain VARCHAR)
SELECT SUM(avg_g) FROM table_name_32 WHERE name = "robert marve" AND gain < 236
What is the coordinate velocity v dx/dt in units of c total number if the velocity angle η in i-radians is ln[2 + √5] ≅ 1.444?
CREATE TABLE table_15314901_1 (coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR, velocity_angle_η_in_i_radians VARCHAR)
SELECT COUNT(coordinate_velocity_v_dx_dt_in_units_of_c) FROM table_15314901_1 WHERE velocity_angle_η_in_i_radians = "ln[2 + √5] ≅ 1.444"
Can you tell me the County that has the Location of shelbyville?
CREATE TABLE table_name_17 (county VARCHAR, location VARCHAR)
SELECT county FROM table_name_17 WHERE location = "shelbyville"
Who was the 2nd place team when the location was Tulsa, OK before 1956?
CREATE TABLE table_name_93 (host_location VARCHAR, year VARCHAR)
SELECT 2 AS nd_place_team FROM table_name_93 WHERE host_location = "tulsa, ok" AND year < 1956
What was the final result when the Mountaineers scored less than 13 and their opponents scored 26?
CREATE TABLE table_name_32 (result VARCHAR, points_for VARCHAR, points_against VARCHAR)
SELECT result FROM table_name_32 WHERE points_for < 13 AND points_against = 26
Which film originated in France?
CREATE TABLE table_name_27 (original_name VARCHAR, country VARCHAR)
SELECT original_name FROM table_name_27 WHERE country = "france"
What date did the show air when Rhod Gilbert was the headliner?
CREATE TABLE table_23122988_1 (airdate VARCHAR, headliner VARCHAR)
SELECT airdate FROM table_23122988_1 WHERE headliner = "Rhod Gilbert"
Where is the Cagayan de Oro city located?
CREATE TABLE table_name_98 (province_region VARCHAR, location VARCHAR)
SELECT province_region FROM table_name_98 WHERE location = "cagayan de oro city"
What is the score for set 3 with a time at 15:04?
CREATE TABLE table_name_46 (set_3 VARCHAR, time VARCHAR)
SELECT set_3 FROM table_name_46 WHERE time = "15:04"
Which premiere had languages in danish?
CREATE TABLE table_11323532_2 (premiere VARCHAR, languages VARCHAR)
SELECT premiere FROM table_11323532_2 WHERE languages = "Danish"
What is the Theme of Christie Paquet after 2004 with an Issue Price of $34.95?
CREATE TABLE table_name_54 (theme VARCHAR, year VARCHAR, artist VARCHAR, issue_price VARCHAR)
SELECT theme FROM table_name_54 WHERE artist = "christie paquet" AND issue_price = "$34.95" AND year > 2004
Which district has the largest population?
CREATE TABLE district (district_name VARCHAR, city_population VARCHAR)
SELECT district_name FROM district ORDER BY city_population DESC LIMIT 1
What is the highest comp for ratings less than 52.8 and yards less than 0?
CREATE TABLE table_name_97 (comp INTEGER, rating VARCHAR, yards VARCHAR)
SELECT MAX(comp) FROM table_name_97 WHERE rating < 52.8 AND yards < 0
What is the average for the player with 313 runs?
CREATE TABLE table_27922491_11 (average VARCHAR, runs VARCHAR)
SELECT average FROM table_27922491_11 WHERE runs = 313
How many viewers watched the 16mm t/r episode?
CREATE TABLE table_1849243_1 (viewers__in_millions_ VARCHAR, archive VARCHAR)
SELECT viewers__in_millions_ FROM table_1849243_1 WHERE archive = "16mm t/r"
What Player(s) have a Height of 6-3?
CREATE TABLE table_name_42 (player VARCHAR, height VARCHAR)
SELECT player FROM table_name_42 WHERE height = "6-3"
Who was the opposing team in game 6?
CREATE TABLE table_27713030_3 (team VARCHAR, game VARCHAR)
SELECT team FROM table_27713030_3 WHERE game = 6
What college, junior, or club team did Victor Ignatjev play for?
CREATE TABLE table_name_90 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_name_90 WHERE player = "victor ignatjev"
What is the lap total for the grid under 15 that retired due to transmission?
CREATE TABLE table_name_65 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT SUM(laps) FROM table_name_65 WHERE grid < 15 AND time_retired = "transmission"
What is the highest pick of ron whaley?
CREATE TABLE table_name_58 (pick INTEGER, name VARCHAR)
SELECT MAX(pick) FROM table_name_58 WHERE name = "ron whaley"
List the number of active years for attaquant.
CREATE TABLE table_24565004_15 (period VARCHAR, position VARCHAR)
SELECT period FROM table_24565004_15 WHERE position = "Attaquant"
How much December has a Score of 5–2, and a Game smaller than 27?
CREATE TABLE table_name_81 (december VARCHAR, score VARCHAR, game VARCHAR)
SELECT COUNT(december) FROM table_name_81 WHERE score = "5–2" AND game < 27