answer
stringlengths 32
484
| context
stringlengths 27
489
| question
stringlengths 12
244
|
---|---|---|
SELECT COUNT(destination) FROM table_21716139_1 WHERE frequency = "Weekly" AND train_name = "AC Express" | CREATE TABLE table_21716139_1 (destination VARCHAR, frequency VARCHAR, train_name VARCHAR) | How many destinations have a weekly frequency and are named AC Express? |
SELECT COUNT(frequency) FROM table_21716139_1 WHERE destination = "Jaipur" | CREATE TABLE table_21716139_1 (frequency VARCHAR, destination VARCHAR) | What is the number of frequencies that have a destination of Jaipur? |
SELECT MAX(pick__number) FROM table_21721351_18 WHERE player = "David Grannis" | CREATE TABLE table_21721351_18 (pick__number INTEGER, player VARCHAR) | What is the pick # for player david grannis? |
SELECT player FROM table_21721351_18 WHERE college_junior_club_team = "Deerfield Academy (Massachusetts)" | CREATE TABLE table_21721351_18 (player VARCHAR, college_junior_club_team VARCHAR) | Which player belongs to deerfield academy (Massachusetts) college/junior/club team? |
SELECT nationality FROM table_21721351_18 WHERE college_junior_club_team = "Kitchener Rangers (OHL)" | CREATE TABLE table_21721351_18 (nationality VARCHAR, college_junior_club_team VARCHAR) | Which nationality is kitchener rangers (ohl) college/junior/club team? |
SELECT nationality FROM table_21721351_18 WHERE player = "Brian Wilks" | CREATE TABLE table_21721351_18 (nationality VARCHAR, player VARCHAR) | Which nationality is player Brian Wilks? |
SELECT COUNT(position) FROM table_21721351_18 WHERE player = "Tom Glavine" | CREATE TABLE table_21721351_18 (position VARCHAR, player VARCHAR) | How many positions is player Tom Glavine? |
SELECT directed_by FROM table_21726793_1 WHERE production_code = "2T5710" | CREATE TABLE table_21726793_1 (directed_by VARCHAR, production_code VARCHAR) | who directed the production code 2t5710? |
SELECT COUNT(production_code) FROM table_21726793_1 WHERE us_viewers__million_ = "2.76" | CREATE TABLE table_21726793_1 (production_code VARCHAR, us_viewers__million_ VARCHAR) | what is the total number o production code where us viewers is 2.76? |
SELECT written_by FROM table_21726793_1 WHERE no = 2 | CREATE TABLE table_21726793_1 (written_by VARCHAR, no VARCHAR) | who wrote the no 2? |
SELECT maac FROM table_21756039_1 WHERE overall = "26-8" | CREATE TABLE table_21756039_1 (maac VARCHAR, overall VARCHAR) | What is the maac when the overall is 26-8? |
SELECT COUNT(maac) FROM table_21756039_1 WHERE ncaa_seed = "14th" AND overall = "20-10" | CREATE TABLE table_21756039_1 (maac VARCHAR, ncaa_seed VARCHAR, overall VARCHAR) | How many maac are there that have 14th as the ncaa and the overall is 20-10? |
SELECT COUNT(overall) FROM table_21756039_1 WHERE year = "2010-2011" | CREATE TABLE table_21756039_1 (overall VARCHAR, year VARCHAR) | How many overall in the year 2010-2011? |
SELECT year FROM table_21756039_1 WHERE overall = "29-4" | CREATE TABLE table_21756039_1 (year VARCHAR, overall VARCHAR) | In which year is the overall 29-4? |
SELECT regular_season_results FROM table_21756039_1 WHERE year = "2011-2012" | CREATE TABLE table_21756039_1 (regular_season_results VARCHAR, year VARCHAR) | What is the regular season results for the year 2011-2012? |
SELECT COUNT(driver) FROM table_2175858_1 WHERE race_time = "3:09:45" | CREATE TABLE table_2175858_1 (driver VARCHAR, race_time VARCHAR) | How many drivers had a time of 3:09:45? |
SELECT COUNT(driver) FROM table_2175858_1 WHERE laps = "300" AND average_speed__mph_ = "103.594" | CREATE TABLE table_2175858_1 (driver VARCHAR, laps VARCHAR, average_speed__mph_ VARCHAR) | How many drivers drove 300 laps at average speed of 103.594? |
SELECT COUNT(date) FROM table_2175858_1 WHERE average_speed__mph_ = "102.003" | CREATE TABLE table_2175858_1 (date VARCHAR, average_speed__mph_ VARCHAR) | How many dates had an average speed of 102.003? |
SELECT laps FROM table_2175858_1 WHERE year = 2009 | CREATE TABLE table_2175858_1 (laps VARCHAR, year VARCHAR) | How many laps were driven in 2009? |
SELECT laps FROM table_2175858_1 WHERE race_time = "3:03:50" | CREATE TABLE table_2175858_1 (laps VARCHAR, race_time VARCHAR) | How many laps were completed in the race with time of 3:03:50? |
SELECT miles__km_ FROM table_2175858_1 WHERE average_speed__mph_ = "116.81" | CREATE TABLE table_2175858_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR) | How many miles were driven with the average speed at 116.81? |
SELECT season_no FROM table_21781578_2 WHERE production_code = "E2110" | CREATE TABLE table_21781578_2 (season_no VARCHAR, production_code VARCHAR) | What was the season number for production code E2110? |
SELECT original_air_date FROM table_21781578_2 WHERE season_no = 2 | CREATE TABLE table_21781578_2 (original_air_date VARCHAR, season_no VARCHAR) | What was the original air date for season number 2? |
SELECT season_no FROM table_21781578_2 WHERE directed_by = "John David Coles" | CREATE TABLE table_21781578_2 (season_no VARCHAR, directed_by VARCHAR) | What was the season number episode directed by John David Coles? |
SELECT us_viewers__millions_ FROM table_21781578_2 WHERE directed_by = "Steve Shill" AND production_code = "E2102" | CREATE TABLE table_21781578_2 (us_viewers__millions_ VARCHAR, directed_by VARCHAR, production_code VARCHAR) | What was the number of US Viewers in the episode directed by Steve Shill and having a production code of E2102? |
SELECT COUNT(season_no) FROM table_21781578_2 WHERE us_viewers__millions_ = "12.30" | CREATE TABLE table_21781578_2 (season_no VARCHAR, us_viewers__millions_ VARCHAR) | What was the number of season number entries that had US Viewers of 12.30 million? |
SELECT date FROM table_21761882_4 WHERE week = 3 | CREATE TABLE table_21761882_4 (date VARCHAR, week VARCHAR) | What was the date of the game in week 3? |
SELECT final_score FROM table_21761882_4 WHERE opponent = "@ Roughriders" | CREATE TABLE table_21761882_4 (final_score VARCHAR, opponent VARCHAR) | What was the final score when the game was @ roughriders? |
SELECT COUNT(week) FROM table_21761882_4 WHERE location = "Ivor Wynne Stadium" | CREATE TABLE table_21761882_4 (week VARCHAR, location VARCHAR) | What was the total number of weeks where the game played Ivor Wynne Stadium? |
SELECT location FROM table_21761882_4 WHERE opponent = "@ Roughriders" | CREATE TABLE table_21761882_4 (location VARCHAR, opponent VARCHAR) | What was the location for when the opponent was @ roughriders? |
SELECT final_score FROM table_21761882_4 WHERE attendance = 25598 | CREATE TABLE table_21761882_4 (final_score VARCHAR, attendance VARCHAR) | What was the final score when the attendance was 25598? |
SELECT location FROM table_21761882_4 WHERE date = "October 6" | CREATE TABLE table_21761882_4 (location VARCHAR, date VARCHAR) | What location was the game on October 6? |
SELECT MIN(ranking) FROM table_217785_2 WHERE viewers__in_millions_of_households_ = "11.2" | CREATE TABLE table_217785_2 (ranking INTEGER, viewers__in_millions_of_households_ VARCHAR) | What's the lowest rating with 11.2 million viewers? |
SELECT season AS finale FROM table_217785_2 WHERE ranking = 73 | CREATE TABLE table_217785_2 (season VARCHAR, ranking VARCHAR) | When did the season finale ranked at 73 first air? |
SELECT COUNT(tv_season) FROM table_217785_2 WHERE viewers__in_millions_of_households_ = "10.2" | CREATE TABLE table_217785_2 (tv_season VARCHAR, viewers__in_millions_of_households_ VARCHAR) | Which season received 10.2 million viewers? |
SELECT name FROM table_21795986_1 WHERE withdrawn = "19/05/2002" | CREATE TABLE table_21795986_1 (name VARCHAR, withdrawn VARCHAR) | When 19/05/2002 is the date of withdrawn what is the name? |
SELECT MIN(year) FROM table_21795986_1 WHERE original_number = "2008 T" | CREATE TABLE table_21795986_1 (year INTEGER, original_number VARCHAR) | When 2008 t is the original number what is the lowest year? |
SELECT original_number FROM table_21795986_1 WHERE withdrawn = "9/07/1999" | CREATE TABLE table_21795986_1 (original_number VARCHAR, withdrawn VARCHAR) | When 9/07/1999 is the date of withdrawn what is the original number? |
SELECT stage__winner_ FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini" | CREATE TABLE table_21804557_18 (stage__winner_ VARCHAR, metas_volantes_classification VARCHAR) | WHO WAS THE STAGE WINNER IN THE STAGE WHERE MICHAEL ALBASINI WON THE METAS VOLANTES CLASSIFICATION? |
SELECT mountains_classification FROM table_21804557_18 WHERE metas_volantes_classification = "Michael Albasini" | CREATE TABLE table_21804557_18 (mountains_classification VARCHAR, metas_volantes_classification VARCHAR) | Who got the mountains classification when Michael Albasini won the stage? |
SELECT attendance FROM table_21796261_4 WHERE date = "July 10" | CREATE TABLE table_21796261_4 (attendance VARCHAR, date VARCHAR) | How many people were present at the July 10 game? |
SELECT final_score FROM table_21796261_4 WHERE date = "July 10" | CREATE TABLE table_21796261_4 (final_score VARCHAR, date VARCHAR) | What was the final score of the game played on July 10? |
SELECT record FROM table_21796261_4 WHERE location = "BC Place Stadium" | CREATE TABLE table_21796261_4 (record VARCHAR, location VARCHAR) | What's the record achieved in the gamed played at BC Place Stadium? |
SELECT week FROM table_21796261_4 WHERE date = "July 10" | CREATE TABLE table_21796261_4 (week VARCHAR, date VARCHAR) | During what week was the July 10 game played? |
SELECT date FROM table_21796261_4 WHERE location = "Taylor Field" | CREATE TABLE table_21796261_4 (date VARCHAR, location VARCHAR) | When was the game on Taylor Field played? |
SELECT 4 AS th_placed FROM table_21808535_1 WHERE winner = "Greg Hancock" | CREATE TABLE table_21808535_1 (winner VARCHAR) | Who placed fourth when the winner was Greg Hancock? |
SELECT runner_up FROM table_21808535_1 WHERE date = "September 11" | CREATE TABLE table_21808535_1 (runner_up VARCHAR, date VARCHAR) | Who was the runner-up on September 11? |
SELECT COUNT(round) FROM table_21808535_1 WHERE date = "July 10" | CREATE TABLE table_21808535_1 (round VARCHAR, date VARCHAR) | How many rounds were on July 10? |
SELECT COUNT(year) FROM table_2181798_1 WHERE avg_finish = "18.5" | CREATE TABLE table_2181798_1 (year VARCHAR, avg_finish VARCHAR) | Name the number of years for 18.5 |
SELECT MAX(top_5) FROM table_2181798_1 WHERE avg_finish = "27.6" | CREATE TABLE table_2181798_1 (top_5 INTEGER, avg_finish VARCHAR) | Name the max top 5 for avg finish being 27.6 |
SELECT COUNT(wins) FROM table_2181798_1 WHERE starts = 30 | CREATE TABLE table_2181798_1 (wins VARCHAR, starts VARCHAR) | Name the number of wins for 30 starts |
SELECT year FROM table_2181798_1 WHERE team_s_ = "Donlavey Racing Bill Davis Racing" | CREATE TABLE table_2181798_1 (year VARCHAR, team_s_ VARCHAR) | Name the year for donlavey racing bill davis racing |
SELECT starts FROM table_2181798_1 WHERE avg_start = "23.7" | CREATE TABLE table_2181798_1 (starts VARCHAR, avg_start VARCHAR) | Name the starts for 23.7 |
SELECT COUNT(position) FROM table_2181798_1 WHERE avg_start = "23.7" | CREATE TABLE table_2181798_1 (position VARCHAR, avg_start VARCHAR) | Name the position for 23.7 avg start |
SELECT MIN(_number) FROM table_2182170_1 WHERE car_s_ = "Chevrolet Monte Carlo" AND listed_owner_s_ = "Teresa Earnhardt" AND driver_s_ = "Paul Menard" | CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR, car_s_ VARCHAR, listed_owner_s_ VARCHAR) | What is the car number for the Chevrolet Monte Carlo that Teresa Earnhardt owns and Paul Menard is her driver? |
SELECT car_s_ FROM table_2182170_1 WHERE driver_s_ = "Jeff Fuller" | CREATE TABLE table_2182170_1 (car_s_ VARCHAR, driver_s_ VARCHAR) | What type of car does Jeff Fuller drive? |
SELECT COUNT(car_s_) FROM table_2182170_1 WHERE listed_owner_s_ = "Gregg Mixon" | CREATE TABLE table_2182170_1 (car_s_ VARCHAR, listed_owner_s_ VARCHAR) | How many cars does Gregg Mixon own? |
SELECT crew_chief FROM table_2182170_1 WHERE listed_owner_s_ = "Wayne Day" | CREATE TABLE table_2182170_1 (crew_chief VARCHAR, listed_owner_s_ VARCHAR) | Who is Wayne Day's crew chief? |
SELECT MIN(_number) FROM table_2182170_1 WHERE driver_s_ = "Geoffrey Bodine" | CREATE TABLE table_2182170_1 (_number INTEGER, driver_s_ VARCHAR) | What number is on the car that Geoffrey Bodine drives? |
SELECT no_in_season FROM table_2182654_3 WHERE no_in_series = 24 | CREATE TABLE table_2182654_3 (no_in_season VARCHAR, no_in_series VARCHAR) | What episode number in the season is episode 24 in the series? |
SELECT COUNT(no_in_season) FROM table_2182654_3 WHERE directed_by = "Jeremy Podeswa" | CREATE TABLE table_2182654_3 (no_in_season VARCHAR, directed_by VARCHAR) | How many episodes in the season were directed by Jeremy Podeswa? |
SELECT title FROM table_2182654_3 WHERE directed_by = "Miguel Arteta" | CREATE TABLE table_2182654_3 (title VARCHAR, directed_by VARCHAR) | What is the name of the episode directed by Miguel Arteta? |
SELECT COUNT(no_in_series) FROM table_2182654_3 WHERE directed_by = "Alan Taylor" | CREATE TABLE table_2182654_3 (no_in_series VARCHAR, directed_by VARCHAR) | How many episodes in the series were directed by Alan Taylor? |
SELECT COUNT(team_s_) FROM table_2182562_2 WHERE avg_start = "12.9" | CREATE TABLE table_2182562_2 (team_s_ VARCHAR, avg_start VARCHAR) | How many different teams had an average start of 12.9? |
SELECT winnings FROM table_2182562_2 WHERE starts = 15 | CREATE TABLE table_2182562_2 (winnings VARCHAR, starts VARCHAR) | How high was the amount of winnings (in $) in the year with 15 starts? |
SELECT COUNT(winnings) FROM table_2182562_2 WHERE avg_finish = "17.4" | CREATE TABLE table_2182562_2 (winnings VARCHAR, avg_finish VARCHAR) | How many different amounts of winnings were there for the year when the team had an average finish of 17.4? |
SELECT MIN(top_5) FROM table_2182562_2 WHERE avg_finish = "8.2" | CREATE TABLE table_2182562_2 (top_5 INTEGER, avg_finish VARCHAR) | What was the top 5 in the year with an average finish of 8.2? |
SELECT position FROM table_2182562_2 WHERE avg_finish = "21.5" | CREATE TABLE table_2182562_2 (position VARCHAR, avg_finish VARCHAR) | What was the position of the team with an average finish of 21.5? |
SELECT COUNT(year) FROM table_2182562_1 WHERE position = "97th" | CREATE TABLE table_2182562_1 (year VARCHAR, position VARCHAR) | How many years was the position 97th? |
SELECT COUNT(wins) FROM table_2182562_1 WHERE avg_start = "29.0" | CREATE TABLE table_2182562_1 (wins VARCHAR, avg_start VARCHAR) | How many wins when the average start is 29.0? |
SELECT avg_finish FROM table_2182562_1 WHERE winnings = "$71,200" | CREATE TABLE table_2182562_1 (avg_finish VARCHAR, winnings VARCHAR) | What is the average finish when winnings equals $71,200? |
SELECT year FROM table_2182562_1 WHERE winnings = "$281,945" | CREATE TABLE table_2182562_1 (year VARCHAR, winnings VARCHAR) | What year did the winnings equal $281,945? |
SELECT top_5 FROM table_2182562_1 WHERE avg_finish = "40.3" | CREATE TABLE table_2182562_1 (top_5 VARCHAR, avg_finish VARCHAR) | What are the top 5 average finishes equalling 40.3? |
SELECT written_by FROM table_21831229_3 WHERE no_in_series = 31 | CREATE TABLE table_21831229_3 (written_by VARCHAR, no_in_series VARCHAR) | Who wrote episode 31 in the series? |
SELECT original_us_air_date FROM table_21831229_3 WHERE prod_code = 213 | CREATE TABLE table_21831229_3 (original_us_air_date VARCHAR, prod_code VARCHAR) | What was the date that the episode with a production code of 213 was originally aired? |
SELECT opponents FROM table_2186447_1 WHERE score = "5–7, 6–7 (4–7)" | CREATE TABLE table_2186447_1 (opponents VARCHAR, score VARCHAR) | Who was playing when the score was 5–7, 6–7 (4–7)? |
SELECT opponents FROM table_2186447_1 WHERE score = "5–7, 5–7" | CREATE TABLE table_2186447_1 (opponents VARCHAR, score VARCHAR) | Who was playing when the score was 5–7, 5–7? |
SELECT COUNT(partner) FROM table_2186447_1 WHERE score = "7–6 (7–4) , 6–3" | CREATE TABLE table_2186447_1 (partner VARCHAR, score VARCHAR) | How many partners were there when the score was 7–6 (7–4) , 6–3? |
SELECT record FROM table_21839208_4 WHERE opponent = "Stampeders" | CREATE TABLE table_21839208_4 (record VARCHAR, opponent VARCHAR) | What was their record when they played the stampeders? |
SELECT record FROM table_21839208_4 WHERE week = 11 | CREATE TABLE table_21839208_4 (record VARCHAR, week VARCHAR) | What was their record in week 11? |
SELECT MIN(wins) FROM table_2187333_1 | CREATE TABLE table_2187333_1 (wins INTEGER) | Name the least wins |
SELECT avg_start FROM table_2187333_1 WHERE avg_finish = "18.3" | CREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR) | Name the avg start for avg finish of 18.3 |
SELECT year FROM table_2187333_1 WHERE team_s_ = "#16 Roush Racing" AND poles < 1.0 | CREATE TABLE table_2187333_1 (year VARCHAR, team_s_ VARCHAR, poles VARCHAR) | Name the year for #16 roush racing for poles less than smaller 1.0 |
SELECT listed_owner_s_ FROM table_2187178_1 WHERE primary_sponsor_s_ = "RepairOne" | CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, primary_sponsor_s_ VARCHAR) | Name the listen owners for repairone |
SELECT truck_s_ FROM table_2187178_1 WHERE crew_chief = "Scott Neal" | CREATE TABLE table_2187178_1 (truck_s_ VARCHAR, crew_chief VARCHAR) | Name the trucks for scott neal |
SELECT listed_owner_s_ FROM table_2187178_1 WHERE team = "Brevak Racing" | CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, team VARCHAR) | Name the listed owners for brevak racing |
SELECT crew_chief FROM table_2187178_1 WHERE driver_s_ = "Ricky Craven" | CREATE TABLE table_2187178_1 (crew_chief VARCHAR, driver_s_ VARCHAR) | Name the crew chief for ricky craven |
SELECT driver_s_ FROM table_2187178_1 WHERE primary_sponsor_s_ = "Superchips" | CREATE TABLE table_2187178_1 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR) | Name the drivers for superchips |
SELECT year__ceremony_ FROM table_21904740_1 WHERE spanish_title = "Viva Cuba" | CREATE TABLE table_21904740_1 (year__ceremony_ VARCHAR, spanish_title VARCHAR) | When was Viva Cuba submitted? |
SELECT name_or_number FROM table_2189647_1 WHERE yield__megatons_ = "15" | CREATE TABLE table_2189647_1 (name_or_number VARCHAR, yield__megatons_ VARCHAR) | Name the name for 15 yield |
SELECT COUNT(state_rank_by_revenue) FROM table_21926985_2 WHERE known_for = "Retailing" | CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, known_for VARCHAR) | What is the rank of the company known for retailing? |
SELECT state_rank_by_revenue FROM table_21926985_2 WHERE company_name = "Murphy Oil" | CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, company_name VARCHAR) | What is the rank for Murphy Oil? |
SELECT headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.3" | CREATE TABLE table_21926985_2 (headquarters_city VARCHAR, revenue__$billions__2012_estimate VARCHAR) | Where is the company with estimated revenue of 33.3 billion headquartered? |
SELECT MIN(national_rank) FROM table_21926985_2 WHERE company_name = "Windstream" | CREATE TABLE table_21926985_2 (national_rank INTEGER, company_name VARCHAR) | What is the national rank of Windstream? |
SELECT state_rank_by_revenue FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "6.8" | CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, revenue__$billions__2012_estimate VARCHAR) | What is the state rank of the company with 6.8 billion in revenue? |
SELECT entrant FROM table_21977704_1 WHERE driver = "Benedicto Campos" | CREATE TABLE table_21977704_1 (entrant VARCHAR, driver VARCHAR) | Name the entrant for benedicto campos |
SELECT no FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Juan Manuel Fangio" | CREATE TABLE table_21977704_1 (no VARCHAR, entrant VARCHAR, driver VARCHAR) | Name the number for automóvil club argentino for juan manuel fangio |
SELECT MAX(no) FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Benedicto Campos" | CREATE TABLE table_21977704_1 (no INTEGER, entrant VARCHAR, driver VARCHAR) | Name the most number for automóvil club argentino for benedicto campos |
SELECT driver FROM table_21977704_1 WHERE engine = "Talbot L6" | CREATE TABLE table_21977704_1 (driver VARCHAR, engine VARCHAR) | Name the driver for talbot l6 |
SELECT constructor FROM table_21977704_1 WHERE driver = "Alberto Ascari" | CREATE TABLE table_21977704_1 (constructor VARCHAR, driver VARCHAR) | Name the constructor for alberto ascari |
Subsets and Splits