answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
484
SELECT place FROM table_name_28 WHERE to_par = "–10"
What place had a To par of –10?
CREATE TABLE table_name_28 (place VARCHAR, to_par VARCHAR)
SELECT title FROM table_name_66 WHERE series = "lt" AND director = "ben hardaway" AND production_num = "6612"
What title has lt as the series, ben hardaway as the director, with 6612 as the production num.?
CREATE TABLE table_name_66 (title VARCHAR, production_num VARCHAR, series VARCHAR, director VARCHAR)
SELECT season FROM table_name_98 WHERE goals = "1"
What season had a goal of 1?
CREATE TABLE table_name_98 (season VARCHAR, goals VARCHAR)
SELECT english FROM table_name_61 WHERE italian = "cavallo"
what is the english word for cavallo
CREATE TABLE table_name_61 (english VARCHAR, italian VARCHAR)
SELECT date FROM table_name_87 WHERE opponents = "royal antwerp"
What date was the game against Royal Antwerp?
CREATE TABLE table_name_87 (date VARCHAR, opponents VARCHAR)
SELECT MAX(total_foreign_born__1000_) FROM table_name_53 WHERE born_in_a_non_eu_state__1000_ = 685 AND total_population__1000_ > 10 OFFSET 666
What is the highest Total Foreign-born (1000) from a non EU state (1000) of 685 and a population (1000) smaller than 10,666?
CREATE TABLE table_name_53 (total_foreign_born__1000_ INTEGER, born_in_a_non_eu_state__1000_ VARCHAR, total_population__1000_ VARCHAR)
SELECT Fname, Lname FROM FACULTY WHERE sex = "M" AND Building = "NEB"
Find the first names and last names of male (sex is M) faculties who live in building NEB.
CREATE TABLE FACULTY (Fname VARCHAR, Lname VARCHAR, sex VARCHAR, Building VARCHAR)
SELECT COUNT(total) FROM table_name_10 WHERE regular_season = 1063 AND playoffs > 119
how may times is regular season 1063 and playoffs more than 119?
CREATE TABLE table_name_10 (total VARCHAR, regular_season VARCHAR, playoffs VARCHAR)
SELECT SUM(population) FROM table_name_50 WHERE area_km_2 < 342.4 AND official_name = "northfield"
What is the population of northfield parish that has an area less than 342.4?
CREATE TABLE table_name_50 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR)
SELECT to_par FROM table_name_65 WHERE player = "greg norman"
What is To Par, when Player is Greg Norman?
CREATE TABLE table_name_65 (to_par VARCHAR, player VARCHAR)
SELECT message FROM table_name_75 WHERE designation_hd = "hd 186408"
What message has hd 186408 as a designation HD?
CREATE TABLE table_name_75 (message VARCHAR, designation_hd VARCHAR)
SELECT SUM(attendance) FROM table_name_64 WHERE result = "w 12-3" AND week > 12
Tell me the sum of attendane for a result of w 12-3 and week more than 12
CREATE TABLE table_name_64 (attendance INTEGER, result VARCHAR, week VARCHAR)
SELECT MIN(overall) FROM table_name_45 WHERE name = "jack harmon" AND pick__number < 5
What is the Overall for Pick # less than 5 Jack Harmon?
CREATE TABLE table_name_45 (overall INTEGER, name VARCHAR, pick__number VARCHAR)
SELECT land___sqmi__ FROM table_18600760_12 WHERE township = "Lansing"
What is the land (sqmi) in lansing township?
CREATE TABLE table_18600760_12 (land___sqmi__ VARCHAR, township VARCHAR)
SELECT event FROM table_name_16 WHERE inductee_s_ = "jerry lynn"
What even was Jerry Lynn the inductee?
CREATE TABLE table_name_16 (event VARCHAR, inductee_s_ VARCHAR)
SELECT tv_season FROM table_2170969_2 WHERE viewers_in_millions = "2.52"
What season had 2.52 million viewers?
CREATE TABLE table_2170969_2 (tv_season VARCHAR, viewers_in_millions VARCHAR)
SELECT points_against FROM table_name_88 WHERE try_diff = "+22"
What is Points Against, when Try Diff is +22?
CREATE TABLE table_name_88 (points_against VARCHAR, try_diff VARCHAR)
SELECT object_type FROM table_name_77 WHERE right_ascension___j2000__ = "11h10m42.8s"
what is the object type when the right ascension (j2000) is 11h10m42.8s?
CREATE TABLE table_name_77 (object_type VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT T1.country, T1.state_province_county FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"
Which country and state does staff with first name as Janessa and last name as Sawayn lived?
CREATE TABLE Addresses (country VARCHAR, state_province_county VARCHAR, address_id VARCHAR); CREATE TABLE Staff (staff_address_id VARCHAR, first_name VARCHAR, last_name VARCHAR)
SELECT _percentage_hindu FROM table_name_74 WHERE area = "azad kashmir"
What percentage of Azad Kashmir is Hindu?
CREATE TABLE table_name_74 (_percentage_hindu VARCHAR, area VARCHAR)
SELECT COUNT(leading_scorer) FROM table_11964047_8 WHERE attendance = "KeyArena 16,640"
What is the number of the leading scorer for keyarena 16,640?
CREATE TABLE table_11964047_8 (leading_scorer VARCHAR, attendance VARCHAR)
SELECT date FROM table_name_8 WHERE opponent = "at south carolina"
What was the date when the opponent was at South carolina?
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
SELECT SUM(upper_index_kcal__nm_3) FROM table_name_93 WHERE lower_index_mj__nm_3 = 47.91 AND upper_index_mj__nm_3 > 53.28
What is the entry for Upper index Kcal/ Nm 3 for the row with an entry that has a Lower index MJ/ Nm 3 of 47.91, and an Upper index MJ/ Nm 3 larger than 53.28?
CREATE TABLE table_name_93 (upper_index_kcal__nm_3 INTEGER, lower_index_mj__nm_3 VARCHAR, upper_index_mj__nm_3 VARCHAR)
SELECT year__ceremony_ FROM table_17350255_1 WHERE original_title = "Chūnqiū cháshì (春秋茶室)"
What was the year when Chūnqiū Cháshì (春秋茶室) was submitted?
CREATE TABLE table_17350255_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT AVG(points) FROM table_name_86 WHERE field_goals = 0 AND touchdowns > 9 AND extra_points = 0 AND player = "duncan thompson"
While Duncan Thompson played, how many points did he have where there were 0 field goals, 0 extra points, and more than 9 touchdowns?
CREATE TABLE table_name_86 (points INTEGER, player VARCHAR, extra_points VARCHAR, field_goals VARCHAR, touchdowns VARCHAR)
SELECT version FROM table_28540539_2 WHERE release = "1.0.4"
What's the version in the 1.0.4 release?
CREATE TABLE table_28540539_2 (version VARCHAR, release VARCHAR)
SELECT score FROM table_name_26 WHERE surface = "hard (i)" AND tournament = "columbus, ohio"
What score has hard (i) as the surface, and Columbus, Ohio as the tournament?
CREATE TABLE table_name_26 (score VARCHAR, surface VARCHAR, tournament VARCHAR)
SELECT candidates FROM table_1341577_50 WHERE first_elected = 1982
Who were the candidates that ran when Jim Moody was up for reelection after 1982?
CREATE TABLE table_1341577_50 (candidates VARCHAR, first_elected VARCHAR)
SELECT winning_driver FROM table_name_82 WHERE event = "200 miles of norisring"
Which Winning Driver has an Event of 200 miles of norisring?
CREATE TABLE table_name_82 (winning_driver VARCHAR, event VARCHAR)
SELECT country FROM table_name_64 WHERE area_in_m² = "7,914"
What country has area of 7,914 m²?
CREATE TABLE table_name_64 (country VARCHAR, area_in_m² VARCHAR)
SELECT Team, COUNT(*) FROM elimination GROUP BY Team
Show different teams in eliminations and the number of eliminations from each team.
CREATE TABLE elimination (Team VARCHAR)
SELECT province FROM table_name_49 WHERE period = "1941-1946"
Tell me the province of 1941-1946
CREATE TABLE table_name_49 (province VARCHAR, period VARCHAR)
SELECT area_damaged FROM table_23014685_1 WHERE target = "King Khalid Military City"
What area was damaged when King Khalid Military City was targeted?
CREATE TABLE table_23014685_1 (area_damaged VARCHAR, target VARCHAR)
SELECT team FROM table_17060277_7 WHERE high_assists = "Chris Duhon , Nate Robinson , David Lee (3)"
Name the team for chris duhon , nate robinson , david lee (3)
CREATE TABLE table_17060277_7 (team VARCHAR, high_assists VARCHAR)
SELECT episode FROM table_23122988_1 WHERE location = "Belfast Waterfront Hall"
What episode took place in Belfast Waterfront Hall?
CREATE TABLE table_23122988_1 (episode VARCHAR, location VARCHAR)
SELECT event FROM table_name_16 WHERE method = "submission (rear naked choke)" AND opponent = "karl knothe"
What event was the opponent Karl Knothe and had a submission (rear naked choke)?
CREATE TABLE table_name_16 (event VARCHAR, method VARCHAR, opponent VARCHAR)
SELECT opponent FROM table_23243769_4 WHERE opp_points = 44
What opponent got 44 points in their game?
CREATE TABLE table_23243769_4 (opponent VARCHAR, opp_points VARCHAR)
SELECT COUNT(episode_count) FROM table_name_13 WHERE actor = "liz carr"
How many Episode Counts have an Actor of liz carr?
CREATE TABLE table_name_13 (episode_count VARCHAR, actor VARCHAR)
SELECT main_contestant FROM table_name_29 WHERE total_score_week = "42/60" AND co_contestant__yaar_vs_pyaar_ = "tina sachdev"
Who is the main contestant with a total score/week of 42/60 and a co-contestant (Yaar vs. Pyaa) of Tina Sachdev?
CREATE TABLE table_name_29 (main_contestant VARCHAR, total_score_week VARCHAR, co_contestant__yaar_vs_pyaar_ VARCHAR)
SELECT MAX(rank) FROM table_name_98 WHERE points < 256.6
Which Rank is the highest one that has Points smaller than 256.6?
CREATE TABLE table_name_98 (rank INTEGER, points INTEGER)
SELECT date FROM table_name_93 WHERE game = 75
What was the date of game 75?
CREATE TABLE table_name_93 (date VARCHAR, game VARCHAR)
SELECT home FROM table_name_40 WHERE score = "2–7"
Name the Home with has a Score of 2–7?
CREATE TABLE table_name_40 (home VARCHAR, score VARCHAR)
SELECT dominant_religion__2002_ FROM table_2562572_35 WHERE type = "village" AND settlement = "Banatski Despotovac"
Name the dominant religion 2002 for village banatski despotovac
CREATE TABLE table_2562572_35 (dominant_religion__2002_ VARCHAR, type VARCHAR, settlement VARCHAR)
SELECT visitor FROM table_name_20 WHERE record = "3–18"
Whose Visitor has a Record of 3–18?
CREATE TABLE table_name_20 (visitor VARCHAR, record VARCHAR)
SELECT genre FROM table_name_47 WHERE developer_s_ = "naughty dog"
Which Genre has a Developer(s) of naughty dog?
CREATE TABLE table_name_47 (genre VARCHAR, developer_s_ VARCHAR)
SELECT T1.horsepower FROM CARS_DATA AS T1 ORDER BY T1.accelerate DESC LIMIT 1
What is the horsepower of the car with the largest accelerate?
CREATE TABLE CARS_DATA (horsepower VARCHAR, accelerate VARCHAR)
SELECT qual FROM table_name_25 WHERE year = "1960"
Name the qual for year of 1960
CREATE TABLE table_name_25 (qual VARCHAR, year VARCHAR)
SELECT MAX(poles) FROM table_22737506_1 WHERE pos = "19th"
When 19th is the position what is the highest amount of poles?
CREATE TABLE table_22737506_1 (poles INTEGER, pos VARCHAR)
SELECT location_attendance FROM table_name_68 WHERE date = "december 12"
What was the location and attendance for the game on December 12?
CREATE TABLE table_name_68 (location_attendance VARCHAR, date VARCHAR)
SELECT top_5 FROM table_2182562_1 WHERE avg_finish = "40.3"
What are the top 5 average finishes equalling 40.3?
CREATE TABLE table_2182562_1 (top_5 VARCHAR, avg_finish VARCHAR)
SELECT november FROM table_name_71 WHERE october = "jill de vries"
Who is in November where October is jill de vries?
CREATE TABLE table_name_71 (november VARCHAR, october VARCHAR)
SELECT release_date FROM table_name_85 WHERE title = "drip-along daffy"
What was the release date of the episode titled Drip-Along Daffy?
CREATE TABLE table_name_85 (release_date VARCHAR, title VARCHAR)
SELECT date_sent FROM table_name_71 WHERE constellation = "delphinus"
What is Date, when Constellation is "Delphinus"?
CREATE TABLE table_name_71 (date_sent VARCHAR, constellation VARCHAR)
SELECT callsign FROM table_name_8 WHERE area_served = "tamworth" AND frequency = "0 88.9"
What is the Callsign with an Area of tamworth and frequency of 0 88.9?
CREATE TABLE table_name_8 (callsign VARCHAR, area_served VARCHAR, frequency VARCHAR)
SELECT COUNT(season__number) FROM table_26804862_1 WHERE production_code = "3.89"
When 3.89 is the production code how many season numbers are there?
CREATE TABLE table_26804862_1 (season__number VARCHAR, production_code VARCHAR)
SELECT total_receipts FROM table_name_83 WHERE candidate = "mike gravel"
How many receipts does Mike Gravel have?
CREATE TABLE table_name_83 (total_receipts VARCHAR, candidate VARCHAR)
SELECT nation FROM table_22355_20 WHERE olympics = "1924–1928" AND bronze = 1
What is the nation who won 1 bronze in the Olympics during 1924–1928?
CREATE TABLE table_22355_20 (nation VARCHAR, olympics VARCHAR, bronze VARCHAR)
SELECT year FROM table_name_99 WHERE bb_ + hbp = 51
The year that has a BB + HBP of 51 is listed as?
CREATE TABLE table_name_99 (year VARCHAR, bb_ VARCHAR, hbp VARCHAR)
SELECT COUNT(isolation) FROM table_19716903_1 WHERE mountain_peak = "Jack Mountain"
How many different isolation numbers does the Jack Mountain peak have?
CREATE TABLE table_19716903_1 (isolation VARCHAR, mountain_peak VARCHAR)
SELECT episode_title FROM table_name_1 WHERE original_airdate = "march 31, 2008"
What is the title of the episode that originally aired on March 31, 2008?
CREATE TABLE table_name_1 (episode_title VARCHAR, original_airdate VARCHAR)
SELECT to_par FROM table_name_57 WHERE player = "steve elkington"
What was steve elkington's to par?
CREATE TABLE table_name_57 (to_par VARCHAR, player VARCHAR)
SELECT us_viewers__million_ FROM table_26702204_1 WHERE production_code = "4ALH19"
What was the u.s. viewers (millions) when the production code was 4alh19?
CREATE TABLE table_26702204_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
SELECT season_joined_league FROM table_name_54 WHERE seasons_at_this_level = "15 seasons"
What is the "season joined league" for the club that had 15 seasons at this level?
CREATE TABLE table_name_54 (season_joined_league VARCHAR, seasons_at_this_level VARCHAR)
SELECT chassis FROM table_name_76 WHERE engine = "alfa romeo flat-12"
Which chassis has an Alfa Romeo flat-12 engine.
CREATE TABLE table_name_76 (chassis VARCHAR, engine VARCHAR)
SELECT streak FROM table_name_18 WHERE date = "dec. 12"
What was the streak after the game on Dec. 12?
CREATE TABLE table_name_18 (streak VARCHAR, date VARCHAR)
SELECT COUNT(wounded) FROM table_2596811_12 WHERE complement = "22 off 637 men"
What is the number of wounded figures associated with a complement of 22 off 637 men?
CREATE TABLE table_2596811_12 (wounded VARCHAR, complement VARCHAR)
SELECT MAX(goals_for) FROM table_name_46 WHERE position > 10 AND goal_difference < -24 AND played > 30
What is the highest goals for the position after 10, a goal difference less than -24, and played more than 30 times?
CREATE TABLE table_name_46 (goals_for INTEGER, played VARCHAR, position VARCHAR, goal_difference VARCHAR)
SELECT song_choice FROM table_name_26 WHERE theme = "free choice" AND result = "through to bootcamp"
What was the song choice when the theme was free choice and Adeleye made it through to bootcamp?
CREATE TABLE table_name_26 (song_choice VARCHAR, theme VARCHAR, result VARCHAR)
SELECT position FROM table_name_95 WHERE points = 30 AND passenger = "reiner stuyvenberg"
Which position has 30 points and Reiner Stuyvenberg as a passenger?
CREATE TABLE table_name_95 (position VARCHAR, points VARCHAR, passenger VARCHAR)
SELECT surface FROM table_name_15 WHERE date = "july 26, 2010"
what is the surface on july 26, 2010?
CREATE TABLE table_name_15 (surface VARCHAR, date VARCHAR)
SELECT score FROM table_name_89 WHERE home_team = "york city"
What was the score when York City was home?
CREATE TABLE table_name_89 (score VARCHAR, home_team VARCHAR)
SELECT finish FROM table_name_20 WHERE total = 287
Name the Finish which has a Total of 287?
CREATE TABLE table_name_20 (finish VARCHAR, total VARCHAR)
SELECT year FROM table_name_56 WHERE champion = "akron goodyear wingfoots" AND runner_up = "real madrid"
What year was the International Cup that was won by Akron Goodyear Wingfoots and had Real Madrid as runner-up?
CREATE TABLE table_name_56 (year VARCHAR, champion VARCHAR, runner_up VARCHAR)
SELECT MAX(crowd) FROM table_name_38 WHERE venue = "windy hill"
What was the highest attendance of the matches that took place at Windy Hill?
CREATE TABLE table_name_38 (crowd INTEGER, venue VARCHAR)
SELECT nationality FROM table_1473672_3 WHERE nhl_team = "Philadelphia Flyers"
Which nationality is the player from the Philadelphia Flyers?
CREATE TABLE table_1473672_3 (nationality VARCHAR, nhl_team VARCHAR)
SELECT title FROM table_23916272_6 WHERE season__number = 8
List the title for the season episode number of 8.
CREATE TABLE table_23916272_6 (title VARCHAR, season__number VARCHAR)
SELECT willingshain FROM table_name_27 WHERE reimboldsh = "101"
What Willinghshain has Reimboldsh of 101?
CREATE TABLE table_name_27 (willingshain VARCHAR, reimboldsh VARCHAR)
SELECT unanimous FROM table_name_93 WHERE school = "minnesota southern california"
What is the Unanimous of the Minnesota Southern California School?
CREATE TABLE table_name_93 (unanimous VARCHAR, school VARCHAR)
SELECT MIN(game) FROM table_17326036_7 WHERE team = "Houston"
What is the lowest game number when the team is Houston?
CREATE TABLE table_17326036_7 (game INTEGER, team VARCHAR)
SELECT nato_us_dod_code FROM table_211791_1 WHERE nato_reporting_name = "SABBOT"
Name the nato/ us dod code for sabbot
CREATE TABLE table_211791_1 (nato_us_dod_code VARCHAR, nato_reporting_name VARCHAR)
SELECT name FROM table_name_5 WHERE roll > 26 AND area = "fairfield"
Which school has a roll larger than 26 and is located in Fairfield?
CREATE TABLE table_name_5 (name VARCHAR, roll VARCHAR, area VARCHAR)
SELECT COUNT(player) FROM table_11677691_2 WHERE college = "Oregon"
HOW MANY PLAYERS PLAY FOR OREGON?
CREATE TABLE table_11677691_2 (player VARCHAR, college VARCHAR)
SELECT game_site FROM table_25380472_2 WHERE team_record = "0–5"
On what game sites are there where the team record is 0–5?
CREATE TABLE table_25380472_2 (game_site VARCHAR, team_record VARCHAR)
SELECT opponent FROM table_name_66 WHERE date = "october 15, 1967"
What team was the opponent on October 15, 1967?
CREATE TABLE table_name_66 (opponent VARCHAR, date VARCHAR)
SELECT aspect_ratio FROM table_name_56 WHERE release_date = "september 1, 2009"
What is the aspect ratio for the September 1, 2009 release?
CREATE TABLE table_name_56 (aspect_ratio VARCHAR, release_date VARCHAR)
SELECT date FROM table_name_36 WHERE away_team = "essendon"
What is the date of the game where Essendon is the away team?
CREATE TABLE table_name_36 (date VARCHAR, away_team VARCHAR)
SELECT opposition FROM table_name_70 WHERE social_democrats__a_ = "31.1%"
What opposition do 31.1% of Social Democrats have?
CREATE TABLE table_name_70 (opposition VARCHAR, social_democrats__a_ VARCHAR)
SELECT 1 AS st_stage FROM table_16537783_2 WHERE parameter = "Diameter"
Name the 1st stage for parameter being diameter
CREATE TABLE table_16537783_2 (parameter VARCHAR)
SELECT COUNT(overall_attendance) FROM table_2771237_1 WHERE average_attendance = 17807
How many times was the overall attendance 17807?
CREATE TABLE table_2771237_1 (overall_attendance VARCHAR, average_attendance VARCHAR)
SELECT 1 AS st_leg FROM table_name_5 WHERE team_2 = "athletic"
WHAT IS THE 1ST LEG WITH TEAM 2 AS ATHLETIC?
CREATE TABLE table_name_5 (team_2 VARCHAR)
SELECT COUNT(round) FROM table_25773116_2 WHERE date = "May 8"
How many rounds were played on May 8?
CREATE TABLE table_25773116_2 (round VARCHAR, date VARCHAR)
SELECT days_held FROM table_name_2 WHERE reign = "1" AND wrestlers = "eden black"
What days held has 1 as the reign with eden black as the wrestlers?
CREATE TABLE table_name_2 (days_held VARCHAR, reign VARCHAR, wrestlers VARCHAR)
SELECT score FROM table_name_11 WHERE tie_no < 2
What was the score when the Tie no less than 2?
CREATE TABLE table_name_11 (score VARCHAR, tie_no INTEGER)
SELECT home_team FROM table_16388478_4 WHERE away_team = "Carlton"
Who was the home team when the away team is Carlton?
CREATE TABLE table_16388478_4 (home_team VARCHAR, away_team VARCHAR)
SELECT cyrillic_name_other_names FROM table_2562572_20 WHERE dominant_religion__2002_ = "Orthodox Christianity" AND type = "village" AND settlement = "Bačko Dobro Polje"
Name the cyrillic name for orthodox christianity village and bačko dobro polje
CREATE TABLE table_2562572_20 (cyrillic_name_other_names VARCHAR, settlement VARCHAR, dominant_religion__2002_ VARCHAR, type VARCHAR)
SELECT throws FROM table_name_77 WHERE first = "torey"
How many throws did Torey have?
CREATE TABLE table_name_77 (throws VARCHAR, first VARCHAR)
SELECT COUNT(no) FROM table_10015132_14 WHERE school_club_team = "Fordham"
How many number does Fordham school have?
CREATE TABLE table_10015132_14 (no VARCHAR, school_club_team VARCHAR)
SELECT result FROM table_1342233_3 WHERE incumbent = "Frank W. Boykin"
what the was the final in which frank w. boykin was running
CREATE TABLE table_1342233_3 (result VARCHAR, incumbent VARCHAR)
SELECT AVG(total) FROM table_name_94 WHERE bronze = 4 AND silver > 1
What is the average total medals of the nation with 4 bronze and more than 1 silver medals?
CREATE TABLE table_name_94 (total INTEGER, bronze VARCHAR, silver VARCHAR)
SELECT MAX(attendance) FROM table_name_18 WHERE record = "8–1" AND week > 9
Record of 8–1, and a Week larger than 9 had what highest attendance?
CREATE TABLE table_name_18 (attendance INTEGER, record VARCHAR, week VARCHAR)