question
stringlengths
12
244
context
stringlengths
27
489
answer
stringlengths
18
557
name the total number of timeslot for number 1
CREATE TABLE table_19834691_4 (timeslot VARCHAR, _number VARCHAR)
SELECT COUNT(timeslot) FROM table_19834691_4 WHERE _number = 1
Where's the school that Mark Fletcher is the principal of?
CREATE TABLE table_1984697_53 (city___town VARCHAR, principal VARCHAR)
SELECT city___town FROM table_1984697_53 WHERE principal = "Mark Fletcher"
How many websites are there for the school with 1939 students?
CREATE TABLE table_1984697_53 (website VARCHAR, size VARCHAR)
SELECT COUNT(website) FROM table_1984697_53 WHERE size = 1939
Who's the principal of Edgewood High School?/
CREATE TABLE table_1984697_53 (principal VARCHAR, school VARCHAR)
SELECT principal FROM table_1984697_53 WHERE school = "Edgewood High school"
Where is Bloomington High School North?
CREATE TABLE table_1984697_53 (city___town VARCHAR, school VARCHAR)
SELECT city___town FROM table_1984697_53 WHERE school = "Bloomington High school North"
Who was on the pole position in the Texaco/Havoline 200 race?
CREATE TABLE table_19908651_3 (pole_position VARCHAR, race_name VARCHAR)
SELECT pole_position FROM table_19908651_3 WHERE race_name = "Texaco/Havoline 200"
Who did the fastest lap in the race won by Paul Tracy, with Emerson Fittipaldi at the pole position?
CREATE TABLE table_19908651_3 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
SELECT fastest_lap FROM table_19908651_3 WHERE pole_position = "Emerson Fittipaldi" AND winning_driver = "Paul Tracy"
What's the report of the race won by Michael Andretti, with Nigel Mansell driving the fastest lap?
CREATE TABLE table_19908651_3 (report VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
SELECT report FROM table_19908651_3 WHERE winning_driver = "Michael Andretti" AND fastest_lap = "Nigel Mansell"
Who was at the pole position in the ITT Automotive Grand Prix of Detroit, won by Paul Tracy?
CREATE TABLE table_19908651_3 (pole_position VARCHAR, winning_driver VARCHAR, race_name VARCHAR)
SELECT pole_position FROM table_19908651_3 WHERE winning_driver = "Paul Tracy" AND race_name = "ITT Automotive Grand Prix of Detroit"
Who directed the episode with production code 4akj08?
CREATE TABLE table_19929970_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_19929970_1 WHERE production_code = "4AKJ08"
Who directed the episode with production code 4akj01?
CREATE TABLE table_19929970_1 (directed_by VARCHAR, production_code VARCHAR)
SELECT directed_by FROM table_19929970_1 WHERE production_code = "4AKJ01"
What are the torque characteristics of the model made in 1996?
CREATE TABLE table_20007413_6 (torque VARCHAR, year VARCHAR)
SELECT torque FROM table_20007413_6 WHERE year = "1996"
What's the compression ratio of the model with L35 RPO and 5 applications?
CREATE TABLE table_20007413_6 (compression_ratio VARCHAR, rpo VARCHAR, applications VARCHAR)
SELECT compression_ratio FROM table_20007413_6 WHERE rpo = "L35" AND applications = 5
What are the torque characteristics of the model with 346 applications?
CREATE TABLE table_20007413_6 (torque VARCHAR, applications VARCHAR)
SELECT torque FROM table_20007413_6 WHERE applications = 346
What's the name of the team who had a Honda motorcycle?
CREATE TABLE table_20016339_1 (team VARCHAR, motorcycle VARCHAR)
SELECT team FROM table_20016339_1 WHERE motorcycle = "Honda"
What's the number of poles in the season where the team had a Kalex motorcycle?
CREATE TABLE table_20016339_1 (poles VARCHAR, motorcycle VARCHAR)
SELECT poles FROM table_20016339_1 WHERE motorcycle = "Kalex"
How many fastest laps did I.C. Team have?
CREATE TABLE table_20016339_1 (fastest_laps VARCHAR, team VARCHAR)
SELECT COUNT(fastest_laps) FROM table_20016339_1 WHERE team = "I.C. team"
What's Italtrans Racing Team's, with 0 pts, class?
CREATE TABLE table_20016339_1 (class VARCHAR, pts VARCHAR, team VARCHAR)
SELECT class FROM table_20016339_1 WHERE pts = 0 AND team = "Italtrans Racing team"
Name the conventional for تاغارما
CREATE TABLE table_2008069_2 (conventional VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)
SELECT conventional FROM table_2008069_2 WHERE uyghur___k̢ona_yezik̢__ = "تاغارما"
Name the uyghur for 瓦恰
CREATE TABLE table_2008069_2 (uyghur___k̢ona_yezik̢__ VARCHAR, chinese VARCHAR)
SELECT uyghur___k̢ona_yezik̢__ FROM table_2008069_2 WHERE chinese = "瓦恰"
Name the conventional for defter
CREATE TABLE table_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)
SELECT conventional FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Defter"
Name the pinyin for تىزناپ
CREATE TABLE table_2008069_2 (pinyin VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)
SELECT pinyin FROM table_2008069_2 WHERE uyghur___k̢ona_yezik̢__ = "تىزناپ"
Name the pinyin for mazar
CREATE TABLE table_2008069_2 (pinyin VARCHAR, conventional VARCHAR)
SELECT pinyin FROM table_2008069_2 WHERE conventional = "Mazar"
Name the pinyin for kɵkyar k̡irƣiz yezisi
CREATE TABLE table_2008069_2 (pinyin VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)
SELECT pinyin FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Kɵkyar K̡irƣiz yezisi"
What team or teams with 18 in the top 10?
CREATE TABLE table_2012187_3 (team_s_ VARCHAR, top_10 VARCHAR)
SELECT team_s_ FROM table_2012187_3 WHERE top_10 = 18
How many wins in the 4th position?
CREATE TABLE table_2012187_3 (wins INTEGER, position VARCHAR)
SELECT MIN(wins) FROM table_2012187_3 WHERE position = "4th"
What date was the attendance 22000?
CREATE TABLE table_2015453_1 (date VARCHAR, attendance VARCHAR)
SELECT date FROM table_2015453_1 WHERE attendance = 22000
What are the remarks for 8 October 2008?
CREATE TABLE table_2015453_1 (remarks VARCHAR, date VARCHAR)
SELECT remarks FROM table_2015453_1 WHERE date = "8 October 2008"
What was the res for the game against Payam?
CREATE TABLE table_2015453_1 (res VARCHAR, team__number2 VARCHAR)
SELECT res FROM table_2015453_1 WHERE team__number2 = "Payam"
Who was team #1 on 9 September 2006?
CREATE TABLE table_2015453_1 (team__number1 VARCHAR, date VARCHAR)
SELECT team__number1 FROM table_2015453_1 WHERE date = "9 September 2006"
What was the largest attendance?
CREATE TABLE table_2015453_1 (attendance INTEGER)
SELECT MAX(attendance) FROM table_2015453_1
What position is the player who went to Regina?
CREATE TABLE table_20170644_3 (position VARCHAR, college VARCHAR)
SELECT position FROM table_20170644_3 WHERE college = "Regina"
Which player is on the BC Lions?
CREATE TABLE table_20170644_3 (player VARCHAR, cfl_team VARCHAR)
SELECT player FROM table_20170644_3 WHERE cfl_team = "BC Lions"
What number picks were the players who went to Calgary?
CREATE TABLE table_20170644_3 (pick__number VARCHAR, college VARCHAR)
SELECT pick__number FROM table_20170644_3 WHERE college = "Calgary"
What was the title for episode 2?
CREATE TABLE table_20205538_4 (title VARCHAR, episode__number VARCHAR)
SELECT title FROM table_20205538_4 WHERE episode__number = 2
What is the episode number for series 17?
CREATE TABLE table_20205538_4 (episode__number VARCHAR, series__number VARCHAR)
SELECT episode__number FROM table_20205538_4 WHERE series__number = 17
What season did SV Darmstadt 98 end up at RL Süd (1st)?
CREATE TABLE table_20217456_7 (season VARCHAR, rl_süd__1st_ VARCHAR)
SELECT season FROM table_20217456_7 WHERE rl_süd__1st_ = "SV Darmstadt 98"
Who was RL Süd (1st) when FK Pirmasens was RL Südwest (1st)?
CREATE TABLE table_20217456_7 (rl_süd__1st_ VARCHAR, rl_südwest__1st_ VARCHAR)
SELECT rl_süd__1st_ FROM table_20217456_7 WHERE rl_südwest__1st_ = "FK Pirmasens"
What season was Freiburger FC the RL Süd (2nd) team?
CREATE TABLE table_20217456_7 (season VARCHAR, rl_süd__2nd_ VARCHAR)
SELECT season FROM table_20217456_7 WHERE rl_süd__2nd_ = "Freiburger FC"
Name the total number of serial number for 24 wd no
CREATE TABLE table_20236726_2 (serial_no VARCHAR, wd_no VARCHAR)
SELECT COUNT(serial_no) FROM table_20236726_2 WHERE wd_no = 24
Name the total number of wd number for lms number being 7638
CREATE TABLE table_20236726_2 (wd_no VARCHAR, lms_no VARCHAR)
SELECT COUNT(wd_no) FROM table_20236726_2 WHERE lms_no = 7638
Name the builder for wd number being 22
CREATE TABLE table_20236726_2 (builder VARCHAR, wd_no VARCHAR)
SELECT builder FROM table_20236726_2 WHERE wd_no = 22
Name the lms number for serial number being 372
CREATE TABLE table_20236726_2 (lms_no VARCHAR, serial_no VARCHAR)
SELECT lms_no FROM table_20236726_2 WHERE serial_no = 372
Name the builder for serial number being 377
CREATE TABLE table_20236726_2 (builder VARCHAR, serial_no VARCHAR)
SELECT builder FROM table_20236726_2 WHERE serial_no = 377
who directed s01e13
CREATE TABLE table_20360535_2 (directed_by VARCHAR, television_order VARCHAR)
SELECT directed_by FROM table_20360535_2 WHERE television_order = "S01E13"
what is the television order of the episode directed by ben jones, written by j. m. dematteis and originally aired on february6,2009
CREATE TABLE table_20360535_2 (television_order VARCHAR, original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT television_order FROM table_20360535_2 WHERE directed_by = "Ben Jones" AND written_by = "J. M. DeMatteis" AND original_air_date = "February6,2009"
who wrote s01e06
CREATE TABLE table_20360535_2 (written_by VARCHAR, television_order VARCHAR)
SELECT written_by FROM table_20360535_2 WHERE television_order = "S01E06"
what is the original air date of the episode directed by Ben Jones and written by Steven Melching?
CREATE TABLE table_20360535_4 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)
SELECT original_air_date FROM table_20360535_4 WHERE directed_by = "Ben Jones" AND written_by = "Steven Melching"
How many people are guest 1 on episodes where guest 4 is Des Kelly?
CREATE TABLE table_20466963_9 (guest_1 VARCHAR, guest_4 VARCHAR)
SELECT COUNT(guest_1) FROM table_20466963_9 WHERE guest_4 = "Des Kelly"
On episodes where guest 1 is Jim White, who was guest 3?
CREATE TABLE table_20466963_9 (guest_3 VARCHAR, guest_1 VARCHAR)
SELECT guest_3 FROM table_20466963_9 WHERE guest_1 = "Jim White"
How many points did he win in the race with more than 1.0 poles?
CREATE TABLE table_20500097_1 (points VARCHAR, poles INTEGER)
SELECT points FROM table_20500097_1 WHERE poles > 1.0
What team did he compete for in the GP3 series?
CREATE TABLE table_20500097_1 (team VARCHAR, series VARCHAR)
SELECT team FROM table_20500097_1 WHERE series = "GP3 series"
Who took first place in week 6?
CREATE TABLE table_2054561_2 (first_place VARCHAR, no_of_weeks VARCHAR)
SELECT COUNT(first_place) FROM table_2054561_2 WHERE no_of_weeks = 6
What is the epa highway fuel economy for an electric suv?
CREATE TABLE table_20549371_3 (epa_rated_highway_fuel_economy VARCHAR, type_of_powertrain VARCHAR)
SELECT epa_rated_highway_fuel_economy FROM table_20549371_3 WHERE type_of_powertrain = "Electric SUV"
What vehicle has an epa highway fuel economy of 109 mpg-e?
CREATE TABLE table_20549371_3 (vehicle VARCHAR, epa_rated_highway_fuel_economy VARCHAR)
SELECT vehicle FROM table_20549371_3 WHERE epa_rated_highway_fuel_economy = "109 mpg-e"
What shareholder has 2.55 percent of votes?
CREATE TABLE table_206419_3 (shareholder VARCHAR, percent_of_votes VARCHAR)
SELECT shareholder FROM table_206419_3 WHERE percent_of_votes = "2.55"
What shareholder has 3.63 percent of capital?
CREATE TABLE table_206419_3 (shareholder VARCHAR, percent_of_capital VARCHAR)
SELECT shareholder FROM table_206419_3 WHERE percent_of_capital = "3.63"
What is the s B share for the shareholder that has 2.55 percent of votes?
CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR)
SELECT MAX(s_b_share) FROM table_206419_3 WHERE percent_of_votes = "2.55"
What is the percent of capital for the shareholder that has a s B share of 8256534?
CREATE TABLE table_206419_3 (percent_of_capital VARCHAR, s_b_share VARCHAR)
SELECT percent_of_capital FROM table_206419_3 WHERE s_b_share = 8256534
What is the s B share for the shareholder that has 2.12 percent of votes?
CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR)
SELECT MIN(s_b_share) FROM table_206419_3 WHERE percent_of_votes = "2.12"
What is the s B share for Handelsbanken funds incl XACT?
CREATE TABLE table_206419_3 (s_b_share VARCHAR, shareholder VARCHAR)
SELECT s_b_share FROM table_206419_3 WHERE shareholder = "Handelsbanken funds incl XACT"
What was the name that had a starting price of 11/1 and a jockey named Garrett Cotter?
CREATE TABLE table_20668268_1 (name VARCHAR, starting_price VARCHAR, jockey VARCHAR)
SELECT name FROM table_20668268_1 WHERE starting_price = "11/1" AND jockey = "Garrett Cotter"
What was the name of the entrant with an owner named David Johnson?
CREATE TABLE table_20668268_1 (name VARCHAR, owner VARCHAR)
SELECT name FROM table_20668268_1 WHERE owner = "David Johnson"
What percentage was the others vote when McCain had 52.9% and less than 45205.0 voters?
CREATE TABLE table_20693870_1 (others_percentage VARCHAR, mccain_percentage VARCHAR, mccain_number VARCHAR)
SELECT others_percentage FROM table_20693870_1 WHERE mccain_percentage = "52.9%" AND mccain_number < 45205.0
How many numbers were recorded under Obama when he had 29.9% voters?
CREATE TABLE table_20693870_1 (obama_number VARCHAR, obama_percentage VARCHAR)
SELECT COUNT(obama_number) FROM table_20693870_1 WHERE obama_percentage = "29.9%"
How many numbers were recorded under McCain when Obama had 27.2% voters?
CREATE TABLE table_20693870_1 (mccain_number VARCHAR, obama_percentage VARCHAR)
SELECT COUNT(mccain_number) FROM table_20693870_1 WHERE obama_percentage = "27.2%"
What were the number of voters McCain had when Obama had 895?
CREATE TABLE table_20693870_1 (mccain_number VARCHAR, obama_number VARCHAR)
SELECT mccain_number FROM table_20693870_1 WHERE obama_number = 895
What was the number of others votes in Columbia county?
CREATE TABLE table_20693870_1 (others_number INTEGER, county VARCHAR)
SELECT MIN(others_number) FROM table_20693870_1 WHERE county = "Columbia"
For Gem County, what was the Obama vote percentage?
CREATE TABLE table_20684390_1 (obama_percentage VARCHAR, county VARCHAR)
SELECT obama_percentage FROM table_20684390_1 WHERE county = "Gem"
What is the maximum McCain population turnout number?
CREATE TABLE table_20684390_1 (mccain_number INTEGER)
SELECT MAX(mccain_number) FROM table_20684390_1
What is the total number of McCain vote totals where Obama percentages was 17.34%?
CREATE TABLE table_20684390_1 (mccain_number VARCHAR, obama_percentage VARCHAR)
SELECT COUNT(mccain_number) FROM table_20684390_1 WHERE obama_percentage = "17.34%"
What is the McCain vote percentage in Jerome county?
CREATE TABLE table_20684390_1 (mccain_percentage VARCHAR, county VARCHAR)
SELECT mccain_percentage FROM table_20684390_1 WHERE county = "Jerome"
What is the total number of 3rd place entries that have exactly 8 total placings?
CREATE TABLE table_20823568_2 (third_place_s_ VARCHAR, total_placing_s_ VARCHAR)
SELECT COUNT(third_place_s_) FROM table_20823568_2 WHERE total_placing_s_ = 8
How many second place showings does snooker have?
CREATE TABLE table_20823568_2 (second_place_s_ VARCHAR, sporting_profession VARCHAR)
SELECT second_place_s_ FROM table_20823568_2 WHERE sporting_profession = "Snooker"
What game number did the Wildcats play Purdue?
CREATE TABLE table_20850527_1 (game VARCHAR, opponent VARCHAR)
SELECT game FROM table_20850527_1 WHERE opponent = "Purdue"
How many wins or losses were there when the record was 3-0?
CREATE TABLE table_20850527_1 (result VARCHAR, record VARCHAR)
SELECT COUNT(result) FROM table_20850527_1 WHERE record = "3-0"
What is the lowest points scored by the Wildcats when the record was 5-1?
CREATE TABLE table_20850527_1 (wildcats_points INTEGER, record VARCHAR)
SELECT MIN(wildcats_points) FROM table_20850527_1 WHERE record = "5-1"
When az is the runner up nad feyenoord came in third place how many overall winners are there?
CREATE TABLE table_20867295_2 (winner VARCHAR, third_place VARCHAR, runner_up VARCHAR)
SELECT COUNT(winner) FROM table_20867295_2 WHERE third_place = "Feyenoord" AND runner_up = "AZ"
When twente came in third place and ajax was the winner what are the seasons?
CREATE TABLE table_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR)
SELECT season FROM table_20867295_2 WHERE winner = "Ajax" AND third_place = "Twente"
When nac breda came in third place and psv eindhoven was the winner who is the top scorer?
CREATE TABLE table_20867295_2 (top_scorer VARCHAR, winner VARCHAR, third_place VARCHAR)
SELECT top_scorer FROM table_20867295_2 WHERE winner = "PSV Eindhoven" AND third_place = "NAC Breda"
Name the naming for fluent and poor comprehension
CREATE TABLE table_2088_1 (naming VARCHAR, fluency VARCHAR, auditory_comprehension VARCHAR)
SELECT naming FROM table_2088_1 WHERE fluency = "fluent" AND auditory_comprehension = "poor"
Name the number of naming for anomic aphasia
CREATE TABLE table_2088_1 (naming VARCHAR, type_of_aphasia VARCHAR)
SELECT COUNT(naming) FROM table_2088_1 WHERE type_of_aphasia = "Anomic aphasia"
Name the comprehension for non-fluent, effortful, slow
CREATE TABLE table_2088_1 (auditory_comprehension VARCHAR, fluency VARCHAR)
SELECT auditory_comprehension FROM table_2088_1 WHERE fluency = "non-fluent, effortful, slow"
Name the fluency for transcortical sensory aphasia
CREATE TABLE table_2088_1 (fluency VARCHAR, type_of_aphasia VARCHAR)
SELECT fluency FROM table_2088_1 WHERE type_of_aphasia = "Transcortical sensory aphasia"
state the name of day in english where cardinal direction is east
CREATE TABLE table_20925393_3 (english VARCHAR, cardinal_direction VARCHAR)
SELECT english FROM table_20925393_3 WHERE cardinal_direction = "East"
When did Shirley Fry Irvin win the US Open?
CREATE TABLE table_2092557_12 (us_open INTEGER, player VARCHAR)
SELECT MIN(us_open) FROM table_2092557_12 WHERE player = "Shirley Fry Irvin"
What year did Martina Navratilova win Wimbledon?
CREATE TABLE table_2092557_12 (wimbledon VARCHAR, player VARCHAR)
SELECT wimbledon FROM table_2092557_12 WHERE player = "Martina Navratilova"
What was Sherrick McManis's earliest round?
CREATE TABLE table_20996923_25 (round__number INTEGER, player VARCHAR)
SELECT MIN(round__number) FROM table_20996923_25 WHERE player = "Sherrick McManis"
How many NFL teams does Stevie Brown play for?
CREATE TABLE table_20996923_25 (nfl_team VARCHAR, player VARCHAR)
SELECT COUNT(nfl_team) FROM table_20996923_25 WHERE player = "Stevie Brown"
What NFL team was the player with pick number 28 drafted to?
CREATE TABLE table_20996923_25 (nfl_team VARCHAR, pick__number VARCHAR)
SELECT nfl_team FROM table_20996923_25 WHERE pick__number = 28
what is the area where barangay is guadalupe viejo?
CREATE TABLE table_210279_2 (area__km_2__ VARCHAR, barangay VARCHAR)
SELECT area__km_2__ FROM table_210279_2 WHERE barangay = "Guadalupe Viejo"
Who is the regular season winner for the Ivy League conference?
CREATE TABLE table_21091982_3 (regular_season_winner VARCHAR, conference VARCHAR)
SELECT regular_season_winner FROM table_21091982_3 WHERE conference = "Ivy League"
Where was the Ivy League conference tournament?
CREATE TABLE table_21091982_3 (tournament_venue__city_ VARCHAR, conference VARCHAR)
SELECT tournament_venue__city_ FROM table_21091982_3 WHERE conference = "Ivy League"
Where was the shot pct 78?
CREATE TABLE table_21093403_1 (locale VARCHAR, shot_pct VARCHAR)
SELECT locale FROM table_21093403_1 WHERE shot_pct = 78
Name the position for van den brink, bas
CREATE TABLE table_21220720_1 (position VARCHAR, name VARCHAR)
SELECT position FROM table_21220720_1 WHERE name = "van den Brink, Bas"
Name the mosst finals apps
CREATE TABLE table_21220720_1 (finals_apps INTEGER)
SELECT MAX(finals_apps) FROM table_21220720_1
Name the to for 19 league apps
CREATE TABLE table_21220720_1 (to VARCHAR, league_apps VARCHAR)
SELECT to FROM table_21220720_1 WHERE league_apps = 19
what is the No in series when Rob wright & Debra j. Fisher & Erica Messer were the writers?
CREATE TABLE table_21313327_1 (no_in_series INTEGER, written_by VARCHAR)
SELECT MIN(no_in_series) FROM table_21313327_1 WHERE written_by = "Rob Wright & Debra J. Fisher & Erica Messer"
what was the name of the episode that got 3.3 (millions) of u.s viewers?
CREATE TABLE table_21313327_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_21313327_1 WHERE us_viewers__millions_ = "3.3"
In season number 3, who were the writers?
CREATE TABLE table_21313327_1 (written_by VARCHAR, no_in_season VARCHAR)
SELECT written_by FROM table_21313327_1 WHERE no_in_season = 3