answer
stringlengths
18
557
question
stringlengths
12
244
context
stringlengths
27
489
SELECT COUNT(team) FROM table_27755784_8 WHERE high_points = "David Lee (31)"
How many teams have hight points listed as David Lee (31)?
CREATE TABLE table_27755784_8 (team VARCHAR, high_points VARCHAR)
SELECT MIN(storeys) FROM table_13397394_1 WHERE address = "325 5th Ave N"
what is the minimum storeys on 325 5th ave n
CREATE TABLE table_13397394_1 (storeys INTEGER, address VARCHAR)
SELECT type FROM table_name_78 WHERE tunnel = "downhill"
What Type of Tunnel is the Downhill Tunnel?
CREATE TABLE table_name_78 (type VARCHAR, tunnel VARCHAR)
SELECT SUM(pick__number) FROM table_name_37 WHERE position = "d" AND player = "tim regan"
The player is Tim Regan and the pick # is position of d, what's the sum?
CREATE TABLE table_name_37 (pick__number INTEGER, position VARCHAR, player VARCHAR)
SELECT score_in_the_final FROM table_name_47 WHERE surface = "hard (i)" AND date = "october 22, 2000"
Which final score had a surface of hard (i) on October 22, 2000?
CREATE TABLE table_name_47 (score_in_the_final VARCHAR, surface VARCHAR, date VARCHAR)
SELECT us_viewers__million_ FROM table_14929574_3 WHERE directed_by = "David Nutter"
How many viewers did the episode directed by David Nutter draw in?
CREATE TABLE table_14929574_3 (us_viewers__million_ VARCHAR, directed_by VARCHAR)
SELECT record FROM table_name_41 WHERE date = "april 16"
What was the record on April 16?
CREATE TABLE table_name_41 (record VARCHAR, date VARCHAR)
SELECT COUNT(pick__number) FROM table_name_72 WHERE player = "scott deibert"
How many times is the player scott deibert?
CREATE TABLE table_name_72 (pick__number VARCHAR, player VARCHAR)
SELECT opponent FROM table_name_73 WHERE record = "93-54"
Who was the opponent at the game that had a record of 93-54?
CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR)
SELECT COUNT(status) FROM table_176529_2 WHERE official_name = "Moncton"
How many status are there for Moncton?
CREATE TABLE table_176529_2 (status VARCHAR, official_name VARCHAR)
SELECT label FROM table_name_14 WHERE country = "united kingdom" AND catalogue__number = "hvnlp26cd"
What is the Label of Catalogue # HVNLP26CD from United Kingdom?
CREATE TABLE table_name_14 (label VARCHAR, country VARCHAR, catalogue__number VARCHAR)
SELECT date FROM table_name_19 WHERE competition = "europe/africa zone, group i, round robin" AND result = "loss" AND location = "antalya" AND score = "1–2"
What date was the Competition of europe/africa zone, group i, round robin, with a result of loss, in Antalya, and a Score of 1–2?
CREATE TABLE table_name_19 (date VARCHAR, score VARCHAR, location VARCHAR, competition VARCHAR, result VARCHAR)
SELECT manufacturer FROM table_10007452_3 WHERE order_year = "1998"
who is the manufacturer for the order year 1998?
CREATE TABLE table_10007452_3 (manufacturer VARCHAR, order_year VARCHAR)
SELECT entrant FROM table_name_39 WHERE year = 1952
Name the entrant for year of 1952
CREATE TABLE table_name_39 (entrant VARCHAR, year VARCHAR)
SELECT european_cup FROM table_name_78 WHERE season = "1990-91"
Which European Cup is in the 1990-91 season?
CREATE TABLE table_name_78 (european_cup VARCHAR, season VARCHAR)
SELECT manufacturer FROM table_2266230_1 WHERE driver = "Cale Yarborough" AND year = "1984"
Name the manufacturer for cale yarborough for 1984
CREATE TABLE table_2266230_1 (manufacturer VARCHAR, driver VARCHAR, year VARCHAR)
SELECT COUNT(name) FROM table_22344463_2 WHERE weight = "78kg" AND home_team = "UMBC"
If the home team is UMBC and the weight is 78kg, what the the name total number?
CREATE TABLE table_22344463_2 (name VARCHAR, weight VARCHAR, home_team VARCHAR)
SELECT points_classification FROM table_name_64 WHERE stage = "1"
who is the points classification in stage 1?
CREATE TABLE table_name_64 (points_classification VARCHAR, stage VARCHAR)
SELECT lightweight FROM table_name_79 WHERE information_model = "no" AND flexible = "unknown"
What is the lightweight value with no information model and the flexible value is unknown?
CREATE TABLE table_name_79 (lightweight VARCHAR, information_model VARCHAR, flexible VARCHAR)
SELECT COUNT(week) FROM table_11465521_2 WHERE record = "3-6"
In which week was the game against a team with a record of 3-6 played?
CREATE TABLE table_11465521_2 (week VARCHAR, record VARCHAR)
SELECT date FROM table_name_87 WHERE record = "7.39"
What is the Date with a Record that is 7.39?
CREATE TABLE table_name_87 (date VARCHAR, record VARCHAR)
SELECT best FROM table_name_9 WHERE qual_2 = "1:44.050"
what team has the qual 2 of 1:44.050?
CREATE TABLE table_name_9 (best VARCHAR, qual_2 VARCHAR)
SELECT 02 AS _03 FROM table_name_33 WHERE school_year = "% learning in latvian"
What is 02-03, when School Year is % Learning In Latvian?
CREATE TABLE table_name_33 (school_year VARCHAR)
SELECT country FROM table_name_41 WHERE player = "ted schulz"
Which country has the player Ted Schulz?
CREATE TABLE table_name_41 (country VARCHAR, player VARCHAR)
SELECT score FROM table_name_58 WHERE opponent = "nina bratchikova"
What Score has an Opponent of nina bratchikova?
CREATE TABLE table_name_58 (score VARCHAR, opponent VARCHAR)
SELECT MAX(total) FROM table_name_71 WHERE to_par = 7
What is the highest total of the player with a 7 to par?
CREATE TABLE table_name_71 (total INTEGER, to_par VARCHAR)
SELECT MIN(place) FROM table_name_17 WHERE points > 2
What is the lowest Place, when Points are greater than 2?
CREATE TABLE table_name_17 (place INTEGER, points INTEGER)
SELECT college FROM table_name_90 WHERE round > 4 AND overall < 237 AND name = "ted cottrell"
Which college's round is more than 4, when the overall is less than 237 and Ted Cottrell was the name?
CREATE TABLE table_name_90 (college VARCHAR, name VARCHAR, round VARCHAR, overall VARCHAR)
SELECT outcome FROM table_name_86 WHERE score = "6–4, 2–6, 6–3"
Which Outcome has a Score of 6–4, 2–6, 6–3?
CREATE TABLE table_name_86 (outcome VARCHAR, score VARCHAR)
SELECT time FROM table_name_26 WHERE event = "50m freestyle"
What time was the 50m freestyle event?
CREATE TABLE table_name_26 (time VARCHAR, event VARCHAR)
SELECT james_e_holmes FROM table_25330991_3 WHERE western_rockingham_middle_school = "Duane Hensley"
Name the james e. holmes for duane hensley
CREATE TABLE table_25330991_3 (james_e_holmes VARCHAR, western_rockingham_middle_school VARCHAR)
SELECT game FROM table_name_74 WHERE score = "122–125"
Which Game has a Score of 122–125?
CREATE TABLE table_name_74 (game VARCHAR, score VARCHAR)
SELECT date FROM table_17120964_6 WHERE man_of_the_match = "Stuart Potts"
On what day was Stuart Potts the Man of the Match?
CREATE TABLE table_17120964_6 (date VARCHAR, man_of_the_match VARCHAR)
SELECT city_of_license__market FROM table_name_61 WHERE station = "kdka-tv"
What is the city containing the KDKA-TV station?
CREATE TABLE table_name_61 (city_of_license__market VARCHAR, station VARCHAR)
SELECT date FROM table_name_40 WHERE venue = "princes park"
What is the date of the game when the venue is Princes Park?
CREATE TABLE table_name_40 (date VARCHAR, venue VARCHAR)
SELECT overall_record FROM table_22825679_1 WHERE road_record = "4-3"
Name the overall record for road record being 4-3
CREATE TABLE table_22825679_1 (overall_record VARCHAR, road_record VARCHAR)
SELECT MAX(first_elected) FROM table_1341423_38 WHERE incumbent = "Jim Greenwood"
What's the first elected year of the district whose incumbent is Jim Greenwood?
CREATE TABLE table_1341423_38 (first_elected INTEGER, incumbent VARCHAR)
SELECT casting_at__Β°c_ FROM table_name_88 WHERE hardness = "22"
What is the casting temperature for a hardness of 22?
CREATE TABLE table_name_88 (casting_at__Β°c_ VARCHAR, hardness VARCHAR)
SELECT authority FROM table_name_46 WHERE roll = 96
What is the authority for roll of 96?
CREATE TABLE table_name_46 (authority VARCHAR, roll VARCHAR)
SELECT visitor FROM table_name_78 WHERE home = "montreal canadiens" AND record = "6–4–4"
What is the Visitor of the Montreal Canadiens Home game with a Record of 6–4–4?
CREATE TABLE table_name_78 (visitor VARCHAR, home VARCHAR, record VARCHAR)
SELECT date FROM table_name_28 WHERE team = "@ detroit"
What date was the team @ Detroit?
CREATE TABLE table_name_28 (date VARCHAR, team VARCHAR)
SELECT poll_source FROM table_name_5 WHERE pat_toomey = "23%"
Which Poll source has Pat Toomey of 23%?
CREATE TABLE table_name_5 (poll_source VARCHAR, pat_toomey VARCHAR)
SELECT MIN(three_pointers) FROM table_22993636_5 WHERE steals = 52
What is the lowest number of 3 pointers that occured in games with 52 steals?
CREATE TABLE table_22993636_5 (three_pointers INTEGER, steals VARCHAR)
SELECT athlete FROM table_name_1 WHERE round_3 = "did not advance" AND event = "76 kg"
Which athlete in the 76 kg class, did not advance at the end of Round 3.
CREATE TABLE table_name_1 (athlete VARCHAR, round_3 VARCHAR, event VARCHAR)
SELECT birth FROM table_name_52 WHERE became_duchess = "18 august 1593 husband's accession"
What is the Birth of the lady that has a Became Duchess on 18 august 1593 husband's accession?
CREATE TABLE table_name_52 (birth VARCHAR, became_duchess VARCHAR)
SELECT 1987 FROM table_name_81 WHERE 1989 = "a" AND 1986 = "3r"
What was the 1987 result for the tournament with 1986 result of 3R and 1989 of A?
CREATE TABLE table_name_81 (Id VARCHAR)
SELECT elevation_ + _height FROM table_name_96 WHERE delivery = "barge" AND location = "bikini, yurochi aka irioj (dog)"
Which Elevation + Height has a Delivery of barge and a Location of bikini, yurochi aka irioj (dog)?
CREATE TABLE table_name_96 (elevation_ VARCHAR, _height VARCHAR, delivery VARCHAR, location VARCHAR)
SELECT MAX(rank) FROM table_name_89 WHERE time = 53.33
With a time of 53.33, who ranked the highest?
CREATE TABLE table_name_89 (rank INTEGER, time VARCHAR)
SELECT position FROM table_name_89 WHERE school_club_team = "winston-salem state"
What position does the player from Winston-Salem State play?
CREATE TABLE table_name_89 (position VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_32 WHERE round = "7" AND mwehl_team = "detroit honeybaked" AND nhl_team = "philadelphia flyers"
Who was the player in Round 7, on the MWEHL Team Detroit Honeybaked, and the NHL Team, Philadelphia Flyers teams?
CREATE TABLE table_name_32 (player VARCHAR, nhl_team VARCHAR, round VARCHAR, mwehl_team VARCHAR)
SELECT school_club_team FROM table_name_36 WHERE player = "michael bradley"
Which School/Club Team has a Player of michael bradley?
CREATE TABLE table_name_36 (school_club_team VARCHAR, player VARCHAR)
SELECT chassis FROM table_name_47 WHERE year = 1977
Can you tell me the Chassis that has the Year of 1977?
CREATE TABLE table_name_47 (chassis VARCHAR, year VARCHAR)
SELECT MAX(number) FROM table_12113888_1
What is the highest number listed?
CREATE TABLE table_12113888_1 (number INTEGER)
SELECT station_type FROM table_28794440_1 WHERE frequency = "972kHz"
What type of station is within the 972khz frequency?
CREATE TABLE table_28794440_1 (station_type VARCHAR, frequency VARCHAR)
SELECT game FROM table_name_50 WHERE date = "april 27"
What was the game number that took place on April 27?
CREATE TABLE table_name_50 (game VARCHAR, date VARCHAR)
SELECT home_leg FROM table_2214582_3 WHERE opponents = "Partizani Tirana"
What was the home leg score against partizani tirana?
CREATE TABLE table_2214582_3 (home_leg VARCHAR, opponents VARCHAR)
SELECT issue_date_s_ FROM table_name_54 WHERE artist = "jennifer lopez"
What date did the song by jennifer lopez get issued?
CREATE TABLE table_name_54 (issue_date_s_ VARCHAR, artist VARCHAR)
SELECT player FROM table_18862490_2 WHERE score = 64 - 70 - 67 - 69 = 270
What player(s) had the score of 64-70-67-69=270?
CREATE TABLE table_18862490_2 (player VARCHAR, score VARCHAR)
SELECT first_aired FROM table_name_15 WHERE entrepreneur_s_ = "richard ernest"
What episode featured entrepreneur Richard Ernest?
CREATE TABLE table_name_15 (first_aired VARCHAR, entrepreneur_s_ VARCHAR)
SELECT polling_firm FROM table_name_89 WHERE green < 13 AND date_of_polling = "june 21–22, 2011"
What june 21–22, 2011 polling has green smaller than 13?
CREATE TABLE table_name_89 (polling_firm VARCHAR, green VARCHAR, date_of_polling VARCHAR)
SELECT partner FROM table_name_24 WHERE opponents = "wayne arthurs sandon stolle"
Which Partner has an Opponents of wayne arthurs sandon stolle?
CREATE TABLE table_name_24 (partner VARCHAR, opponents VARCHAR)
SELECT COUNT(nickname) FROM table_11604804_5 WHERE founded = 1918
What was the number of nickname founded 1918?
CREATE TABLE table_11604804_5 (nickname VARCHAR, founded VARCHAR)
SELECT MIN(round) FROM table_name_50 WHERE stadium = "members equity stadium" AND attendance < 12 OFFSET 581
What is the least round for the game played at Members Equity Stadium in from of 12,581 people?
CREATE TABLE table_name_50 (round INTEGER, stadium VARCHAR, attendance VARCHAR)
SELECT position FROM table_name_5 WHERE round = 7 AND pick__number < 214
What position has 7 as the round, with a pick # less than 214?
CREATE TABLE table_name_5 (position VARCHAR, round VARCHAR, pick__number VARCHAR)
SELECT weight FROM table_name_63 WHERE born = "1980"
What is the weight of the person born in 1980?
CREATE TABLE table_name_63 (weight VARCHAR, born VARCHAR)
SELECT to_winning_team FROM table_13657883_2 WHERE tu_winning_team = "#16 2002"
What was the to winnning team when the tu winning team was #16 2002?
CREATE TABLE table_13657883_2 (to_winning_team VARCHAR, tu_winning_team VARCHAR)
SELECT average FROM table_23465011_5 WHERE couple = "Anh & Luda"
What is the average for the couple anh & luda?
CREATE TABLE table_23465011_5 (average VARCHAR, couple VARCHAR)
SELECT name, LOCATION, seating FROM track ORDER BY year_opened DESC LIMIT 1
What is the name, location and seating for the most recently opened track?
CREATE TABLE track (name VARCHAR, LOCATION VARCHAR, seating VARCHAR, year_opened VARCHAR)
SELECT name FROM table_name_16 WHERE area = "eketahuna"
Tell me the name with area of eketahuna
CREATE TABLE table_name_16 (name VARCHAR, area VARCHAR)
SELECT week_12 FROM table_name_10 WHERE week_9 = "walked (day 11)"
Who was the week 12 nomination when the week 9 nomination walked (day 11)?
CREATE TABLE table_name_10 (week_12 VARCHAR, week_9 VARCHAR)
SELECT elected FROM table_27021001_1 WHERE incumbent = "Cynthia McKinney"
What is the year elected for incumbent Cynthia Mckinney?
CREATE TABLE table_27021001_1 (elected VARCHAR, incumbent VARCHAR)
SELECT MIN(league_goals) FROM table_name_84 WHERE fa_cup_goals = "0" AND fa_cup_apps = "0" AND position = "df" AND total_apps = "3"
Who has the lowest league total goals with 0 FA cup goals and no FA cup appearances, plays the DF position and has appeared in total of 3 times?
CREATE TABLE table_name_84 (league_goals INTEGER, total_apps VARCHAR, position VARCHAR, fa_cup_goals VARCHAR, fa_cup_apps VARCHAR)
SELECT events_won_by_kcl FROM table_name_74 WHERE winner = "kclms" AND events_won_by_kclMS < 10 AND year = 2008
Which event won by KCLMS in 2008 has KCLMS as the winner and less than 10 wins by KCL?
CREATE TABLE table_name_74 (events_won_by_kcl VARCHAR, year VARCHAR, winner VARCHAR, events_won_by_kclMS VARCHAR)
SELECT MIN(games) FROM table_name_70 WHERE team = "aris thessaloniki" AND points < 120
What is the lowest game number with Aris Thessaloniki with points smaller than 120?
CREATE TABLE table_name_70 (games INTEGER, team VARCHAR, points VARCHAR)
SELECT city___state FROM table_name_87 WHERE winner = "russell ingall larry perkins"
What is the city/state of the circuit where Russell Ingall Larry Perkins was the winner?
CREATE TABLE table_name_87 (city___state VARCHAR, winner VARCHAR)
SELECT player FROM table_22875514_3 WHERE field_goals = "18-50 .360"
Which player has 18-50 .360 field goals?
CREATE TABLE table_22875514_3 (player VARCHAR, field_goals VARCHAR)
SELECT team__number2 FROM table_21434618_1 WHERE team__number1 = "Poseidon Neoi Porroi"
which team#2 played against poseidon neoi porroi
CREATE TABLE table_21434618_1 (team__number2 VARCHAR, team__number1 VARCHAR)
SELECT AVG(crowd) FROM table_name_86 WHERE venue = "arden street oval"
How many attended the game at Arden Street Oval?
CREATE TABLE table_name_86 (crowd INTEGER, venue VARCHAR)
SELECT COUNT(driver) FROM table_17319931_1 WHERE team = "SAMAX Motorsport"
How many drivers were there for Samax Motorsport?
CREATE TABLE table_17319931_1 (driver VARCHAR, team VARCHAR)
SELECT tournament FROM table_11603267_1 WHERE location = "Arizona"
Name the tournament for arizona
CREATE TABLE table_11603267_1 (tournament VARCHAR, location VARCHAR)
SELECT role FROM table_name_35 WHERE theatre = "festival theatre"
Tell me the role of festival theatre
CREATE TABLE table_name_35 (role VARCHAR, theatre VARCHAR)
SELECT october FROM table_name_61 WHERE november = "carina ragnarsson"
Who is in October when Carina Ragnarsson is in November?
CREATE TABLE table_name_61 (october VARCHAR, november VARCHAR)
SELECT incumbent FROM table_name_45 WHERE party = "democratic" AND results = "re-elected" AND first_elected > 1992 AND district = "new york 1"
Who is the Incumbent of the Democratic Party at an election after 1992 in the New York 1 District who was Re-elected?
CREATE TABLE table_name_45 (incumbent VARCHAR, district VARCHAR, first_elected VARCHAR, party VARCHAR, results VARCHAR)
SELECT COUNT(wchmp) FROM table_name_35 WHERE race > 42 AND pole > 11
What's the WChmp of the race greater than 42 and pole greater than 11?
CREATE TABLE table_name_35 (wchmp VARCHAR, race VARCHAR, pole VARCHAR)
SELECT winning_team FROM table_name_31 WHERE losing_pitcher = "juan dominguez"
What winning team has a losing pitcher of Juan Dominguez?
CREATE TABLE table_name_31 (winning_team VARCHAR, losing_pitcher VARCHAR)
SELECT zip_code FROM weather GROUP BY zip_code ORDER BY AVG(mean_sea_level_pressure_inches) LIMIT 1
What is the zip code in which the average mean sea level pressure is the lowest?
CREATE TABLE weather (zip_code VARCHAR, mean_sea_level_pressure_inches INTEGER)
SELECT school_year FROM table_name_19 WHERE cross_country = "wooster"
What is School Year, when Cross Country is Wooster?
CREATE TABLE table_name_19 (school_year VARCHAR, cross_country VARCHAR)
SELECT score FROM table_name_16 WHERE tie_no = "16"
What was the score in Tie number 16?
CREATE TABLE table_name_16 (score VARCHAR, tie_no VARCHAR)
SELECT home_team FROM table_name_17 WHERE away_team = "collingwood"
What is the name of the home team that played against Collingwood?
CREATE TABLE table_name_17 (home_team VARCHAR, away_team VARCHAR)
SELECT built FROM table_12113888_1 WHERE scrapped_sold = "Cannot handle non-empty timestamp argument! 1947"
What is the built data on the scrapped information that is cannot handle non-empty timestamp argument! 1947?
CREATE TABLE table_12113888_1 (built VARCHAR, scrapped_sold VARCHAR)
SELECT year_introduced_mrwa FROM table_name_76 WHERE wheel_arrangement = "4-6-2"
What was the year the MRWA with a wheel arrangement of 4-6-2 was introduced?
CREATE TABLE table_name_76 (year_introduced_mrwa VARCHAR, wheel_arrangement VARCHAR)
SELECT tournament FROM table_name_53 WHERE opponent_in_the_final = "lubomira bacheva"
Which tournament had Lubomira Bacheva as the opponent in the final?
CREATE TABLE table_name_53 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT language FROM table_name_87 WHERE genre = "movies" AND service = "sky" AND network = "ump movies"
What language is the moviein that is on UMP movies network through Sky service?
CREATE TABLE table_name_87 (language VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR)
SELECT position FROM table_10015132_21 WHERE player = "Loren Woods"
Which position does Loren Woods play?
CREATE TABLE table_10015132_21 (position VARCHAR, player VARCHAR)
SELECT MAX(gold) FROM table_name_96 WHERE rank < 6 AND silver = 1 AND total > 4
What is the most gold medals that a team ranked higher than 6, have 1 silver medal, and more than 4 total medals have?
CREATE TABLE table_name_96 (gold INTEGER, total VARCHAR, rank VARCHAR, silver VARCHAR)
SELECT COUNT(overall) FROM table_name_27 WHERE position = "db" AND round > 8
WHAT WAS THE OVERALL NUMBER WITH A POSITON OF DB, AND ROUND GREATER THAN 8?
CREATE TABLE table_name_27 (overall VARCHAR, position VARCHAR, round 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 SUM(year) FROM table_name_84 WHERE award = "outer critics circle award" AND nominee = "nathan lane"
What is the sum of Year, when Award is "Outer Critics Circle Award", and when Nominee is "Nathan Lane"?
CREATE TABLE table_name_84 (year INTEGER, award VARCHAR, nominee VARCHAR)
SELECT city FROM table_name_7 WHERE host = "northeast louisiana university"
What city is the Northeast Louisiana University located in?
CREATE TABLE table_name_7 (city VARCHAR, host VARCHAR)
SELECT position FROM table_21321804_5 WHERE player = "Marc Parenteau"
What is Marc Parenteau's position?
CREATE TABLE table_21321804_5 (position VARCHAR, player VARCHAR)