question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
What season has a regionalliga süd league, a 1-0 home, and an away of 2-3?
CREATE TABLE table_name_38 (season VARCHAR, away VARCHAR, league VARCHAR, home VARCHAR)
SELECT season FROM table_name_38 WHERE league = "regionalliga süd" AND home = "1-0" AND away = "2-3"
Who was the partner that played a match on a grass court?
CREATE TABLE table_name_52 (partner VARCHAR, surface VARCHAR)
SELECT partner FROM table_name_52 WHERE surface = "grass"
What is the played for tries for 50?
CREATE TABLE table_name_32 (played VARCHAR, tries_for VARCHAR)
SELECT played FROM table_name_32 WHERE tries_for = "50"
How many kills when percentage is more than 0.313, attempts are more than 1035 and assists are larger than 57?
CREATE TABLE table_name_32 (kills VARCHAR, assists VARCHAR, percentage VARCHAR, total_attempts VARCHAR)
SELECT COUNT(kills) FROM table_name_32 WHERE percentage > 0.313 AND total_attempts > 1035 AND assists > 57
Who set the record for youngest nominee?
CREATE TABLE table_name_9 (record_set VARCHAR, superlative VARCHAR)
SELECT record_set FROM table_name_9 WHERE superlative = "youngest nominee"
Name the region 1 where region 4 for april 2, 2009
CREATE TABLE table_171320_3 (region_1 VARCHAR, region_4 VARCHAR)
SELECT region_1 FROM table_171320_3 WHERE region_4 = "April 2, 2009"
name the player for number 5
CREATE TABLE table_23670057_1 (player VARCHAR, no VARCHAR)
SELECT player FROM table_23670057_1 WHERE no = 5
Competition of u.s championships, and a Event of all around has what average year?
CREATE TABLE table_name_61 (year INTEGER, competition VARCHAR, event VARCHAR)
SELECT AVG(year) FROM table_name_61 WHERE competition = "u.s championships" AND event = "all around"
How many clean electric grid california (san francisco) figures are given for the Nissan Leaf?
CREATE TABLE table_23840623_4 (clean_electric_grid_california__san_francisco_ VARCHAR, vehicle VARCHAR)
SELECT COUNT(clean_electric_grid_california__san_francisco_) FROM table_23840623_4 WHERE vehicle = "Nissan Leaf"
Vsevolod Shilovskiy is from what country?
CREATE TABLE table_10236830_4 (country VARCHAR, actors_name VARCHAR)
SELECT country FROM table_10236830_4 WHERE actors_name = "Vsevolod Shilovskiy"
Which Winner has a Score of 1 – 0, and a Season of 2011–12?
CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR)
SELECT winner FROM table_name_30 WHERE score = "1 – 0" AND season = "2011–12"
What round did Mitch Davis, with an overall higher than 118, have?
CREATE TABLE table_name_50 (round INTEGER, name VARCHAR, overall VARCHAR)
SELECT SUM(round) FROM table_name_50 WHERE name = "mitch davis" AND overall < 118
When 4.5 is the rating (18-49) what is the air date?
CREATE TABLE table_28980706_4 (first_air_date VARCHAR, rating__18_49_ VARCHAR)
SELECT first_air_date FROM table_28980706_4 WHERE rating__18_49_ = "4.5"
How many faculty lines are there in "San Francisco State University" in year 2004?
CREATE TABLE campuses (id VARCHAR, campus VARCHAR); CREATE TABLE faculty (campus VARCHAR, year VARCHAR)
SELECT faculty FROM faculty AS T1 JOIN campuses AS T2 ON T1.campus = T2.id WHERE T1.year = 2004 AND T2.campus = "San Francisco State University"
What game that had a record of 39-44 had the lowest attendance?
CREATE TABLE table_name_44 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_44 WHERE record = "39-44"
Tell me the 1st leg for antwerp bc
CREATE TABLE table_name_10 (team__number2 VARCHAR)
SELECT 1 AS st_leg FROM table_name_10 WHERE team__number2 = "antwerp bc"
What was the reported cost of the asset acquired from Standard & Poor's?
CREATE TABLE table_1373542_1 (reported_cost VARCHAR, acquired_from VARCHAR)
SELECT reported_cost FROM table_1373542_1 WHERE acquired_from = "Standard & Poor's"
What p;layer attended Concordia College?
CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_40 WHERE college = "concordia"
How manu aircraft landings when the cargo tonnes are 18 344?
CREATE TABLE table_name_27 (aircraft_landings VARCHAR, cargo__tonnes_ VARCHAR)
SELECT aircraft_landings FROM table_name_27 WHERE cargo__tonnes_ = "18 344"
What person has the alma mater of Eastern Nazarene ('74), and greater than 19 experience?
CREATE TABLE table_name_86 (name VARCHAR, experience VARCHAR, alma_mater VARCHAR)
SELECT name FROM table_name_86 WHERE experience > 19 AND alma_mater = "eastern nazarene ('74)"
What album was the song It's going so badly on?
CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR)
SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "It's Going So Badly"
Name the country for the us dollar
CREATE TABLE table_2764267_2 (country VARCHAR, currency VARCHAR)
SELECT country FROM table_2764267_2 WHERE currency = "US dollar"
what is the institution at akron, oh?
CREATE TABLE table_name_78 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_name_78 WHERE location = "akron, oh"
Who were the scorers in the game with final score 0–4 7–1 0–3?
CREATE TABLE table_27654988_1 (scorers VARCHAR, result VARCHAR)
SELECT scorers FROM table_27654988_1 WHERE result = "0–4 7–1 0–3"
What is the host in a year greater than 1989 and when the venue is the Staples Center located in California?
CREATE TABLE table_name_12 (host VARCHAR, venue VARCHAR, year VARCHAR, state VARCHAR)
SELECT host FROM table_name_12 WHERE year > 1989 AND state = "california" AND venue = "staples center"
What is the total number of rounds that had draft pick 97, duncan mccoll?
CREATE TABLE table_name_62 (round VARCHAR, player VARCHAR, pick VARCHAR)
SELECT COUNT(round) FROM table_name_62 WHERE player = "duncan mccoll" AND pick < 97
Retrieve the title of the paper that has the largest number of authors.
CREATE TABLE authorship (authorder INTEGER); CREATE TABLE authorship (paperid VARCHAR, authorder INTEGER); CREATE TABLE papers (title VARCHAR, paperid VARCHAR)
SELECT t2.title FROM authorship AS t1 JOIN papers AS t2 ON t1.paperid = t2.paperid WHERE t1.authorder = (SELECT MAX(authorder) FROM authorship)
What is the Losing bonus of 571 Points ?
CREATE TABLE table_name_65 (losing_bonus VARCHAR, points_for VARCHAR)
SELECT losing_bonus FROM table_name_65 WHERE points_for = "571"
What is the name of the integrated where the component are customers?
CREATE TABLE table_11944282_1 (integrated VARCHAR, component VARCHAR)
SELECT integrated FROM table_11944282_1 WHERE component = "Customers"
What is Against, when Opposing Teams is "Australia", and when Date is "27/07/1991"?
CREATE TABLE table_name_12 (against VARCHAR, opposing_teams VARCHAR, date VARCHAR)
SELECT against FROM table_name_12 WHERE opposing_teams = "australia" AND date = "27/07/1991"
Where is the miss global teen?
CREATE TABLE table_1825751_14 (hometown VARCHAR, pageant VARCHAR)
SELECT hometown FROM table_1825751_14 WHERE pageant = "Miss Global Teen"
What tournament or series was played in England, when games played was 4, points for were 121?
CREATE TABLE table_name_15 (tournament_or_series VARCHAR, points_for___tests__ VARCHAR, played_in VARCHAR, games_played___tests__ VARCHAR)
SELECT tournament_or_series FROM table_name_15 WHERE played_in = "england" AND games_played___tests__ = "4" AND points_for___tests__ = "121"
what is the country when the score is 72-68-67=207?
CREATE TABLE table_name_79 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_79 WHERE score = 72 - 68 - 67 = 207
What was the score of Tommy Aaron (2) when the tournament was in georgia?
CREATE TABLE table_name_38 (score VARCHAR, location VARCHAR, winner VARCHAR)
SELECT score FROM table_name_38 WHERE location = "georgia" AND winner = "tommy aaron (2)"
What is guido bontempi's general classification when he has a stage of 6?
CREATE TABLE table_name_51 (general_classification VARCHAR, winner VARCHAR, stage VARCHAR)
SELECT general_classification FROM table_name_51 WHERE winner = "guido bontempi" AND stage = "6"
How many golds have a silver greater than 1, vietnam as the nation, with a bronze less than 3?
CREATE TABLE table_name_32 (gold VARCHAR, bronze VARCHAR, silver VARCHAR, nation VARCHAR)
SELECT COUNT(gold) FROM table_name_32 WHERE silver > 1 AND nation = "vietnam" AND bronze < 3
How many laps have 50 points?
CREATE TABLE table_name_65 (laps VARCHAR, points VARCHAR)
SELECT laps FROM table_name_65 WHERE points = "50"
What was the week ranking of the episode written by Russel Friend & Garrett Lerner?
CREATE TABLE table_23177573_1 (rank__week_ VARCHAR, written_by VARCHAR)
SELECT rank__week_ FROM table_23177573_1 WHERE written_by = "Russel Friend & Garrett Lerner"
What was the minimum score for r2?
CREATE TABLE table_18812411_3 (r2 INTEGER)
SELECT MIN(r2) FROM table_18812411_3
How many 1990 growth numbers had less than 10,522 in 1970?
CREATE TABLE table_name_49 (Id VARCHAR)
SELECT COUNT(1990) FROM table_name_49 WHERE 1970 < 10 OFFSET 522
Name the winning driver for round 7
CREATE TABLE table_name_24 (winning_driver VARCHAR, round VARCHAR)
SELECT winning_driver FROM table_name_24 WHERE round = 7
Who had the high point total when the team was 24-17?
CREATE TABLE table_13762472_5 (high_points VARCHAR, record VARCHAR)
SELECT high_points FROM table_13762472_5 WHERE record = "24-17"
What episode number was written by Gregg Hurwitz?
CREATE TABLE table_24938621_3 (no VARCHAR, written_by VARCHAR)
SELECT no FROM table_24938621_3 WHERE written_by = "Gregg Hurwitz"
What Nature reserve number was established on 19961220 20.12.1996
CREATE TABLE table_26013618_1 (nsg_nr INTEGER, date_established VARCHAR)
SELECT MIN(nsg_nr) FROM table_26013618_1 WHERE date_established = "19961220 20.12.1996"
What is Part 1, when Part 2 is "fraus"?
CREATE TABLE table_name_99 (part_1 VARCHAR, part_2 VARCHAR)
SELECT part_1 FROM table_name_99 WHERE part_2 = "fraus"
When the CAT FEA is 3 how many points were scored?
CREATE TABLE table_name_88 (points VARCHAR, cat_fea VARCHAR)
SELECT points FROM table_name_88 WHERE cat_fea = "3"
How big (in km2) is Persarmenia?
CREATE TABLE table_23887174_1 (area__km²_ VARCHAR, province__ashkharh_ VARCHAR)
SELECT area__km²_ FROM table_23887174_1 WHERE province__ashkharh_ = "Persarmenia"
Which cfl team was associated with the college of manitoba?
CREATE TABLE table_name_32 (cfl_team VARCHAR, college VARCHAR)
SELECT cfl_team FROM table_name_32 WHERE college = "manitoba"
Is wireless combo keyboard and mouse support part of the hub base class?
CREATE TABLE table_1153898_1 (hub_base_class VARCHAR, comparisons VARCHAR)
SELECT hub_base_class FROM table_1153898_1 WHERE comparisons = "Wireless Combo keyboard and mouse support"
What is the home team that played Hull City?
CREATE TABLE table_name_40 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_40 WHERE away_team = "hull city"
If the player is Reed Doughty, what isthe fumrec?
CREATE TABLE table_25773915_11 (fumrec VARCHAR, player VARCHAR)
SELECT fumrec FROM table_25773915_11 WHERE player = "Reed Doughty"
What was the attendance when the score was 88-98?
CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR)
SELECT attendance FROM table_name_20 WHERE score = "88-98"
Which country is the Nova TV network from?
CREATE TABLE table_name_53 (country VARCHAR, tv_network_s_ VARCHAR)
SELECT country FROM table_name_53 WHERE tv_network_s_ = "nova tv"
What was the time for the bout against Amanda Lavoy, which went under 3 rounds?
CREATE TABLE table_name_71 (time VARCHAR, round VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_71 WHERE round < 3 AND opponent = "amanda lavoy"
Which L2-Cache has a Frequency of 1333 mhz, and a Model Number of c3 1.3a?
CREATE TABLE table_name_42 (l2_cache VARCHAR, frequency VARCHAR, model_number VARCHAR)
SELECT l2_cache FROM table_name_42 WHERE frequency = "1333 mhz" AND model_number = "c3 1.3a"
WHAT IS THE BUDGET FOR THE INCREDIBLES?
CREATE TABLE table_name_28 (budget VARCHAR, film VARCHAR)
SELECT budget FROM table_name_28 WHERE film = "the incredibles"
Which Format has a Date of may 24, 2008?
CREATE TABLE table_name_44 (format VARCHAR, date VARCHAR)
SELECT format FROM table_name_44 WHERE date = "may 24, 2008"
How many kids go to Brechin High School?
CREATE TABLE table_21563298_1 (roll INTEGER, school VARCHAR)
SELECT MAX(roll) FROM table_21563298_1 WHERE school = "Brechin High school"
What song was used resulting in the bottom 3?
CREATE TABLE table_26250176_1 (song_choice VARCHAR, result VARCHAR)
SELECT song_choice FROM table_26250176_1 WHERE result = "Bottom 3"
Tell me the least time for apostolos tsagkarakis for lane less than 6
CREATE TABLE table_name_63 (time INTEGER, swimmer VARCHAR, lane VARCHAR)
SELECT MIN(time) FROM table_name_63 WHERE swimmer = "apostolos tsagkarakis" AND lane < 6
What was the film title used in nomination for the film directed by Gheorghe Vitanidis?
CREATE TABLE table_name_89 (film_title_used_in_nomination VARCHAR, director VARCHAR)
SELECT film_title_used_in_nomination FROM table_name_89 WHERE director = "gheorghe vitanidis"
Which railway number has 3 quantity?
CREATE TABLE table_name_19 (railway_number_s_ VARCHAR, quantity VARCHAR)
SELECT railway_number_s_ FROM table_name_19 WHERE quantity = 3
Which away team that had 48 as a Tie no?
CREATE TABLE table_name_46 (away_team VARCHAR, tie_no VARCHAR)
SELECT away_team FROM table_name_46 WHERE tie_no = "48"
The year 1974 has what listed as the Height?
CREATE TABLE table_name_38 (height VARCHAR, year VARCHAR)
SELECT height FROM table_name_38 WHERE year = 1974
Which Rec has an Average smaller than 32, and a Touchdown smaller than 3, and an Opponent of oregon state?
CREATE TABLE table_name_95 (rec INTEGER, opponent VARCHAR, average VARCHAR, s_touchdown VARCHAR)
SELECT SUM(rec) FROM table_name_95 WHERE average < 32 AND s_touchdown < 3 AND opponent = "oregon state"
Which Condition has a Bleeding time of prolonged, a Platelet count of decreased, and Prothrombin time of prolonged?
CREATE TABLE table_name_1 (condition VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR, platelet_count VARCHAR)
SELECT condition FROM table_name_1 WHERE bleeding_time = "prolonged" AND platelet_count = "decreased" AND prothrombin_time = "prolonged"
what's the time required for prices to double with highest monthly inflation rate being 29,500%
CREATE TABLE table_13681_2 (time_required_for_prices_to_double VARCHAR, highest_monthly_inflation_rate VARCHAR)
SELECT time_required_for_prices_to_double FROM table_13681_2 WHERE highest_monthly_inflation_rate = "29,500%"
Which opponent completed a challenge competition with a result of 8-2 w?
CREATE TABLE table_name_73 (opponent VARCHAR, competition VARCHAR, result VARCHAR)
SELECT opponent FROM table_name_73 WHERE competition = "challenge" AND result = "8-2 w"
Which Incumbent has a District of California 5?
CREATE TABLE table_name_99 (incumbent VARCHAR, district VARCHAR)
SELECT incumbent FROM table_name_99 WHERE district = "california 5"
What is the codename for the Core i3-32xxt?
CREATE TABLE table_24538587_11 (codename__main_article_ VARCHAR, brand_name__list_ VARCHAR)
SELECT codename__main_article_ FROM table_24538587_11 WHERE brand_name__list_ = "Core i3-32xxT"
Which Team has Points of 15?
CREATE TABLE table_name_80 (team VARCHAR, points VARCHAR)
SELECT team FROM table_name_80 WHERE points = "15"
What is the lifespan of the democratic party in New York, for which Terence J. Quinn is a representative?
CREATE TABLE table_name_21 (lifespan VARCHAR, representative VARCHAR, party VARCHAR, state VARCHAR)
SELECT lifespan FROM table_name_21 WHERE party = "democratic" AND state = "new york" AND representative = "terence j. quinn"
What team was class AA in years 1994-95?
CREATE TABLE table_name_52 (class_aA VARCHAR, school_year VARCHAR)
SELECT class_aA FROM table_name_52 WHERE school_year = "1994-95"
On what date was a game played, which left the team with a record of 5-7?
CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_16 WHERE record = "5-7"
What was the Attendance in Week 17?
CREATE TABLE table_name_70 (attendance VARCHAR, week VARCHAR)
SELECT attendance FROM table_name_70 WHERE week = 17
Which first edition has 264 pages and the ISBN of 978-0785111832?
CREATE TABLE table_name_60 (first_edition VARCHAR, pages VARCHAR, isbn VARCHAR)
SELECT first_edition FROM table_name_60 WHERE pages = "264" AND isbn = "978-0785111832"
How many mystic arte have hisui (jadeite) hearts 1 as the character?
CREATE TABLE table_28178595_2 (mystic_arte VARCHAR, character VARCHAR)
SELECT COUNT(mystic_arte) FROM table_28178595_2 WHERE character = "Hisui (Jadeite) Hearts 1"
In what year was Leo E. Allen first elected?
CREATE TABLE table_1342249_13 (first_elected VARCHAR, incumbent VARCHAR)
SELECT first_elected FROM table_1342249_13 WHERE incumbent = "Leo E. Allen"
What year gave a nominated result for the room 222 series?
CREATE TABLE table_name_66 (year VARCHAR, result VARCHAR, series VARCHAR)
SELECT COUNT(year) FROM table_name_66 WHERE result = "nominated" AND series = "room 222"
What is the example with the associative type?
CREATE TABLE table_name_56 (example VARCHAR, type VARCHAR)
SELECT example FROM table_name_56 WHERE type = "associative"
How many violent crimes occurred the year that the index was 191037?
CREATE TABLE table_25271777_1 (violent VARCHAR, index VARCHAR)
SELECT violent FROM table_25271777_1 WHERE index = 191037
Which score is the Seattle team?
CREATE TABLE table_name_38 (score VARCHAR, team VARCHAR)
SELECT score FROM table_name_38 WHERE team = "seattle"
What number of years did the red bull sauber petronas have greater than 6 points?
CREATE TABLE table_name_90 (year VARCHAR, entrant VARCHAR, points VARCHAR)
SELECT COUNT(year) FROM table_name_90 WHERE entrant = "red bull sauber petronas" AND points > 6
What's the upstream rate for Itu g.992.2 with a version of ADSL?
CREATE TABLE table_name_60 (upstream_rate VARCHAR, version VARCHAR, standard_name VARCHAR)
SELECT upstream_rate FROM table_name_60 WHERE version = "adsl" AND standard_name = "itu g.992.2"
what is the institution when the location is big rapids, michigan?
CREATE TABLE table_name_48 (institution VARCHAR, location VARCHAR)
SELECT institution FROM table_name_48 WHERE location = "big rapids, michigan"
What is the title of episode number 96 in the series?
CREATE TABLE table_17482534_1 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_17482534_1 WHERE no_in_series = "96"
What's the series of Kiss Me Cat?
CREATE TABLE table_name_80 (series VARCHAR, title VARCHAR)
SELECT series FROM table_name_80 WHERE title = "kiss me cat"
Which party won less than 21 seats, has 0 percent of seats, and 69757 votes cast?
CREATE TABLE table_name_94 (party VARCHAR, votes_cast VARCHAR, seats_won VARCHAR, percent_of_seats VARCHAR)
SELECT party FROM table_name_94 WHERE seats_won < 21 AND percent_of_seats = 0 AND votes_cast = 69757
What percentage of the EU's population lives in the country with a population density of 110.8 people per square kilometer?
CREATE TABLE table_24066938_1 (population__percentage_of_eu VARCHAR, pop_density_people_km_2 VARCHAR)
SELECT population__percentage_of_eu FROM table_24066938_1 WHERE pop_density_people_km_2 = "110.8"
Which channel has Joel Meyers as the Play by play commentator?
CREATE TABLE table_name_71 (channel VARCHAR, play_by_play VARCHAR)
SELECT channel FROM table_name_71 WHERE play_by_play = "joel meyers"
Which Round has a Competition of uefa cup, and a Series of 5–2?
CREATE TABLE table_name_34 (round VARCHAR, competition VARCHAR, series VARCHAR)
SELECT round FROM table_name_34 WHERE competition = "uefa cup" AND series = "5–2"
What's the number of starts in the year with 19.3 average finish?
CREATE TABLE table_1909647_2 (starts INTEGER, avg_finish VARCHAR)
SELECT MIN(starts) FROM table_1909647_2 WHERE avg_finish = "19.3"
How many wins have a Series of formula nippon, and a Position of 8th?
CREATE TABLE table_name_78 (wins VARCHAR, series VARCHAR, position VARCHAR)
SELECT wins FROM table_name_78 WHERE series = "formula nippon" AND position = "8th"
Which Position has a Game 1 of noel cleal?
CREATE TABLE table_name_69 (position VARCHAR, game_1 VARCHAR)
SELECT position FROM table_name_69 WHERE game_1 = "noel cleal"
What is the report for the race that Ayrton Senna won on 27 August?
CREATE TABLE table_name_84 (report VARCHAR, winning_driver VARCHAR, date VARCHAR)
SELECT report FROM table_name_84 WHERE winning_driver = "ayrton senna" AND date = "27 august"
What was the loss of the game against the Yankees that was attended by 27,652?
CREATE TABLE table_name_45 (loss VARCHAR, opponent VARCHAR, attendance VARCHAR)
SELECT loss FROM table_name_45 WHERE opponent = "yankees" AND attendance = "27,652"
What was the venue that had 5000 m after 2009?
CREATE TABLE table_name_98 (venue VARCHAR, year VARCHAR, notes VARCHAR)
SELECT venue FROM table_name_98 WHERE year > 2009 AND notes = "5000 m"
List the camera lens names containing substring "Digital".
CREATE TABLE camera_lens (name VARCHAR)
SELECT name FROM camera_lens WHERE name LIKE "%Digital%"
When Diane Deluna was the cyber girl in week 4 who was the cyber girl in week 2?
CREATE TABLE table_name_90 (week_2 VARCHAR, week_4 VARCHAR)
SELECT week_2 FROM table_name_90 WHERE week_4 = "diane deluna"
WHAT YEAR HAS A BRONZE OF VALENTIN NOVIKOV?
CREATE TABLE table_name_88 (year INTEGER, bronze VARCHAR)
SELECT AVG(year) FROM table_name_88 WHERE bronze = "valentin novikov"