question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Class has a Jockey of michael kinane on 2:27.71?
CREATE TABLE table_name_50 (class VARCHAR, jockey VARCHAR, time VARCHAR)
SELECT class FROM table_name_50 WHERE jockey = "michael kinane" AND time = "2:27.71"
What is the catalogue number for the song that is 3:17 and was released 9/21/71?
CREATE TABLE table_name_94 (catalogue VARCHAR, release_date VARCHAR, time VARCHAR)
SELECT catalogue FROM table_name_94 WHERE release_date = "9/21/71" AND time = "3:17"
Who is the Host team that has a chicago bears as a visiting team?
CREATE TABLE table_name_61 (host_team VARCHAR, visiting_team VARCHAR)
SELECT host_team FROM table_name_61 WHERE visiting_team = "chicago bears"
In the 2008/2009 season one team had a season total points of 31, for that team how many total points were scored against them?
CREATE TABLE table_13399573_4 (points_against VARCHAR, points VARCHAR)
SELECT points_against FROM table_13399573_4 WHERE points = "31"
What was the record when the New York Knicks played at the Boston Garden?
CREATE TABLE table_name_51 (record VARCHAR, location VARCHAR, opponent VARCHAR)
SELECT record FROM table_name_51 WHERE location = "boston garden" AND opponent = "new york knicks"
What is the casting temperature for the alloy with hardness 21?
CREATE TABLE table_name_98 (casting_at__°c_ VARCHAR, hardness VARCHAR)
SELECT casting_at__°c_ FROM table_name_98 WHERE hardness = "21"
What is the score of the wigan athletic home team?
CREATE TABLE table_name_3 (score VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_3 WHERE home_team = "wigan athletic"
Which Attendance has a Record of 34–51?
CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_63 WHERE record = "34–51"
What is the country of the player moving from belgrano with a summer transfer window?
CREATE TABLE table_name_69 (country VARCHAR, transfer_window VARCHAR, moving_from VARCHAR)
SELECT country FROM table_name_69 WHERE transfer_window = "summer" AND moving_from = "belgrano"
What was the final score on 1 August 2008?
CREATE TABLE table_name_65 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_65 WHERE date = "1 august 2008"
What is the highest bronze number when silver is 0, and the total is smaller than 1?
CREATE TABLE table_name_92 (bronze INTEGER, silver VARCHAR, total VARCHAR)
SELECT MAX(bronze) FROM table_name_92 WHERE silver = 0 AND total < 1
What's the London borough with 7797 Pakistani citizens?
CREATE TABLE table_19149550_9 (london_borough VARCHAR, pakistani_population VARCHAR)
SELECT london_borough FROM table_19149550_9 WHERE pakistani_population = 7797
Name the # tubes with audio amp of x
CREATE TABLE table_name_30 (_number_tubes VARCHAR, audio_amp VARCHAR)
SELECT _number_tubes FROM table_name_30 WHERE audio_amp = "x"
Who was the manufacturer for the race on grid 12?
CREATE TABLE table_name_49 (manufacturer VARCHAR, grid VARCHAR)
SELECT manufacturer FROM table_name_49 WHERE grid = 12
Name the number of apps for total g is 8
CREATE TABLE table_19018191_5 (l_apps VARCHAR, total_g VARCHAR)
SELECT COUNT(l_apps) FROM table_19018191_5 WHERE total_g = 8
What is the highest round number with a time of 4:39?
CREATE TABLE table_name_28 (round INTEGER, time VARCHAR)
SELECT MAX(round) FROM table_name_28 WHERE time = "4:39"
Who is player number 51?
CREATE TABLE table_11545282_11 (player VARCHAR, no VARCHAR)
SELECT player FROM table_11545282_11 WHERE no = "51"
Which Player has a Pick larger than 2, and a Position of forward?
CREATE TABLE table_name_37 (player VARCHAR, pick VARCHAR, position VARCHAR)
SELECT player FROM table_name_37 WHERE pick > 2 AND position = "forward"
What date is the circuit at wanneroo park?
CREATE TABLE table_name_64 (date VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_64 WHERE circuit = "wanneroo park"
What is Jockey, when Time is 1:15.89?
CREATE TABLE table_name_55 (jockey VARCHAR, time VARCHAR)
SELECT jockey FROM table_name_55 WHERE time = "1:15.89"
Who played River Plate?
CREATE TABLE table_17282875_3 (team__number2 VARCHAR, team__number1 VARCHAR)
SELECT team__number2 FROM table_17282875_3 WHERE team__number1 = "River Plate"
What metal has one rupee as the denomination?
CREATE TABLE table_name_83 (metal VARCHAR, denomination VARCHAR)
SELECT metal FROM table_name_83 WHERE denomination = "one rupee"
Which Unit test has a MSDN integration of full, and a Projects templates of yes?
CREATE TABLE table_name_76 (unit_test VARCHAR, msdn_integration VARCHAR, projects_templates VARCHAR)
SELECT unit_test FROM table_name_76 WHERE msdn_integration = "full" AND projects_templates = "yes"
Where is Fred Haas from?
CREATE TABLE table_name_93 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_93 WHERE player = "fred haas"
what is the title when the year is after 2011 and the original channel is nhk?
CREATE TABLE table_name_71 (title VARCHAR, year VARCHAR, original_channel VARCHAR)
SELECT title FROM table_name_71 WHERE year > 2011 AND original_channel = "nhk"
How many films titled Gie have been nominated?
CREATE TABLE table_13719788_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT COUNT(original_title) FROM table_13719788_1 WHERE film_title_used_in_nomination = "Gie"
What is Score, when Opponent is Portland Trail Blazers, and when Record is 12-58?
CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT score FROM table_name_35 WHERE opponent = "portland trail blazers" AND record = "12-58"
Who was the incumbent in 1940?
CREATE TABLE table_1341690_9 (incumbent VARCHAR, first_elected VARCHAR)
SELECT incumbent FROM table_1341690_9 WHERE first_elected = 1940
If the region is the Southern district of Texas, what is the citation?
CREATE TABLE table_22901612_2 (citation VARCHAR, region VARCHAR)
SELECT citation FROM table_22901612_2 WHERE region = "Southern District of Texas"
Which contact channel has been used by the customer with name "Tillman Ernser"?
CREATE TABLE customers (customer_id VARCHAR, customer_name VARCHAR); CREATE TABLE customer_contact_channels (customer_id VARCHAR)
SELECT DISTINCT channel_code FROM customers AS t1 JOIN customer_contact_channels AS t2 ON t1.customer_id = t2.customer_id WHERE t1.customer_name = "Tillman Ernser"
What is the lowest Laps for mike spence, with a Grid smaller than 8?
CREATE TABLE table_name_36 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_36 WHERE driver = "mike spence" AND grid < 8
Which Wrestler plays for Team Batista which was Elimated by Orton on Elimination 8?
CREATE TABLE table_name_3 (wrestler VARCHAR, elimination VARCHAR, team VARCHAR, eliminated_by VARCHAR)
SELECT wrestler FROM table_name_3 WHERE team = "team batista" AND eliminated_by = "orton" AND elimination = "8"
What is the exit date of the player transferred to Reggina for free?
CREATE TABLE table_name_19 (exit_date VARCHAR, transfer_fee VARCHAR, to_club VARCHAR)
SELECT exit_date FROM table_name_19 WHERE transfer_fee = "free" AND to_club = "reggina"
Which away has apoel as the club?
CREATE TABLE table_name_41 (away VARCHAR, club VARCHAR)
SELECT away FROM table_name_41 WHERE club = "apoel"
What is the max pressure of the cartridge where the muzzle energy is 201ft•lbf (273 j)?
CREATE TABLE table_173103_1 (max_pressure VARCHAR, muzzle_energy VARCHAR)
SELECT max_pressure FROM table_173103_1 WHERE muzzle_energy = "201ft•lbf (273 J)"
Which Season has a Third of colin hodgson?
CREATE TABLE table_name_47 (season VARCHAR, third VARCHAR)
SELECT season FROM table_name_47 WHERE third = "colin hodgson"
In the District Tennessee 7 what is the number of first elected?
CREATE TABLE table_1342149_42 (first_elected INTEGER, district VARCHAR)
SELECT MAX(first_elected) FROM table_1342149_42 WHERE district = "Tennessee 7"
Who did the high assists in the game played on February 9?
CREATE TABLE table_22879323_8 (high_assists VARCHAR, date VARCHAR)
SELECT high_assists FROM table_22879323_8 WHERE date = "February 9"
Who was the away team at Brunswick Street Oval?
CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR)
SELECT away_team AS score FROM table_name_89 WHERE venue = "brunswick street oval"
Which song named Tan Dun was nominated?
CREATE TABLE table_name_76 (song VARCHAR, status VARCHAR, name VARCHAR)
SELECT song FROM table_name_76 WHERE status = "nominated" AND name = "tan dun"
Name the original title for the counterfeiters
CREATE TABLE table_16255245_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
SELECT original_title FROM table_16255245_1 WHERE film_title_used_in_nomination = "The Counterfeiters"
What is the largest district for delegate Cheryl Glenn, that she had taken after 2006?
CREATE TABLE table_name_30 (district INTEGER, delegate VARCHAR, took_office VARCHAR)
SELECT MAX(district) FROM table_name_30 WHERE delegate = "cheryl glenn" AND took_office > 2006
What was the date of the poll from Survey USA that showed a lead margin smaller than 5.5?
CREATE TABLE table_name_87 (dates_administered VARCHAR, lead_margin VARCHAR, poll_source VARCHAR)
SELECT dates_administered FROM table_name_87 WHERE lead_margin < 5.5 AND poll_source = "survey usa"
At what position is the association with 279 points?
CREATE TABLE table_19412902_2 (pos INTEGER, points__total_500_ VARCHAR)
SELECT MIN(pos) FROM table_19412902_2 WHERE points__total_500_ = 279
How many texture (gt/s) the card has if the tdp (watts) GPU only is 18?
CREATE TABLE table_26860595_2 (texture___gt__s_ VARCHAR, tdp__watts__gpu_only VARCHAR)
SELECT COUNT(texture___gt__s_) FROM table_26860595_2 WHERE tdp__watts__gpu_only = "18"
Name the height in feet for the guard from north carolina-charlotte
CREATE TABLE table_name_35 (height_in_ft VARCHAR, position VARCHAR, school_club_team_country VARCHAR)
SELECT height_in_ft FROM table_name_35 WHERE position = "guard" AND school_club_team_country = "north carolina-charlotte"
How many women has got the first runner-up position in representation of Philippines?
CREATE TABLE table_29942205_1 (country_territory VARCHAR)
SELECT 1 AS st_runner_up FROM table_29942205_1 WHERE country_territory = "Philippines"
What is the subject when the highest mark is 79?
CREATE TABLE table_29842201_1 (subject VARCHAR, highest_mark VARCHAR)
SELECT subject FROM table_29842201_1 WHERE highest_mark = 79
What team(s) were in 2003?
CREATE TABLE table_17802778_1 (team VARCHAR, year VARCHAR)
SELECT team FROM table_17802778_1 WHERE year = 2003
Who is man of the match when Team 1 is ICL Pakistan?
CREATE TABLE table_17103566_1 (man_of_the_match VARCHAR, team_1 VARCHAR)
SELECT man_of_the_match FROM table_17103566_1 WHERE team_1 = "ICL Pakistan"
Which Round has a Method of ko, and a Date of 1958?
CREATE TABLE table_name_46 (round INTEGER, method VARCHAR, date VARCHAR)
SELECT MIN(round) FROM table_name_46 WHERE method = "ko" AND date = "1958"
Which college does Peyton Siva play for?
CREATE TABLE table_name_44 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_44 WHERE player = "peyton siva"
What time was the game played that had a record of 0–2–0?
CREATE TABLE table_name_56 (time___et__ VARCHAR, record VARCHAR)
SELECT time___et__ FROM table_name_56 WHERE record = "0–2–0"
How did Stella Farentino die?
CREATE TABLE table_24143253_2 (cause_of_death VARCHAR, name VARCHAR)
SELECT cause_of_death FROM table_24143253_2 WHERE name = "Stella Farentino"
What is the Week of the game with TV Time of Fox 4:15ET?
CREATE TABLE table_name_81 (week VARCHAR, tv_time VARCHAR)
SELECT COUNT(week) FROM table_name_81 WHERE tv_time = "fox 4:15et"
What is the highest number of artists on Scarface?
CREATE TABLE table_name_67 (number INTEGER, artist VARCHAR)
SELECT MAX(number) FROM table_name_67 WHERE artist = "scarface"
What date did mehmet okur (24) have the most points?
CREATE TABLE table_name_14 (date VARCHAR, high_points VARCHAR)
SELECT date FROM table_name_14 WHERE high_points = "mehmet okur (24)"
What is the Region of the EMI 4 x vinyl release bearing Catalog number 560 6111?
CREATE TABLE table_name_46 (region VARCHAR, catalog_number VARCHAR, label VARCHAR, format VARCHAR)
SELECT region FROM table_name_46 WHERE label = "emi" AND format = "4 x vinyl" AND catalog_number = "560 6111"
How much does the most expensive charge type costs?
CREATE TABLE Charges (charge_amount INTEGER)
SELECT MAX(charge_amount) FROM Charges
What's the number of electorates for constituency number 56?
CREATE TABLE table_name_56 (number_of_electorates__2009_ INTEGER, constituency_number VARCHAR)
SELECT SUM(number_of_electorates__2009_) FROM table_name_56 WHERE constituency_number = "56"
What is Winner, when Year is 2013?
CREATE TABLE table_name_11 (winner VARCHAR, year VARCHAR)
SELECT winner FROM table_name_11 WHERE year = 2013
What is the earliest year with less than 3 points and Parmalat Forti Ford was the entrant?
CREATE TABLE table_name_40 (year INTEGER, points VARCHAR, entrant VARCHAR)
SELECT MIN(year) FROM table_name_40 WHERE points < 3 AND entrant = "parmalat forti ford"
What are the numbers of constructors for different nationalities?
CREATE TABLE constructors (nationality VARCHAR)
SELECT COUNT(*), nationality FROM constructors GROUP BY nationality
I want the lowest Grid for Rolf Stommelen
CREATE TABLE table_name_48 (grid INTEGER, driver VARCHAR)
SELECT MIN(grid) FROM table_name_48 WHERE driver = "rolf stommelen"
What is the date of appointment of nejat biyedić?
CREATE TABLE table_name_80 (date_of_appointment VARCHAR, name VARCHAR)
SELECT date_of_appointment FROM table_name_80 WHERE name = "nejat biyedić"
What were the Opponents of the team, that made it to the third round, before 2008?
CREATE TABLE table_name_95 (opponents VARCHAR, year VARCHAR, progress VARCHAR)
SELECT opponents FROM table_name_95 WHERE year < 2008 AND progress = "third round"
What is the lowest of the Highest score for the Quickstep Dance and the Lowest score under 16?
CREATE TABLE table_name_72 (highest_score INTEGER, dance VARCHAR, lowest_score VARCHAR)
SELECT MIN(highest_score) FROM table_name_72 WHERE dance = "quickstep" AND lowest_score < 16
How many elevations are listed for Paratia?
CREATE TABLE table_2251578_4 (elevation__m_ VARCHAR, district VARCHAR)
SELECT COUNT(elevation__m_) FROM table_2251578_4 WHERE district = "Paratia"
Which LE-5 Model has an LE-5A of 130?
CREATE TABLE table_name_2 (le_5_model VARCHAR, le_5A VARCHAR)
SELECT le_5_model FROM table_name_2 WHERE le_5A = 130
What Nationality has a Time of 9:01.70?
CREATE TABLE table_name_58 (nationality VARCHAR, time VARCHAR)
SELECT nationality FROM table_name_58 WHERE time = "9:01.70"
What are the mm dimensions for the Fujitsu fi-6130 a4 Series Scanner?
CREATE TABLE table_16409745_1 (dimensions__mm_ VARCHAR, product VARCHAR)
SELECT dimensions__mm_ FROM table_16409745_1 WHERE product = "Fujitsu fi-6130 A4 Series Scanner"
What is the score 1 with a h ground?
CREATE TABLE table_name_85 (score1 VARCHAR, ground VARCHAR)
SELECT score1 FROM table_name_85 WHERE ground = "h"
What is the title with chuck jones as the director and the production number 9537?
CREATE TABLE table_name_78 (title VARCHAR, director VARCHAR, production_number VARCHAR)
SELECT title FROM table_name_78 WHERE director = "chuck jones" AND production_number = "9537"
What is the names of the rowers that the time was 6:24.61?
CREATE TABLE table_name_70 (rowers VARCHAR, time VARCHAR)
SELECT rowers FROM table_name_70 WHERE time = "6:24.61"
Which 2010 has a Tournament of australian open?
CREATE TABLE table_name_80 (tournament VARCHAR)
SELECT 2010 FROM table_name_80 WHERE tournament = "australian open"
Find the name of people whose age is greater than any engineer sorted by their age.
CREATE TABLE Person (name VARCHAR, age INTEGER, job VARCHAR); CREATE TABLE person (name VARCHAR, age INTEGER, job VARCHAR)
SELECT name FROM Person WHERE age > (SELECT MIN(age) FROM person WHERE job = 'engineer') ORDER BY age
Which Position has Goals against smaller than 43, and Wins larger than 14, and Played larger than 38?
CREATE TABLE table_name_28 (position INTEGER, played VARCHAR, goals_against VARCHAR, wins VARCHAR)
SELECT SUM(position) FROM table_name_28 WHERE goals_against < 43 AND wins > 14 AND played > 38
what's the won with points against being 304
CREATE TABLE table_13940275_5 (won VARCHAR, points_against VARCHAR)
SELECT won FROM table_13940275_5 WHERE points_against = "304"
What is the round for the opponent CSKA Sofia in Venue A?
CREATE TABLE table_name_67 (round VARCHAR, opponent VARCHAR, venue VARCHAR)
SELECT round FROM table_name_67 WHERE opponent = "cska sofia" AND venue = "a"
How many games were numbered 13?
CREATE TABLE table_27700530_9 (team VARCHAR, game VARCHAR)
SELECT COUNT(team) FROM table_27700530_9 WHERE game = 13
What was the result for the 2009 (82nd) awards?
CREATE TABLE table_16254861_1 (result VARCHAR, year__ceremony_ VARCHAR)
SELECT result FROM table_16254861_1 WHERE year__ceremony_ = "2009 (82nd)"
What name has tour Apps larger than 7, tests larger than 4, and a Career caps of 20?
CREATE TABLE table_name_22 (name VARCHAR, career_caps VARCHAR, tour_apps VARCHAR, tests VARCHAR)
SELECT name FROM table_name_22 WHERE tour_apps > 7 AND tests > 4 AND career_caps = 20
How many people wrote episode 68 in the series?
CREATE TABLE table_228973_5 (written_by VARCHAR, no_in_series VARCHAR)
SELECT COUNT(written_by) FROM table_228973_5 WHERE no_in_series = 68
What is the total number of cuts made when the top-25 is more than 0, and top-5 is more than 1?
CREATE TABLE table_name_68 (cuts_made VARCHAR, top_25 VARCHAR, top_5 VARCHAR)
SELECT COUNT(cuts_made) FROM table_name_68 WHERE top_25 > 0 AND top_5 > 1
Name the to for 19 league apps
CREATE TABLE table_21220720_1 (to VARCHAR, league_apps VARCHAR)
SELECT to FROM table_21220720_1 WHERE league_apps = 19
Which 1st Member has an Election of 1895?
CREATE TABLE table_name_23 (election VARCHAR)
SELECT 1 AS st_member FROM table_name_23 WHERE election = "1895"
Which award ceremony took place on May 15, 1965?
CREATE TABLE table_name_91 (ceremony VARCHAR, date VARCHAR)
SELECT ceremony FROM table_name_91 WHERE date = "may 15, 1965"
What is the highest Year, when Opponent is #2 Syracuse?
CREATE TABLE table_name_52 (year INTEGER, opponent VARCHAR)
SELECT MAX(year) FROM table_name_52 WHERE opponent = "#2 syracuse"
Which width had an entered service year of 2010?
CREATE TABLE table_name_3 (width VARCHAR, entered_service VARCHAR)
SELECT width FROM table_name_3 WHERE entered_service = 2010
Who won the Fedex tour of Calabarzon?
CREATE TABLE table_name_76 (winner VARCHAR, name VARCHAR)
SELECT winner FROM table_name_76 WHERE name = "fedex tour of calabarzon"
What player had a transfer window of winter, and free as the transfer fee?
CREATE TABLE table_name_72 (name VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR)
SELECT name FROM table_name_72 WHERE transfer_window = "winter" AND transfer_fee = "free"
What is Attendance, when Week is 5?
CREATE TABLE table_name_95 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_95 WHERE week = 5
When Richmond had a total count of 2,293, what was the total count of Brooklyn?
CREATE TABLE table_name_53 (brooklyn VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)
SELECT brooklyn FROM table_name_53 WHERE richmond_[staten_is] = "2,293"
When Matt Ware won the mens singles, who won the mixed restricted?
CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mens_singles VARCHAR)
SELECT mixed_restricted FROM table_28211674_3 WHERE mens_singles = "Matt Ware"
What original channel is associated with B Mountain Channel 9?
CREATE TABLE table_name_39 (original_channel VARCHAR, b_mountain_channel VARCHAR)
SELECT original_channel FROM table_name_39 WHERE b_mountain_channel = "9"
Which drives drove a lexus, made all rounds, had a tyre of B and was on the team of petronas toyota team tom's?
CREATE TABLE table_name_2 (drivers VARCHAR, team VARCHAR, tyre VARCHAR, rounds VARCHAR, make VARCHAR)
SELECT drivers FROM table_name_2 WHERE rounds = "all" AND make = "lexus" AND tyre = "b" AND team = "petronas toyota team tom's"
How many different product types are there?
CREATE TABLE products_for_hire (product_type_code VARCHAR)
SELECT COUNT(DISTINCT product_type_code) FROM products_for_hire
Which driver retired from a collision after 41 laps?
CREATE TABLE table_name_54 (driver VARCHAR, time_retired VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_54 WHERE time_retired = "collision" AND laps = "41"
What is the date of the U.S. Women's open?
CREATE TABLE table_name_61 (date VARCHAR, tournament VARCHAR)
SELECT date FROM table_name_61 WHERE tournament = "u.s. women's open"
What Tournament has a Score of 5–7, 2–6?
CREATE TABLE table_name_6 (tournament VARCHAR, score VARCHAR)
SELECT tournament FROM table_name_6 WHERE score = "5–7, 2–6"