question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What is the nationality of the person with 50 goals and rank 3?
CREATE TABLE table_name_25 (nationality VARCHAR, goals VARCHAR, ranking VARCHAR)
SELECT nationality FROM table_name_25 WHERE goals = 50 AND ranking = 3
How many teams did Farhad Kazemi leave?
CREATE TABLE table_22297198_3 (team VARCHAR, outgoing_manager VARCHAR)
SELECT COUNT(team) FROM table_22297198_3 WHERE outgoing_manager = "Farhad Kazemi"
Which Attendance has a Week smaller than 8, and an Opponent of philadelphia eagles?
CREATE TABLE table_name_19 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)
SELECT attendance FROM table_name_19 WHERE week < 8 AND opponent = "philadelphia eagles"
Which Platelet count has a Condition of factor v deficiency?
CREATE TABLE table_name_39 (platelet_count VARCHAR, condition VARCHAR)
SELECT platelet_count FROM table_name_39 WHERE condition = "factor v deficiency"
What engine did Casey Mears use on the Reynard 01i Chassis?
CREATE TABLE table_name_24 (engine VARCHAR, chassis VARCHAR, drivers VARCHAR)
SELECT engine FROM table_name_24 WHERE chassis = "reynard 01i" AND drivers = "casey mears"
Who is the male partner for amy winehouse?
CREATE TABLE table_name_26 (male VARCHAR, female VARCHAR)
SELECT male FROM table_name_26 WHERE female = "amy winehouse"
Which Bronze has a Gold smaller than 0?
CREATE TABLE table_name_82 (bronze INTEGER, gold INTEGER)
SELECT AVG(bronze) FROM table_name_82 WHERE gold < 0
How many totals have a To par of –1?
CREATE TABLE table_name_98 (total INTEGER, to_par VARCHAR)
SELECT SUM(total) FROM table_name_98 WHERE to_par = "–1"
Name the date for the australian grand prix.
CREATE TABLE table_name_12 (date VARCHAR, grand_prix VARCHAR)
SELECT date FROM table_name_12 WHERE grand_prix = "australian grand prix"
What are the dates and locations of performances?
CREATE TABLE performance (Date VARCHAR, LOCATION VARCHAR)
SELECT Date, LOCATION FROM performance
what's the preliminaries where state is south dakota
CREATE TABLE table_12094609_1 (preliminaries VARCHAR, state VARCHAR)
SELECT preliminaries FROM table_12094609_1 WHERE state = "South Dakota"
What order has the title Deacon of SS. Cosma E Damiano?
CREATE TABLE table_name_18 (order VARCHAR, title VARCHAR)
SELECT order FROM table_name_18 WHERE title = "deacon of ss. cosma e damiano"
What game score was there for the team with a record of 84-56?
CREATE TABLE table_name_51 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_51 WHERE record = "84-56"
what is the municipality where the area is 73?
CREATE TABLE table_1691800_2 (municipality VARCHAR, area__km²_ VARCHAR)
SELECT municipality FROM table_1691800_2 WHERE area__km²_ = 73
What architecture type does the Ford Escort Wagon have?
CREATE TABLE table_name_73 (architecture VARCHAR, original_vehicle VARCHAR)
SELECT architecture FROM table_name_73 WHERE original_vehicle = "ford escort wagon"
what is the weeks on chart for the single from france?
CREATE TABLE table_name_92 (weeks_on_chart VARCHAR, country VARCHAR)
SELECT weeks_on_chart FROM table_name_92 WHERE country = "france"
What number pick was the player for the Oakland Athletics who plays the 1B position?
CREATE TABLE table_name_11 (pick VARCHAR, position VARCHAR, team VARCHAR)
SELECT pick FROM table_name_11 WHERE position = "1b" AND team = "oakland athletics"
For Pigeon Creek what is the per capita income?
CREATE TABLE table_1840495_2 (per_capita_income VARCHAR, place VARCHAR)
SELECT per_capita_income FROM table_1840495_2 WHERE place = "Pigeon Creek"
Who is the main contestant eliminated with a score of 1 + 7 + 5 = 13?
CREATE TABLE table_name_11 (main_contestant VARCHAR, status VARCHAR, scores_by_each_individual_judge VARCHAR)
SELECT main_contestant FROM table_name_11 WHERE status = "eliminated" AND scores_by_each_individual_judge = 1 + 7 + 5 = 13
WHat is the Valency change of associative type?
CREATE TABLE table_name_1 (valency_change VARCHAR, type VARCHAR)
SELECT valency_change FROM table_name_1 WHERE type = "associative"
Find the name and salary of instructors who are advisors of the students from the Math department.
CREATE TABLE instructor (name VARCHAR, salary VARCHAR, id VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR)
SELECT T2.name, T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'Math'
Which team has points less than 6 in a year after 1969?
CREATE TABLE table_name_81 (team VARCHAR, points VARCHAR, year VARCHAR)
SELECT team FROM table_name_81 WHERE points < 6 AND year > 1969
What was Rock Cartwright's highest long with more than 11 losses?
CREATE TABLE table_name_44 (long INTEGER, name VARCHAR, loss VARCHAR)
SELECT AVG(long) FROM table_name_44 WHERE name = "rock cartwright" AND loss > 11
Which player wears the number 6?
CREATE TABLE table_11545282_19 (player VARCHAR, no VARCHAR)
SELECT player FROM table_11545282_19 WHERE no = 6
I want the D 40 with D 44 of d 15
CREATE TABLE table_name_17 (d_40 VARCHAR, d_44 VARCHAR)
SELECT d_40 FROM table_name_17 WHERE d_44 = "d 15"
What is the source for Laird?
CREATE TABLE table_name_18 (source VARCHAR, name VARCHAR)
SELECT source FROM table_name_18 WHERE name = "laird"
When 790 am is the frequency what is the format?
CREATE TABLE table_1949746_1 (format VARCHAR, frequency VARCHAR)
SELECT format FROM table_1949746_1 WHERE frequency = "790 AM"
What is the city of license when the class is LP and the identifier is CBDK?
CREATE TABLE table_name_70 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR)
SELECT city_of_license FROM table_name_70 WHERE class = "lp" AND identifier = "cbdk"
What was the name of the episode that aired originally on March 11, 1988?
CREATE TABLE table_20967430_4 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_20967430_4 WHERE original_air_date = "March 11, 1988"
What is the original airdate when the season number is 4?
CREATE TABLE table_15824796_5 (original_air_date VARCHAR, season__number VARCHAR)
SELECT original_air_date FROM table_15824796_5 WHERE season__number = 4
What is the Location, when the Score is 38-29?
CREATE TABLE table_name_88 (location VARCHAR, score VARCHAR)
SELECT location FROM table_name_88 WHERE score = "38-29"
What was the Attendance when Oxford United was the Home team?
CREATE TABLE table_name_58 (attendance INTEGER, home_team VARCHAR)
SELECT SUM(attendance) FROM table_name_58 WHERE home_team = "oxford united"
When was the earliest year when the attendance was 77,254?
CREATE TABLE table_name_41 (year INTEGER, attendance VARCHAR)
SELECT MIN(year) FROM table_name_41 WHERE attendance = 77 OFFSET 254
Who was the incumbent when ran william b. oliver (d) unopposed?
CREATE TABLE table_1346118_2 (incumbent VARCHAR, candidates VARCHAR)
SELECT incumbent FROM table_1346118_2 WHERE candidates = "William B. Oliver (D) Unopposed"
what's the district with incumbent being john e. miller
CREATE TABLE table_1342331_5 (district VARCHAR, incumbent VARCHAR)
SELECT district FROM table_1342331_5 WHERE incumbent = "John E. Miller"
How many ages have Maureen Connolly Brinker as the player?
CREATE TABLE table_197638_7 (age VARCHAR, player VARCHAR)
SELECT COUNT(age) FROM table_197638_7 WHERE player = "Maureen Connolly Brinker"
What is the latitude of the 0 diameter?
CREATE TABLE table_name_18 (latitude VARCHAR, diameter__km_ VARCHAR)
SELECT latitude FROM table_name_18 WHERE diameter__km_ = 0
what's the acronym with department being department of finance kagawaran ng pananalapi
CREATE TABLE table_1331313_1 (acronym VARCHAR, department VARCHAR)
SELECT acronym FROM table_1331313_1 WHERE department = "department of Finance Kagawaran ng Pananalapi"
What was the TV time for Chicago's road game against Phoenix on June 18?
CREATE TABLE table_name_66 (tv_time VARCHAR, road_team VARCHAR, date VARCHAR)
SELECT tv_time FROM table_name_66 WHERE road_team = "phoenix" AND date = "june 18"
state the wins of the team with 2 top 10
CREATE TABLE table_2012187_1 (wins VARCHAR, top_10 VARCHAR)
SELECT COUNT(wins) FROM table_2012187_1 WHERE top_10 = 2
Who was away team at the home game of south melbourne?
CREATE TABLE table_name_99 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_99 WHERE home_team = "south melbourne"
What runner-up has 1925 as the year?
CREATE TABLE table_name_6 (runner_up VARCHAR, year VARCHAR)
SELECT runner_up FROM table_name_6 WHERE year = "1925"
Where were the Mediterranean games after 2005?
CREATE TABLE table_name_79 (venue VARCHAR, competition VARCHAR, year VARCHAR)
SELECT venue FROM table_name_79 WHERE competition = "mediterranean games" AND year > 2005
What was the result when the score was 21 (7, 6, 8)?
CREATE TABLE table_name_28 (result VARCHAR, score VARCHAR)
SELECT result FROM table_name_28 WHERE score = "21 (7, 6, 8)"
what is the score on february 18?
CREATE TABLE table_name_84 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_84 WHERE date = "february 18"
How long is the rollar coaster on Kemah Boardwalk
CREATE TABLE table_2665085_1 (length__ft_ VARCHAR, park VARCHAR)
SELECT length__ft_ FROM table_2665085_1 WHERE park = "Kemah Boardwalk"
What name was listed 02/21/1990, and a CERCLIS ID of scd980844005?
CREATE TABLE table_name_97 (name VARCHAR, listed VARCHAR, cerclis_id VARCHAR)
SELECT name FROM table_name_97 WHERE listed = "02/21/1990" AND cerclis_id = "scd980844005"
Who is the opposition when the score is 37 - 28?
CREATE TABLE table_26847237_3 (opposition VARCHAR, score VARCHAR)
SELECT opposition FROM table_26847237_3 WHERE score = "37 - 28"
Which team has a Home Run of 27?
CREATE TABLE table_name_18 (team VARCHAR, home_run VARCHAR)
SELECT team FROM table_name_18 WHERE home_run = 27
Name the area km 2 for balmoral
CREATE TABLE table_171361_2 (area_km_2 VARCHAR, official_name VARCHAR)
SELECT area_km_2 FROM table_171361_2 WHERE official_name = "Balmoral"
What are the types of film market estimations in year 1995?
CREATE TABLE film_market_estimation (TYPE VARCHAR, YEAR VARCHAR)
SELECT TYPE FROM film_market_estimation WHERE YEAR = 1995
What was the record on the date of september 15, 1968?
CREATE TABLE table_name_89 (record VARCHAR, date VARCHAR)
SELECT record FROM table_name_89 WHERE date = "september 15, 1968"
In the match where north melbourne was the away team, how much did the home team score?
CREATE TABLE table_name_61 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_61 WHERE away_team = "north melbourne"
Name the towns/villages for budapest
CREATE TABLE table_16278825_1 (towns__villages VARCHAR, county_seat VARCHAR)
SELECT towns__villages FROM table_16278825_1 WHERE county_seat = "Budapest"
What nationality is Jessica Pengelly?
CREATE TABLE table_name_52 (nationality VARCHAR, name VARCHAR)
SELECT nationality FROM table_name_52 WHERE name = "jessica pengelly"
What's the percentage of votes for Tom Horner according to the poll source that claimed 31% for Matt Entenza?
CREATE TABLE table_20032301_3 (tom_horner__i_ VARCHAR, matt_entenza__dfl_ VARCHAR)
SELECT tom_horner__i_ FROM table_20032301_3 WHERE matt_entenza__dfl_ = "31%"
Which Round has a College of appalachian state, and an Overall smaller than 156?
CREATE TABLE table_name_64 (round VARCHAR, college VARCHAR, overall VARCHAR)
SELECT COUNT(round) FROM table_name_64 WHERE college = "appalachian state" AND overall < 156
What date was game 57 held on?
CREATE TABLE table_11960944_6 (date VARCHAR, game VARCHAR)
SELECT date FROM table_11960944_6 WHERE game = 57
What is the position of john charles?
CREATE TABLE table_12165135_1 (position VARCHAR, player VARCHAR)
SELECT position FROM table_12165135_1 WHERE player = "John Charles"
What is the starting point of the north/south operating Palafox Street route?
CREATE TABLE table_name_66 (starting_point VARCHAR, operates VARCHAR, name VARCHAR)
SELECT starting_point FROM table_name_66 WHERE operates = "north/south" AND name = "palafox street"
How many feet in length are there when the length is 106.1 meters?
CREATE TABLE table_16226584_1 (length_feet VARCHAR, length_meters VARCHAR)
SELECT COUNT(length_feet) FROM table_16226584_1 WHERE length_meters = "106.1"
Which Points have an Opponent of @ atlanta thrashers, and a Game smaller than 28?
CREATE TABLE table_name_2 (points INTEGER, opponent VARCHAR, game VARCHAR)
SELECT SUM(points) FROM table_name_2 WHERE opponent = "@ atlanta thrashers" AND game < 28
What label has the catalog nebt058?
CREATE TABLE table_name_10 (label VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_10 WHERE catalog = "nebt058"
What is the earliest game with a position of Re and a smaller number than 95?
CREATE TABLE table_name_2 (games INTEGER, position VARCHAR, number VARCHAR)
SELECT MIN(games) AS ↑ FROM table_name_2 WHERE position = "re" AND number < 95
What was the name listed for the royal house of jiang and a title of duke?
CREATE TABLE table_name_96 (name VARCHAR, title VARCHAR, royal_house VARCHAR)
SELECT name FROM table_name_96 WHERE title = "duke" AND royal_house = "jiang"
what is the chassis when the entrant is mild seven renault f1 team and the driver is jarno trulli?
CREATE TABLE table_name_3 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_3 WHERE entrant = "mild seven renault f1 team" AND driver = "jarno trulli"
What was the match number for Start Gniezno?
CREATE TABLE table_name_13 (match VARCHAR, team VARCHAR)
SELECT match FROM table_name_13 WHERE team = "start gniezno"
The president, peter williamson, had how many home grounds?
CREATE TABLE table_11365528_2 (home_ground VARCHAR, president VARCHAR)
SELECT COUNT(home_ground) FROM table_11365528_2 WHERE president = "Peter Williamson"
Name the position that has baltimore bullets and college of texas tech
CREATE TABLE table_name_86 (position VARCHAR, team VARCHAR, college VARCHAR)
SELECT position FROM table_name_86 WHERE team = "baltimore bullets" AND college = "texas tech"
Name the most opponents for 8-1 record
CREATE TABLE table_21092427_1 (opponents INTEGER, record VARCHAR)
SELECT MAX(opponents) FROM table_21092427_1 WHERE record = "8-1"
Name the office running for for anthony mussara
CREATE TABLE table_1855841_1 (office_running_for VARCHAR, candidate VARCHAR)
SELECT office_running_for FROM table_1855841_1 WHERE candidate = "Anthony Mussara"
What is the lowest number of delegates when John McCain was the candidate with less than 45 candidates?
CREATE TABLE table_name_75 (delegates INTEGER, candidate VARCHAR, counties VARCHAR)
SELECT MIN(delegates) FROM table_name_75 WHERE candidate = "john mccain" AND counties < 45
Name the number of lost for against being 46
CREATE TABLE table_15319684_1 (lost VARCHAR, against VARCHAR)
SELECT COUNT(lost) FROM table_15319684_1 WHERE against = 46
What is the Party of District of Illinois 19 with an Incumbent First elected in 1996?
CREATE TABLE table_name_37 (party VARCHAR, first_elected VARCHAR, district VARCHAR)
SELECT party FROM table_name_37 WHERE first_elected = 1996 AND district = "illinois 19"
What was James Reed's draft round number?
CREATE TABLE table_name_90 (round VARCHAR, player VARCHAR)
SELECT COUNT(round) FROM table_name_90 WHERE player = "james reed"
How many years are there where the the under-15 is Arturo Salazar Martinez and the under-19 is Moises Galvez?
CREATE TABLE table_26368963_1 (year VARCHAR, under_15 VARCHAR, under_19 VARCHAR)
SELECT COUNT(year) FROM table_26368963_1 WHERE under_15 = "Arturo Salazar Martinez" AND under_19 = "Moises Galvez"
What 2007 has wimbledon as the tournament?
CREATE TABLE table_name_88 (tournament VARCHAR)
SELECT 2007 FROM table_name_88 WHERE tournament = "wimbledon"
What is Year, when Time is "1:47.55"?
CREATE TABLE table_name_37 (year VARCHAR, time VARCHAR)
SELECT year FROM table_name_37 WHERE time = "1:47.55"
With a Grid less than 15, and a Time of +52.833, what is the highest number of Laps?
CREATE TABLE table_name_86 (laps INTEGER, grid VARCHAR, time VARCHAR)
SELECT MAX(laps) FROM table_name_86 WHERE grid < 15 AND time = "+52.833"
Who was the opponent on september 10, 1979?
CREATE TABLE table_name_28 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_28 WHERE date = "september 10, 1979"
Find the name of tourney that has more than 10 matches.
CREATE TABLE matches (tourney_name VARCHAR)
SELECT tourney_name FROM matches GROUP BY tourney_name HAVING COUNT(*) > 10
What's Matts Nilsson's team that's ranked better than 7?
CREATE TABLE table_name_81 (team VARCHAR, rank VARCHAR, rider VARCHAR)
SELECT team FROM table_name_81 WHERE rank < 7 AND rider = "matts nilsson"
In what year was his money list rank 3?
CREATE TABLE table_22839669_12 (year INTEGER, money_list_rank VARCHAR)
SELECT MIN(year) FROM table_22839669_12 WHERE money_list_rank = 3
What is the largest number of gold medals when the bronze medals is less than 49, and there is 22 silver medals, and the total is less than 60?
CREATE TABLE table_name_25 (gold INTEGER, total VARCHAR, bronze VARCHAR, silver VARCHAR)
SELECT MAX(gold) FROM table_name_25 WHERE bronze < 49 AND silver = 22 AND total < 60
How many parties is Tom Foley a member of?
CREATE TABLE table_1341568_48 (party VARCHAR, incumbent VARCHAR)
SELECT COUNT(party) FROM table_1341568_48 WHERE incumbent = "Tom Foley"
What team has a yamaha constructor with all rounds?
CREATE TABLE table_name_60 (team VARCHAR, rounds VARCHAR, constructor VARCHAR)
SELECT team FROM table_name_60 WHERE rounds = "all" AND constructor = "yamaha"
What is Score, when Money ( $ ) is 32,200, and when Player is Chip Beck?
CREATE TABLE table_name_2 (score VARCHAR, money___$__ VARCHAR, player VARCHAR)
SELECT score FROM table_name_2 WHERE money___$__ = "32,200" AND player = "chip beck"
What's the rating of the episode originally aired on May 5, 2009?
CREATE TABLE table_11274401_3 (rating VARCHAR, air_date VARCHAR)
SELECT rating FROM table_11274401_3 WHERE air_date = "May 5, 2009"
What league is from the United States and a round smaller than 12.
CREATE TABLE table_name_44 (college_junior_club_team__league_ VARCHAR, nationality VARCHAR, round VARCHAR)
SELECT college_junior_club_team__league_ FROM table_name_44 WHERE nationality = "united states" AND round < 12
How many vieweres for the episode with a share of 1, a Rating larger than 0.7000000000000001, and a Rank (#) of 100/102?
CREATE TABLE table_name_73 (viewers__m_ VARCHAR, rank___number_ VARCHAR, share VARCHAR, rating VARCHAR)
SELECT viewers__m_ FROM table_name_73 WHERE share = 1 AND rating > 0.7000000000000001 AND rank___number_ = "100/102"
What was the vacancy date of the manager appointed on 11 March 2010?
CREATE TABLE table_name_45 (date_of_vacancy VARCHAR, date_of_appointment VARCHAR)
SELECT date_of_vacancy FROM table_name_45 WHERE date_of_appointment = "11 march 2010"
In the final, who are the opponents of partner Simon Aspelin?
CREATE TABLE table_name_9 (opponents_in_the_final VARCHAR, partner VARCHAR)
SELECT opponents_in_the_final FROM table_name_9 WHERE partner = "simon aspelin"
What were the results for mens 40 when the mens u20 was Southern Suns def Gold Coast Sharks?
CREATE TABLE table_16724844_1 (mens_40 VARCHAR, mens_u20 VARCHAR)
SELECT mens_40 FROM table_16724844_1 WHERE mens_u20 = "Southern Suns def Gold Coast Sharks"
When did Peter Butler leave his team?
CREATE TABLE table_name_12 (date_outgoing VARCHAR, outgoing_manager VARCHAR)
SELECT date_outgoing FROM table_name_12 WHERE outgoing_manager = "peter butler"
How many rebounds does Fedor likholitov have with a rank greater than 8?
CREATE TABLE table_name_21 (rebounds INTEGER, name VARCHAR, rank VARCHAR)
SELECT SUM(rebounds) FROM table_name_21 WHERE name = "fedor likholitov" AND rank > 8
Name the launch date for vladimir lyakhov , aleksandr pavlovich aleksandrov
CREATE TABLE table_245801_1 (launch_date VARCHAR, crew VARCHAR)
SELECT launch_date FROM table_245801_1 WHERE crew = "Vladimir Lyakhov , Aleksandr Pavlovich Aleksandrov"
When phonetic realisation is [[[|u]]], what is the variant with niqqud?
CREATE TABLE table_name_84 (variant__with_niqqud__ VARCHAR, phonetic_realisation VARCHAR)
SELECT variant__with_niqqud__ FROM table_name_84 WHERE phonetic_realisation = "[[[|u]]]"
What shows for 2002 when 2010 shows 69?
CREATE TABLE table_name_85 (Id VARCHAR)
SELECT 2002 FROM table_name_85 WHERE 2010 = "69"
With the cultural and educational panel less than 0 what is the average industrial and commercial panel?
CREATE TABLE table_name_22 (industrial_and_commercial_panel INTEGER, cultural_and_educational_panel INTEGER)
SELECT AVG(industrial_and_commercial_panel) FROM table_name_22 WHERE cultural_and_educational_panel < 0
What is the total of bronze that has more silvers than 2?
CREATE TABLE table_name_15 (bronze VARCHAR, silver INTEGER)
SELECT COUNT(bronze) FROM table_name_15 WHERE silver > 2