question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
Which Game is the highest one that has a Score of 3–4 ot, and Points larger than 75?
CREATE TABLE table_name_96 (game INTEGER, score VARCHAR, points VARCHAR)
SELECT MAX(game) FROM table_name_96 WHERE score = "3–4 ot" AND points > 75
What was the game date when the opponent was Houston?
CREATE TABLE table_name_8 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_8 WHERE opponent = "houston"
What gender has a local board of albert–eden with a roll of more than 232 and Decile of 5?
CREATE TABLE table_name_49 (gender VARCHAR, decile VARCHAR, local_board VARCHAR, roll VARCHAR)
SELECT gender FROM table_name_49 WHERE local_board = "albert–eden" AND roll > 232 AND decile = "5"
Where was the game played on 30 May 2004?
CREATE TABLE table_name_6 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_6 WHERE date = "30 may 2004"
How much did they lose by on April 26?
CREATE TABLE table_name_67 (loss VARCHAR, date VARCHAR)
SELECT loss FROM table_name_67 WHERE date = "april 26"
If the call sign is w291ch what's the ERP W corresponding to that sign?
CREATE TABLE table_name_38 (erp_w VARCHAR, call_sign VARCHAR)
SELECT erp_w FROM table_name_38 WHERE call_sign = "w291ch"
Latest cap of september 5, 2011 had how many goals?
CREATE TABLE table_name_39 (goals VARCHAR, latest_cap VARCHAR)
SELECT goals FROM table_name_39 WHERE latest_cap = "september 5, 2011"
How many Extra points have Touchdowns of 1, and a Player of ross kidston, and Points smaller than 5?
CREATE TABLE table_name_92 (extra_points INTEGER, points VARCHAR, touchdowns VARCHAR, player VARCHAR)
SELECT SUM(extra_points) FROM table_name_92 WHERE touchdowns = 1 AND player = "ross kidston" AND points < 5
What was the score for the April 12 game?
CREATE TABLE table_name_73 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_73 WHERE date = "april 12"
display all the information of those employees who did not have any job in the past.
CREATE TABLE job_history (employee_id VARCHAR); CREATE TABLE employees (employee_id VARCHAR)
SELECT * FROM employees WHERE NOT employee_id IN (SELECT employee_id FROM job_history)
Which players plays at Akron College?
CREATE TABLE table_name_25 (player VARCHAR, college VARCHAR)
SELECT player FROM table_name_25 WHERE college = "akron"
what is the place for gary player?
CREATE TABLE table_name_98 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_98 WHERE player = "gary player"
What series did the racer earn 68 points in?
CREATE TABLE table_24585157_1 (series VARCHAR, points VARCHAR)
SELECT series FROM table_24585157_1 WHERE points = "68"
What is the 2009 when there's 11.8 in 2005 and less than 12.6 in 2006?
CREATE TABLE table_name_45 (Id VARCHAR)
SELECT MIN(2009) FROM table_name_45 WHERE 2005 = 11.8 AND 2006 < 12.6
What is the date of the match for the wbc flyweight (112) title?
CREATE TABLE table_12262182_2 (date VARCHAR, titles VARCHAR)
SELECT date FROM table_12262182_2 WHERE titles = "WBC Flyweight (112)"
How many teams listed for game 45?
CREATE TABLE table_27721131_8 (team VARCHAR, game VARCHAR)
SELECT COUNT(team) FROM table_27721131_8 WHERE game = 45
State the dates of games with record 1-2-3
CREATE TABLE table_17360840_4 (date VARCHAR, record VARCHAR)
SELECT date FROM table_17360840_4 WHERE record = "1-2-3"
How many clubs are located at "HHH"?
CREATE TABLE club (clublocation VARCHAR)
SELECT COUNT(*) FROM club WHERE clublocation = "HHH"
What is the total number of FA Cup Goals, when FLT Goals is greater than 0?
CREATE TABLE table_name_47 (fa_cup_goals VARCHAR, flt_goals INTEGER)
SELECT COUNT(fa_cup_goals) FROM table_name_47 WHERE flt_goals > 0
What date did they play the Florida Panthers?
CREATE TABLE table_23486853_3 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_23486853_3 WHERE opponent = "Florida Panthers"
How many episodes with the production code CA106 are there?
CREATE TABLE table_25740548_2 (written_by VARCHAR, production_code VARCHAR)
SELECT COUNT(written_by) FROM table_25740548_2 WHERE production_code = "CA106"
When was Jonny Leadbeater President?
CREATE TABLE table_16446652_1 (season VARCHAR, president VARCHAR)
SELECT season FROM table_16446652_1 WHERE president = "Jonny Leadbeater"
What is the largest caps value for Glen Moss?
CREATE TABLE table_name_50 (caps INTEGER, player VARCHAR)
SELECT MAX(caps) FROM table_name_50 WHERE player = "glen moss"
Tell me the label for US region and catalog of 10008-2
CREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, catalog VARCHAR)
SELECT label FROM table_name_2 WHERE region = "us" AND catalog = "10008-2"
Which Points have a Position larger than 6, and a Lost smaller than 13?
CREATE TABLE table_name_98 (points INTEGER, position VARCHAR, lost VARCHAR)
SELECT AVG(points) FROM table_name_98 WHERE position > 6 AND lost < 13
What were the number of sales before 1991?
CREATE TABLE table_name_59 (sales VARCHAR, year INTEGER)
SELECT sales FROM table_name_59 WHERE year < 1991
Name the womens doubles when mens doubles is theodoros velkos giorgos patis
CREATE TABLE table_14903881_1 (womens_doubles VARCHAR, mens_doubles VARCHAR)
SELECT womens_doubles FROM table_14903881_1 WHERE mens_doubles = "Theodoros Velkos Giorgos Patis"
What is the IUNC of district of Cayo and reserve of Actun Tunichil Muknal?
CREATE TABLE table_name_84 (iucn VARCHAR, district VARCHAR, reserve VARCHAR)
SELECT iucn FROM table_name_84 WHERE district = "cayo" AND reserve = "actun tunichil muknal"
What is the 20 year for Sulfur Hexafluoride?
CREATE TABLE table_21350772_2 (gas_name VARCHAR)
SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Sulfur hexafluoride"
In which venue did the competition on 11 October 2008 take place?
CREATE TABLE table_name_47 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_47 WHERE date = "11 october 2008"
In the district of Pennsylvania 1, what is the total number of political parties?
CREATE TABLE table_1805191_39 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_1805191_39 WHERE district = "Pennsylvania 1"
If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number?
CREATE TABLE table_25220821_3 (rider VARCHAR, tues_1_june VARCHAR)
SELECT COUNT(rider) FROM table_25220821_3 WHERE tues_1_june = "21' 05.27 107.351mph"
What round had the opponent Lyon?
CREATE TABLE table_name_1 (round VARCHAR, opposition VARCHAR)
SELECT round FROM table_name_1 WHERE opposition = "lyon"
Who was second for the United States team?
CREATE TABLE table_name_35 (second VARCHAR, nation VARCHAR)
SELECT second FROM table_name_35 WHERE nation = "united states"
What is the time when the opponent is stephanie palmer?
CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR)
SELECT time FROM table_name_27 WHERE opponent = "stephanie palmer"
what was the reason Richard K. Meade ( d ) became a successor?
CREATE TABLE table_228439_4 (reason_for_change VARCHAR, successor VARCHAR)
SELECT reason_for_change FROM table_228439_4 WHERE successor = "Richard K. Meade ( D )"
Who was the home team that played against Collingwood?
CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_90 WHERE away_team = "collingwood"
What is the Week 1 result of Colorado State?
CREATE TABLE table_name_15 (week_1_sept_7 VARCHAR, preseason VARCHAR)
SELECT week_1_sept_7 FROM table_name_15 WHERE preseason = "colorado state"
On what date is there a Tryre of d at the Circuit of monaco?
CREATE TABLE table_name_91 (date VARCHAR, tyre VARCHAR, circuit VARCHAR)
SELECT date FROM table_name_91 WHERE tyre = "d" AND circuit = "monaco"
Who won the game at Dairy farmers stadium with a score of 28-24?
CREATE TABLE table_name_66 (result VARCHAR, venue VARCHAR, score VARCHAR)
SELECT result FROM table_name_66 WHERE venue = "dairy farmers stadium" AND score = "28-24"
What season had a .439 Win% in the 1996-97 Team?
CREATE TABLE table_name_39 (season VARCHAR, win_percentage VARCHAR, team VARCHAR)
SELECT season FROM table_name_39 WHERE win_percentage = ".439" AND team = "1996-97"
Which Draws have Losses larger than 16, and a Season larger than 1966?
CREATE TABLE table_name_53 (draws INTEGER, losses VARCHAR, season VARCHAR)
SELECT SUM(draws) FROM table_name_53 WHERE losses > 16 AND season > 1966
What Engine has a Power of 114hp (85kw)?
CREATE TABLE table_name_72 (engine VARCHAR, power VARCHAR)
SELECT engine FROM table_name_72 WHERE power = "114hp (85kw)"
On October 8, what city was the game played?
CREATE TABLE table_name_82 (city VARCHAR, date VARCHAR)
SELECT city FROM table_name_82 WHERE date = "october 8"
Who was the player who was pick number 147?
CREATE TABLE table_name_40 (player VARCHAR, pick VARCHAR)
SELECT player FROM table_name_40 WHERE pick = 147
How many rounds were fought with opponent Kevin Roddy?
CREATE TABLE table_name_54 (round VARCHAR, opponent VARCHAR)
SELECT COUNT(round) FROM table_name_54 WHERE opponent = "kevin roddy"
What is the position of the pittsburgh steelers?
CREATE TABLE table_name_29 (position VARCHAR, nfl_club VARCHAR)
SELECT position FROM table_name_29 WHERE nfl_club = "pittsburgh steelers"
Who is the manager of club fc twente?
CREATE TABLE table_name_48 (manager VARCHAR, club VARCHAR)
SELECT manager FROM table_name_48 WHERE club = "fc twente"
What is the name of the couple if the total points earned is 161?
CREATE TABLE table_23662272_4 (couple VARCHAR, total_points_earned VARCHAR)
SELECT couple FROM table_23662272_4 WHERE total_points_earned = 161
What was the TV time for the road game against Phoenix where the score was 98-99?
CREATE TABLE table_name_30 (tv_time VARCHAR, home_team VARCHAR, result VARCHAR)
SELECT tv_time FROM table_name_30 WHERE home_team = "phoenix" AND result = "98-99"
Against Opponent in the Final Ivan Lendl, on a Surface of clay, with an Outcome of runner-up, where was the Championship?
CREATE TABLE table_name_89 (championship VARCHAR, opponent_in_the_final VARCHAR, outcome VARCHAR, surface VARCHAR)
SELECT championship FROM table_name_89 WHERE outcome = "runner-up" AND surface = "clay" AND opponent_in_the_final = "ivan lendl"
Where was the game against the buffalo sabres?
CREATE TABLE table_name_27 (location VARCHAR, opponent VARCHAR)
SELECT location FROM table_name_27 WHERE opponent = "buffalo sabres"
What is the title for season 2?
CREATE TABLE table_11630008_4 (title VARCHAR, season_no VARCHAR)
SELECT title FROM table_11630008_4 WHERE season_no = 2
What was the date of the footscray home game?
CREATE TABLE table_name_46 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_46 WHERE home_team = "footscray"
What's the sum of WIns with Draws that's larger than 1, Losses that's smaller than 4, and Conceded of 20?
CREATE TABLE table_name_82 (wins INTEGER, conceded VARCHAR, draws VARCHAR, losses VARCHAR)
SELECT SUM(wins) FROM table_name_82 WHERE draws > 1 AND losses < 4 AND conceded = 20
How many candidates are there?
CREATE TABLE candidate (Id VARCHAR)
SELECT COUNT(*) FROM candidate
What is the Year born (Age) for the player who is taller than 2.04 and currently plays for the Los Angeles Clippers?
CREATE TABLE table_name_93 (year_born__age_ VARCHAR, height VARCHAR, current_club VARCHAR)
SELECT year_born__age_ FROM table_name_93 WHERE height > 2.04 AND current_club = "los angeles clippers"
When dxrt-tv is the callsign what is the power kw?
CREATE TABLE table_23394920_1 (power_kw VARCHAR, callsign VARCHAR)
SELECT power_kw FROM table_23394920_1 WHERE callsign = "DXRT-TV"
what is the total scored for the 8th position and a score more than 6.6
CREATE TABLE table_name_8 (total INTEGER, position VARCHAR, a_score VARCHAR)
SELECT MAX(total) FROM table_name_8 WHERE position = "8th" AND a_score > 6.6
What is the total for the year (s) won in 1977?
CREATE TABLE table_name_99 (total VARCHAR, year_s__won VARCHAR)
SELECT total FROM table_name_99 WHERE year_s__won = "1977"
What are the lowest conceded with 1 draw, and a score larger than 14?
CREATE TABLE table_name_71 (conceded INTEGER, draws VARCHAR, scored VARCHAR)
SELECT MIN(conceded) FROM table_name_71 WHERE draws = 1 AND scored > 14
Which Location Attendance has a Date of february 27?
CREATE TABLE table_name_46 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_46 WHERE date = "february 27"
What was the score of the away team when Richmond played?
CREATE TABLE table_name_85 (away_team VARCHAR)
SELECT away_team AS score FROM table_name_85 WHERE away_team = "richmond"
What is the original air date of the episode that was directed by David Paymer?
CREATE TABLE table_23399481_2 (original_air_date VARCHAR, directed_by VARCHAR)
SELECT original_air_date FROM table_23399481_2 WHERE directed_by = "David Paymer"
How many joined when the enrollment was 1150 in Sioux City, Iowa?
CREATE TABLE table_262508_1 (joined VARCHAR, enrollment VARCHAR, location VARCHAR)
SELECT joined FROM table_262508_1 WHERE enrollment = 1150 AND location = "Sioux City, Iowa"
Which Record has a Method of submission (heel hook), a Round larger than 1, and a Time of 2:28?
CREATE TABLE table_name_32 (record VARCHAR, time VARCHAR, method VARCHAR, round VARCHAR)
SELECT record FROM table_name_32 WHERE method = "submission (heel hook)" AND round > 1 AND time = "2:28"
Where has a Rules of thai boxing, and a Round of n/a, and an Opponent of everton crawford?
CREATE TABLE table_name_99 (location VARCHAR, opponent VARCHAR, rules VARCHAR, round VARCHAR)
SELECT location FROM table_name_99 WHERE rules = "thai boxing" AND round = "n/a" AND opponent = "everton crawford"
What is the capacity for the arena in Chester?
CREATE TABLE table_name_97 (capacity VARCHAR, city_area VARCHAR)
SELECT capacity FROM table_name_97 WHERE city_area = "chester"
Round of 2r, and a Home result of 0-0 has what season?
CREATE TABLE table_name_24 (season VARCHAR, round VARCHAR, home_result VARCHAR)
SELECT season FROM table_name_24 WHERE round = "2r" AND home_result = "0-0"
What is the average number of losses for teams with under 4 losses and under 21 points?
CREATE TABLE table_name_95 (drawn INTEGER, lost VARCHAR, points VARCHAR)
SELECT AVG(drawn) FROM table_name_95 WHERE lost < 4 AND points < 21
What party won with a margin of 105731?
CREATE TABLE table_22756549_1 (party VARCHAR, margin VARCHAR)
SELECT party FROM table_22756549_1 WHERE margin = 105731
Name the number of song for solydo
CREATE TABLE table_19763199_5 (song VARCHAR, artist VARCHAR)
SELECT COUNT(song) FROM table_19763199_5 WHERE artist = "Solydo"
what stadium has a prior record of 7th?
CREATE TABLE table_name_8 (stadium VARCHAR, past_season VARCHAR)
SELECT stadium FROM table_name_8 WHERE past_season = "7th"
What shows for Sergey Filimonov (KAZ) when the Snatch shows snatch?
CREATE TABLE table_name_69 (sergey_filimonov___kaz__ VARCHAR)
SELECT sergey_filimonov___kaz__ FROM table_name_69 WHERE "snatch" = "snatch"
What is Albany, when Buffalo is Oatka Creek Shale, and when Syracuse is Cardiff Dark Gray Shale?
CREATE TABLE table_name_18 (albany VARCHAR, buffalo VARCHAR, syracuse VARCHAR)
SELECT albany FROM table_name_18 WHERE buffalo = "oatka creek shale" AND syracuse = "cardiff dark gray shale"
What name has a longitude of 213.0e?
CREATE TABLE table_name_6 (name VARCHAR, longitude VARCHAR)
SELECT name FROM table_name_6 WHERE longitude = "213.0e"
Name the college that has 10000 enrolled
CREATE TABLE table_1969577_1 (institution VARCHAR, enrollment VARCHAR)
SELECT institution FROM table_1969577_1 WHERE enrollment = 10000
How many values of goal average 1 occur when the value of goals against is 92?
CREATE TABLE table_17359181_1 (goal_average_1 VARCHAR, goals_against VARCHAR)
SELECT COUNT(goal_average_1) FROM table_17359181_1 WHERE goals_against = 92
What was the score of the game that led to a 79-77 record?
CREATE TABLE table_name_64 (score VARCHAR, record VARCHAR)
SELECT score FROM table_name_64 WHERE record = "79-77"
How many touchdowns were there with QB rating of 66.6?
CREATE TABLE table_20906175_3 (touchdowns VARCHAR, qb_rating VARCHAR)
SELECT touchdowns FROM table_20906175_3 WHERE qb_rating = "66.6"
Which opponent has a Season of 2011/12?
CREATE TABLE table_name_3 (opponent VARCHAR, season VARCHAR)
SELECT opponent FROM table_name_3 WHERE season = "2011/12"
Which Lead has a City of winnipeg, and a Third/Vice skip of kevin park?
CREATE TABLE table_name_17 (lead VARCHAR, city VARCHAR, third_vice_skip VARCHAR)
SELECT lead FROM table_name_17 WHERE city = "winnipeg" AND third_vice_skip = "kevin park"
Where is the company with estimated revenue of 33.3 billion headquartered?
CREATE TABLE table_21926985_2 (headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR)
SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.3"
How many times is a to par listed when the player is phil mickelson?
CREATE TABLE table_28498999_5 (to_par VARCHAR, player VARCHAR)
SELECT COUNT(to_par) FROM table_28498999_5 WHERE player = "Phil Mickelson"
When laps are less than 80 and Bruce mclaren is the driver, what is the grid?
CREATE TABLE table_name_58 (grid VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT grid FROM table_name_58 WHERE laps < 80 AND driver = "bruce mclaren"
What year was the venue at Sydney Cricket Ground, and the opponent was Parramatta Eels?
CREATE TABLE table_name_71 (year VARCHAR, venue VARCHAR, opponent VARCHAR)
SELECT COUNT(year) FROM table_name_71 WHERE venue = "sydney cricket ground" AND opponent = "parramatta eels"
how many times is the team oklahoma city?
CREATE TABLE table_27715173_8 (high_points VARCHAR, team VARCHAR)
SELECT COUNT(high_points) FROM table_27715173_8 WHERE team = "Oklahoma City"
What is the name of the young rider classification when Paolo Tiralongo won?
CREATE TABLE table_28538368_2 (young_rider_classification VARCHAR, winner VARCHAR)
SELECT young_rider_classification FROM table_28538368_2 WHERE winner = "Paolo Tiralongo"
What is the name of the Tournament with Jade Curtis as the opponent?
CREATE TABLE table_name_59 (tournament VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_59 WHERE opponent = "jade curtis"
What Date was the Country of japan, and a Label of sony?
CREATE TABLE table_name_75 (date VARCHAR, country VARCHAR, label VARCHAR)
SELECT date FROM table_name_75 WHERE country = "japan" AND label = "sony"
Who was the opponent when the score was 6–4, 6–7 (2–7) , 7–5?
CREATE TABLE table_name_53 (opponent VARCHAR, score VARCHAR)
SELECT opponent FROM table_name_53 WHERE score = "6–4, 6–7 (2–7) , 7–5"
What percentage did Walker win in Calumet county?
CREATE TABLE table_21046399_3 (walker__percentage VARCHAR, county VARCHAR)
SELECT walker__percentage FROM table_21046399_3 WHERE county = "Calumet"
Who is in November where October is jill de vries?
CREATE TABLE table_name_71 (november VARCHAR, october VARCHAR)
SELECT november FROM table_name_71 WHERE october = "jill de vries"
what is the sanskrit of western star name arcturus
CREATE TABLE table_201400_2 (sanskrit VARCHAR, western_star_name VARCHAR)
SELECT sanskrit FROM table_201400_2 WHERE western_star_name = "Arcturus"
Who was the celebrity who exited on day 13?
CREATE TABLE table_name_35 (celebrity VARCHAR, exited VARCHAR)
SELECT celebrity FROM table_name_35 WHERE exited = "day 13"
What socialist workers ticket has malcolm wilson as the Republican ticket?
CREATE TABLE table_name_71 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR)
SELECT socialist_workers_ticket FROM table_name_71 WHERE republican_ticket = "malcolm wilson"
What type ride is Wild Asia that opened in 2000?
CREATE TABLE table_name_81 (type VARCHAR, themed_land VARCHAR, opened_in VARCHAR)
SELECT type FROM table_name_81 WHERE themed_land = "wild asia" AND opened_in = 2000
Name the total number of elementary schools for 31851
CREATE TABLE table_2367847_2 (elementary_schools VARCHAR, district_wide VARCHAR)
SELECT COUNT(elementary_schools) FROM table_2367847_2 WHERE district_wide = 31851
What is the population if the city is Gilroy?
CREATE TABLE table_25200461_9 (population VARCHAR, city VARCHAR)
SELECT population FROM table_25200461_9 WHERE city = "Gilroy"
Find the name and id of the top 3 expensive rooms.
CREATE TABLE Rooms (RoomId VARCHAR, roomName VARCHAR, basePrice VARCHAR)
SELECT RoomId, roomName FROM Rooms ORDER BY basePrice DESC LIMIT 3