question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Name the first broadcast for tina malone and joe wilkinson
CREATE TABLE table_23292220_17 (first_broadcast VARCHAR, seans_team VARCHAR)
SELECT first_broadcast FROM table_23292220_17 WHERE seans_team = "Tina Malone and Joe Wilkinson"
what number is us viewers in season 12?
CREATE TABLE table_24018430_3 (us_viewers__millions_ VARCHAR, no_in_season VARCHAR)
SELECT us_viewers__millions_ FROM table_24018430_3 WHERE no_in_season = 12
Tell me the pts for glasgow rocks
CREATE TABLE table_name_96 (pts VARCHAR, div VARCHAR)
SELECT pts FROM table_name_96 WHERE div = "glasgow rocks"
Which start station had the most trips starting from August? Give me the name and id of the station.
CREATE TABLE trip (start_station_name VARCHAR, start_station_id VARCHAR, start_date VARCHAR)
SELECT start_station_name, start_station_id FROM trip WHERE start_date LIKE "8/%" GROUP BY start_station_name ORDER BY COUNT(*) DESC LIMIT 1
For what current streak is KU, 8-2 under last 10 meetings?
CREATE TABLE table_name_28 (current_streak VARCHAR, last_10_meetings VARCHAR)
SELECT current_streak FROM table_name_28 WHERE last_10_meetings = "ku, 8-2"
For episode number 7, what was the numbers of original air dates?
CREATE TABLE table_19266557_1 (original_air_date VARCHAR, _number VARCHAR)
SELECT COUNT(original_air_date) FROM table_19266557_1 WHERE _number = 7
Which Driver has Laps larger than 78, and a Time/Retired of + 1:09.4?
CREATE TABLE table_name_99 (driver VARCHAR, laps VARCHAR, time_retired VARCHAR)
SELECT driver FROM table_name_99 WHERE laps > 78 AND time_retired = "+ 1:09.4"
What was the lowest production code value in series #10?
CREATE TABLE table_name_14 (production_code INTEGER, series__number VARCHAR)
SELECT MIN(production_code) FROM table_name_14 WHERE series__number = 10
Which Home Team has a Game of game 1?
CREATE TABLE table_name_24 (home_team VARCHAR, game VARCHAR)
SELECT home_team FROM table_name_24 WHERE game = "game 1"
For the English translation Someone Like You, what is the lowest draw?
CREATE TABLE table_name_76 (draw INTEGER, english_translation VARCHAR)
SELECT MIN(draw) FROM table_name_76 WHERE english_translation = "someone like you"
For the Republican party what are the names of the incumbents?
CREATE TABLE table_1342149_42 (incumbent VARCHAR, party VARCHAR)
SELECT incumbent FROM table_1342149_42 WHERE party = "Republican"
what is the title no in season 2?
CREATE TABLE table_1876825_8 (title VARCHAR, no_in_season VARCHAR)
SELECT title FROM table_1876825_8 WHERE no_in_season = 2
WHich team draft the player who went to college in Washington?
CREATE TABLE table_name_19 (nfl_team VARCHAR, college VARCHAR)
SELECT nfl_team FROM table_name_19 WHERE college = "washington"
What date is the MHCL-20004 Catalog?
CREATE TABLE table_name_82 (date VARCHAR, catalog VARCHAR)
SELECT date FROM table_name_82 WHERE catalog = "mhcl-20004"
What is ISBN US, when Title is "Crisis In Space"?
CREATE TABLE table_name_72 (isbn_us VARCHAR, title VARCHAR)
SELECT isbn_us FROM table_name_72 WHERE title = "crisis in space"
In what year(s) were the CLASS T14 trains withdrawn from service?
CREATE TABLE table_name_86 (year_s__withdrawn VARCHAR, class VARCHAR)
SELECT year_s__withdrawn FROM table_name_86 WHERE class = "t14"
Who has a total tenure time and uninterrupted time of 36 years, 0 days, as well as a total tenure rank of 49?
CREATE TABLE table_name_14 (name VARCHAR, total_tenure_rank VARCHAR, total_tenure_time VARCHAR, uninterrupted_time VARCHAR)
SELECT name FROM table_name_14 WHERE total_tenure_time = "36 years, 0 days" AND uninterrupted_time = "36 years, 0 days" AND total_tenure_rank = 49
What is the result against everton?
CREATE TABLE table_name_73 (result VARCHAR, opponent VARCHAR)
SELECT result FROM table_name_73 WHERE opponent = "everton"
What was the title when 1.121 million US people watched it?
CREATE TABLE table_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_23513241_5 WHERE us_viewers__millions_ = "1.121"
Who is the patient portrayer of the episode with the production code 3T5004?
CREATE TABLE table_26561509_1 (patient_portrayer VARCHAR, production_code VARCHAR)
SELECT patient_portrayer FROM table_26561509_1 WHERE production_code = "3T5004"
display the employee number and job id for all employees whose salary is smaller than any salary of those employees whose job title is MK_MAN.
CREATE TABLE employees (employee_id VARCHAR, job_id VARCHAR, salary INTEGER)
SELECT employee_id, job_id FROM employees WHERE salary < (SELECT MIN(salary) FROM employees WHERE job_id = 'MK_MAN')
When did the Indians play a game with 15,105 people in attendance?
CREATE TABLE table_name_5 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_5 WHERE attendance = "15,105"
What is Ring Name, when Current Rank is E0 Maegashira 9 West?
CREATE TABLE table_name_48 (ring_name VARCHAR, current_rank VARCHAR)
SELECT ring_name FROM table_name_48 WHERE current_rank = "e0 maegashira 9 west"
Name the asian american population 2010 for kansas city-overland park-kansas city, mo-ks csa
CREATE TABLE table_18963843_1 (asian_american_population__2010_ INTEGER, combined_statistical_area VARCHAR)
SELECT MAX(asian_american_population__2010_) FROM table_18963843_1 WHERE combined_statistical_area = "Kansas City-Overland Park-Kansas City, MO-KS CSA"
What is the lowest Cuts made with less than 72.48 scoring average?
CREATE TABLE table_name_63 (cuts_made INTEGER, scoring_average INTEGER)
SELECT MIN(cuts_made) FROM table_name_63 WHERE scoring_average < 72.48
What time is listed against the Wrestler Jimmy Rave?
CREATE TABLE table_name_15 (time VARCHAR, wrestler VARCHAR)
SELECT time FROM table_name_15 WHERE wrestler = "jimmy rave"
Who is the Visitor on march 16?
CREATE TABLE table_name_59 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_59 WHERE date = "march 16"
What was the last game where the record was 6-3?
CREATE TABLE table_13762472_3 (game INTEGER, record VARCHAR)
SELECT MAX(game) FROM table_13762472_3 WHERE record = "6-3"
what is the part number that has a turbo of low power?
CREATE TABLE table_name_85 (part_number_s_ VARCHAR, turbo VARCHAR)
SELECT part_number_s_ FROM table_name_85 WHERE turbo = "low power"
Which District has a Party of republican and a Result of lost re-election democratic gain?
CREATE TABLE table_name_82 (district VARCHAR, party VARCHAR, result VARCHAR)
SELECT district FROM table_name_82 WHERE party = "republican" AND result = "lost re-election democratic gain"
Which Webcast has the digital1073.com website?
CREATE TABLE table_name_46 (webcast VARCHAR, website VARCHAR)
SELECT webcast FROM table_name_46 WHERE website = "digital1073.com"
Name the date for bundaberg rum stadium
CREATE TABLE table_16388439_3 (date VARCHAR, ground VARCHAR)
SELECT date FROM table_16388439_3 WHERE ground = "Bundaberg Rum Stadium"
what are the details of the cmi masters that have the cross reference code 'Tax'?
CREATE TABLE CMI_Cross_References (master_customer_id VARCHAR, source_system_code VARCHAR); CREATE TABLE Customer_Master_Index (cmi_details VARCHAR, master_customer_id VARCHAR)
SELECT T1.cmi_details FROM Customer_Master_Index AS T1 JOIN CMI_Cross_References AS T2 ON T1.master_customer_id = T2.master_customer_id WHERE T2.source_system_code = 'Tax'
Namethe score for july 16
CREATE TABLE table_17103729_8 (score VARCHAR, date VARCHAR)
SELECT score FROM table_17103729_8 WHERE date = "July 16"
In what place did Dave Barr score?
CREATE TABLE table_name_7 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_7 WHERE player = "dave barr"
What is the total medals Austria and those with larger than rank 4 have?
CREATE TABLE table_name_76 (total VARCHAR, nation VARCHAR, rank VARCHAR)
SELECT COUNT(total) FROM table_name_76 WHERE nation = "austria" AND rank > 4
Tell me the network for 13 january 2009
CREATE TABLE table_name_80 (network VARCHAR, premiere VARCHAR)
SELECT network FROM table_name_80 WHERE premiere = "13 january 2009"
Tell me the date for pittsburgh steelers
CREATE TABLE table_name_16 (date VARCHAR, visiting_team VARCHAR)
SELECT date FROM table_name_16 WHERE visiting_team = "pittsburgh steelers"
what year is 4:00 long
CREATE TABLE table_name_16 (year VARCHAR, length VARCHAR)
SELECT COUNT(year) FROM table_name_16 WHERE length = "4:00"
What province has an election after 2009?
CREATE TABLE table_name_55 (province VARCHAR, election INTEGER)
SELECT province FROM table_name_55 WHERE election > 2009
What was the winning score in the u.s. women's open that was won by 5 strokes?
CREATE TABLE table_name_75 (winning_score VARCHAR, championship VARCHAR, margin VARCHAR)
SELECT winning_score FROM table_name_75 WHERE championship = "u.s. women's open" AND margin = "5 strokes"
What is Swimmer, when Year is less than 2011, and when Time is "53.06"?
CREATE TABLE table_name_64 (swimmer VARCHAR, year VARCHAR, time VARCHAR)
SELECT swimmer FROM table_name_64 WHERE year < 2011 AND time = "53.06"
What is the population density of mongmong-toto-maite?
CREATE TABLE table_2588674_1 (pop_density INTEGER, village VARCHAR)
SELECT MIN(pop_density) FROM table_2588674_1 WHERE village = "Mongmong-Toto-Maite"
What is the value in 2009 at the French Open?
CREATE TABLE table_name_86 (tournament VARCHAR)
SELECT 2009 FROM table_name_86 WHERE tournament = "french open"
Which date has date started from 30 Sep 1913?
CREATE TABLE table_name_79 (date__to_ VARCHAR, date__from_ VARCHAR)
SELECT date__to_ FROM table_name_79 WHERE date__from_ = "30 sep 1913"
What is the Drop Zone time for the 439th tcg Troop Carrier Group with more tham 36 C-47s?
CREATE TABLE table_name_27 (drop_zone VARCHAR, troop_carrier_group VARCHAR, _number_of_c_47s VARCHAR)
SELECT drop_zone AS Time FROM table_name_27 WHERE troop_carrier_group = "439th tcg" AND _number_of_c_47s > 36
How many people per km2 are there in the municipality whose mayor is Boy Quiat?
CREATE TABLE table_216776_2 (pop_density__per_km²_ VARCHAR, municipal_mayor VARCHAR)
SELECT pop_density__per_km²_ FROM table_216776_2 WHERE municipal_mayor = "Boy Quiat"
What was the result of the game that had 77,702 people in attendance?
CREATE TABLE table_name_35 (result VARCHAR, attendance VARCHAR)
SELECT result FROM table_name_35 WHERE attendance = "77,702"
What is the smallest amount of WSOP bracelets anyone had?
CREATE TABLE table_23696862_6 (wsop_bracelets INTEGER)
SELECT MIN(wsop_bracelets) FROM table_23696862_6
How many first games are associated with 5 games played and under 3 games lost?
CREATE TABLE table_name_85 (first_game INTEGER, played VARCHAR, lost VARCHAR)
SELECT SUM(first_game) FROM table_name_85 WHERE played = 5 AND lost < 3
Tell me the result for harrogate
CREATE TABLE table_name_34 (result VARCHAR, location VARCHAR)
SELECT result FROM table_name_34 WHERE location = "harrogate"
Who had the high assists in game 80?
CREATE TABLE table_17355408_9 (high_assists VARCHAR, game VARCHAR)
SELECT high_assists FROM table_17355408_9 WHERE game = 80
Show the delegates and the names of county they belong to.
CREATE TABLE election (Delegate VARCHAR, District VARCHAR); CREATE TABLE county (County_name VARCHAR, County_id VARCHAR)
SELECT T2.Delegate, T1.County_name FROM county AS T1 JOIN election AS T2 ON T1.County_id = T2.District
What was the aggregate score that had Union Douala as Team 1?
CREATE TABLE table_name_55 (agg VARCHAR, team_1 VARCHAR)
SELECT agg FROM table_name_55 WHERE team_1 = "union douala"
What is the total rate of murder and non-negligent manslaughter when larceny-theft is 3,693.9 and burglary is more than 1,027.0?
CREATE TABLE table_name_86 (murder_and_non_negligent_manslaughter INTEGER, larceny_theft VARCHAR, burglary VARCHAR)
SELECT SUM(murder_and_non_negligent_manslaughter) FROM table_name_86 WHERE larceny_theft = "3,693.9" AND burglary > 1 OFFSET 027.0
Which Song Sung has a Status of Eliminated?
CREATE TABLE table_name_14 (song_sung VARCHAR, status VARCHAR)
SELECT song_sung FROM table_name_14 WHERE status = "eliminated"
How many games were played against Tulane?
CREATE TABLE table_20928682_1 (opponents VARCHAR, opponent VARCHAR)
SELECT COUNT(opponents) FROM table_20928682_1 WHERE opponent = "Tulane"
What was the attendance on location when the record was 3–16?
CREATE TABLE table_name_86 (location_attendance VARCHAR, record VARCHAR)
SELECT location_attendance FROM table_name_86 WHERE record = "3–16"
What was their record when they played at Riverfront Stadium?
CREATE TABLE table_name_25 (record VARCHAR, game_site VARCHAR)
SELECT record FROM table_name_25 WHERE game_site = "riverfront stadium"
What affiliation has an owned since larger than 1991, and also has a channel (tv/rf) of 42?
CREATE TABLE table_name_58 (affiliation VARCHAR, owned_since VARCHAR, channel___tv___rf__ VARCHAR)
SELECT affiliation FROM table_name_58 WHERE owned_since > 1991 AND channel___tv___rf__ = "42"
List the most common result of the musicals.
CREATE TABLE musical (RESULT VARCHAR)
SELECT RESULT FROM musical GROUP BY RESULT ORDER BY COUNT(*) DESC LIMIT 1
What is the to par for the United States with a 67-71-73=211 score?
CREATE TABLE table_name_72 (to_par VARCHAR, country VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_72 WHERE country = "united states" AND score = 67 - 71 - 73 = 211
What player drafted was an OG?
CREATE TABLE table_26996293_3 (player VARCHAR, position VARCHAR)
SELECT player FROM table_26996293_3 WHERE position = "OG"
Which event is located in Northfield, Mn?
CREATE TABLE table_name_94 (event VARCHAR, location VARCHAR)
SELECT event FROM table_name_94 WHERE location = "northfield, mn"
How many games does leandro love have?
CREATE TABLE table_name_96 (games VARCHAR, name VARCHAR)
SELECT games FROM table_name_96 WHERE name = "leandro love"
What is Package/Option, when Content is Poker?
CREATE TABLE table_name_3 (package_option VARCHAR, content VARCHAR)
SELECT package_option FROM table_name_3 WHERE content = "poker"
What is the manufacturer with a 14 grid?
CREATE TABLE table_name_13 (manufacturer VARCHAR, grid VARCHAR)
SELECT manufacturer FROM table_name_13 WHERE grid = "14"
What's the sales breakdown of the Nintendo game released on May 15, 2006?
CREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, release_date VARCHAR)
SELECT sales_breakdown FROM table_21458142_1 WHERE publisher = "Nintendo" AND release_date = "May 15, 2006"
What team did the Red Sox play against on June 3?
CREATE TABLE table_name_16 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_16 WHERE date = "june 3"
Who directed the episode with an audience of 14.11 million?
CREATE TABLE table_27776266_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
SELECT directed_by FROM table_27776266_1 WHERE us_viewers__million_ = "14.11"
Date of october 8 happened at what time?
CREATE TABLE table_name_1 (time VARCHAR, date VARCHAR)
SELECT time FROM table_name_1 WHERE date = "october 8"
Name the total number of sinhalese for indian tamil being 177
CREATE TABLE table_24574438_1 (sinhalese VARCHAR, indian_tamil VARCHAR)
SELECT COUNT(sinhalese) FROM table_24574438_1 WHERE indian_tamil = 177
What is the qualities of the sign cancer?
CREATE TABLE table_name_59 (qualities VARCHAR, sign VARCHAR)
SELECT qualities FROM table_name_59 WHERE sign = "cancer"
What season did he have 7 appearances?
CREATE TABLE table_name_91 (season VARCHAR, apps VARCHAR)
SELECT season FROM table_name_91 WHERE apps = 7
What was the total of arlenes vote when craig voted for brian and karen?
CREATE TABLE table_12305325_4 (arlenes_vote VARCHAR, craigs_vote VARCHAR)
SELECT COUNT(arlenes_vote) FROM table_12305325_4 WHERE craigs_vote = "Brian and Karen"
What are the names of directors who directed movies with 5 star rating? Also return the title of these movies.
CREATE TABLE Movie (director VARCHAR, title VARCHAR, mID VARCHAR); CREATE TABLE Rating (mID VARCHAR, stars VARCHAR)
SELECT T1.director, T1.title FROM Movie AS T1 JOIN Rating AS T2 ON T1.mID = T2.mID WHERE T2.stars = 5
Who is the partner with a score of 6–1, 6–4?
CREATE TABLE table_name_29 (partner VARCHAR, score VARCHAR)
SELECT partner FROM table_name_29 WHERE score = "6–1, 6–4"
What was the record for the date of June 14?
CREATE TABLE table_name_84 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_84 WHERE date = "june 14"
What was the winning to par score of the 1993 PGA Championship?
CREATE TABLE table_name_4 (to_par VARCHAR, year_s__won VARCHAR)
SELECT to_par FROM table_name_4 WHERE year_s__won = "1993"
Which of the second parties has second member Charles Robert Colvile, a conservative first party, and first member William Mundy?
CREATE TABLE table_name_31 (second_party VARCHAR, first_member VARCHAR, second_member VARCHAR, first_party VARCHAR)
SELECT second_party FROM table_name_31 WHERE second_member = "charles robert colvile" AND first_party = "conservative" AND first_member = "william mundy"
How many entered the match with a time of 14:42?
CREATE TABLE table_18438494_3 (entered VARCHAR, time VARCHAR)
SELECT entered FROM table_18438494_3 WHERE time = "14:42"
What is the upstream with a 150 gb monthly cap?
CREATE TABLE table_name_68 (upstream VARCHAR, monthly_cap VARCHAR)
SELECT upstream FROM table_name_68 WHERE monthly_cap = "150 gb"
What League was played in 2007?
CREATE TABLE table_2380212_1 (league VARCHAR, year VARCHAR)
SELECT league FROM table_2380212_1 WHERE year = 2007
What was the to par at the T5 for the player with a score of 74-69-66=209?
CREATE TABLE table_name_39 (to_par VARCHAR, place VARCHAR, score VARCHAR)
SELECT to_par FROM table_name_39 WHERE place = "t5" AND score = 74 - 69 - 66 = 209
How many times is the couple laura and colin?
CREATE TABLE table_29583818_3 (place VARCHAR, couple VARCHAR)
SELECT COUNT(place) FROM table_29583818_3 WHERE couple = "Laura and Colin"
The serial numbers 713096-713119 are in which country?
CREATE TABLE table_2351952_1 (country VARCHAR, serial_numbers VARCHAR)
SELECT country FROM table_2351952_1 WHERE serial_numbers = "713096-713119"
what is basikal when mana is mano, pergi is gi and Ikut is turuk?
CREATE TABLE table_name_53 (basikal VARCHAR, ikut VARCHAR, mana VARCHAR, pergi VARCHAR)
SELECT basikal FROM table_name_53 WHERE mana = "mano" AND pergi = "gi" AND ikut = "turuk"
In which round is pick number 242?
CREATE TABLE table_name_92 (round VARCHAR, pick VARCHAR)
SELECT COUNT(round) FROM table_name_92 WHERE pick = "242"
What is the english (bcp) phrase "for thine is the kingdom, the power" in modern german with standard wording?
CREATE TABLE table_181240_1 (modern_german__standard_wording_ VARCHAR, english___bcp__ VARCHAR)
SELECT modern_german__standard_wording_ FROM table_181240_1 WHERE english___bcp__ = "For thine is the kingdom, the power"
How many lengths of line 3 are given?
CREATE TABLE table_1603807_2 (length VARCHAR, line VARCHAR)
SELECT COUNT(length) FROM table_1603807_2 WHERE line = "line 3"
Name the start date with lsap and end date of present day
CREATE TABLE table_name_29 (start_date VARCHAR, party VARCHAR, end_date VARCHAR)
SELECT start_date FROM table_name_29 WHERE party = "lsap" AND end_date = "present day"
What is % of All, when Dennis Kucinich is "5%"?
CREATE TABLE table_name_52 (_percentage_of_all VARCHAR, dennis_kucinich VARCHAR)
SELECT _percentage_of_all FROM table_name_52 WHERE dennis_kucinich = "5%"
What is the name of feature with a longitude 246.0e?
CREATE TABLE table_16799784_14 (name VARCHAR, longitude VARCHAR)
SELECT name FROM table_16799784_14 WHERE longitude = "246.0E"
What was the venue on the 20th?
CREATE TABLE table_name_29 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_29 WHERE date = "20th"
What was the time when the score was 0–3?
CREATE TABLE table_name_67 (time VARCHAR, score VARCHAR)
SELECT time FROM table_name_67 WHERE score = "0–3"
What is Score In The Final, when Championship is "Athens , Greece", and when Outcome is "Winner"?
CREATE TABLE table_name_96 (score_in_the_final VARCHAR, championship VARCHAR, outcome VARCHAR)
SELECT score_in_the_final FROM table_name_96 WHERE championship = "athens , greece" AND outcome = "winner"
In Which rank was there a location of porto alegre?
CREATE TABLE table_name_85 (rank VARCHAR, location VARCHAR)
SELECT rank FROM table_name_85 WHERE location = "porto alegre"
What was the crowd when Melbourne was the home team?
CREATE TABLE table_name_70 (crowd INTEGER, home_team VARCHAR)
SELECT AVG(crowd) FROM table_name_70 WHERE home_team = "melbourne"
Name the tfl-yds for no-yds 1-0
CREATE TABLE table_15128839_22 (tfl_yds VARCHAR, no_yds VARCHAR)
SELECT tfl_yds FROM table_15128839_22 WHERE no_yds = "1-0"
Name the sum of Laps for co-drivers of oliver gavin jan magnussen and class of gts with year less than 2004
CREATE TABLE table_name_17 (laps INTEGER, year VARCHAR, co_drivers VARCHAR, class VARCHAR)
SELECT SUM(laps) FROM table_name_17 WHERE co_drivers = "oliver gavin jan magnussen" AND class = "gts" AND year < 2004