context stringlengths 27 489 | question stringlengths 12 244 | answer stringlengths 18 557 |
|---|---|---|
CREATE TABLE table_21839208_4 (record VARCHAR, week VARCHAR) | What was their record in week 11? | SELECT record FROM table_21839208_4 WHERE week = 11 |
CREATE TABLE table_2187333_1 (wins INTEGER) | Name the least wins | SELECT MIN(wins) FROM table_2187333_1 |
CREATE TABLE table_2187333_1 (avg_start VARCHAR, avg_finish VARCHAR) | Name the avg start for avg finish of 18.3 | SELECT avg_start FROM table_2187333_1 WHERE avg_finish = "18.3" |
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 year FROM table_2187333_1 WHERE team_s_ = "#16 Roush Racing" AND poles < 1.0 |
CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, primary_sponsor_s_ VARCHAR) | Name the listen owners for repairone | SELECT listed_owner_s_ FROM table_2187178_1 WHERE primary_sponsor_s_ = "RepairOne" |
CREATE TABLE table_2187178_1 (truck_s_ VARCHAR, crew_chief VARCHAR) | Name the trucks for scott neal | SELECT truck_s_ FROM table_2187178_1 WHERE crew_chief = "Scott Neal" |
CREATE TABLE table_2187178_1 (listed_owner_s_ VARCHAR, team VARCHAR) | Name the listed owners for brevak racing | SELECT listed_owner_s_ FROM table_2187178_1 WHERE team = "Brevak Racing" |
CREATE TABLE table_2187178_1 (crew_chief VARCHAR, driver_s_ VARCHAR) | Name the crew chief for ricky craven | SELECT crew_chief FROM table_2187178_1 WHERE driver_s_ = "Ricky Craven" |
CREATE TABLE table_2187178_1 (driver_s_ VARCHAR, primary_sponsor_s_ VARCHAR) | Name the drivers for superchips | SELECT driver_s_ FROM table_2187178_1 WHERE primary_sponsor_s_ = "Superchips" |
CREATE TABLE table_21904740_1 (year__ceremony_ VARCHAR, spanish_title VARCHAR) | When was Viva Cuba submitted? | SELECT year__ceremony_ FROM table_21904740_1 WHERE spanish_title = "Viva Cuba" |
CREATE TABLE table_2189647_1 (name_or_number VARCHAR, yield__megatons_ VARCHAR) | Name the name for 15 yield | SELECT name_or_number FROM table_2189647_1 WHERE yield__megatons_ = "15" |
CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, known_for VARCHAR) | What is the rank of the company known for retailing? | SELECT COUNT(state_rank_by_revenue) FROM table_21926985_2 WHERE known_for = "Retailing" |
CREATE TABLE table_21926985_2 (state_rank_by_revenue VARCHAR, company_name VARCHAR) | What is the rank for Murphy Oil? | SELECT state_rank_by_revenue FROM table_21926985_2 WHERE company_name = "Murphy Oil" |
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 headquarters_city FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "33.3" |
CREATE TABLE table_21926985_2 (national_rank INTEGER, company_name VARCHAR) | What is the national rank of Windstream? | SELECT MIN(national_rank) FROM table_21926985_2 WHERE company_name = "Windstream" |
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 state_rank_by_revenue FROM table_21926985_2 WHERE revenue__$billions__2012_estimate = "6.8" |
CREATE TABLE table_21977704_1 (entrant VARCHAR, driver VARCHAR) | Name the entrant for benedicto campos | SELECT entrant FROM table_21977704_1 WHERE driver = "Benedicto Campos" |
CREATE TABLE table_21977704_1 (no VARCHAR, entrant VARCHAR, driver VARCHAR) | Name the number for automóvil club argentino for juan manuel fangio | SELECT no FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Juan Manuel Fangio" |
CREATE TABLE table_21977704_1 (no INTEGER, entrant VARCHAR, driver VARCHAR) | Name the most number for automóvil club argentino for benedicto campos | SELECT MAX(no) FROM table_21977704_1 WHERE entrant = "Automóvil Club Argentino" AND driver = "Benedicto Campos" |
CREATE TABLE table_21977704_1 (driver VARCHAR, engine VARCHAR) | Name the driver for talbot l6 | SELECT driver FROM table_21977704_1 WHERE engine = "Talbot L6" |
CREATE TABLE table_21977704_1 (constructor VARCHAR, driver VARCHAR) | Name the constructor for alberto ascari | SELECT constructor FROM table_21977704_1 WHERE driver = "Alberto Ascari" |
CREATE TABLE table_21977704_1 (chassis VARCHAR, constructor VARCHAR) | Name the chassis for alta | SELECT chassis FROM table_21977704_1 WHERE constructor = "Alta" |
CREATE TABLE table_21977627_1 (no INTEGER, chassis VARCHAR) | The Maserati 4cl's minimum no was? | SELECT MIN(no) FROM table_21977627_1 WHERE chassis = "Maserati 4CL" |
CREATE TABLE table_21977627_1 (entrant VARCHAR, driver VARCHAR) | How many entrants was yves giraud-cabantous? | SELECT COUNT(entrant) FROM table_21977627_1 WHERE driver = "Yves Giraud-Cabantous" |
CREATE TABLE table_21977627_1 (chassis VARCHAR, engine VARCHAR) | What chasis did the maserati l6s have? | SELECT chassis FROM table_21977627_1 WHERE engine = "Maserati L6s" |
CREATE TABLE table_21977627_1 (driver VARCHAR, entrant VARCHAR) | How many drivers did Bob Gerard Racing have? | SELECT COUNT(driver) FROM table_21977627_1 WHERE entrant = "Bob Gerard Racing" |
CREATE TABLE table_21991074_1 (pts_agst VARCHAR, points VARCHAR) | For the team with 7 points, how many points were scored against this season? | SELECT COUNT(pts_agst) FROM table_21991074_1 WHERE points = 7 |
CREATE TABLE table_21991074_1 (pts_agst INTEGER) | What is the maximum number of points scored against? | SELECT MAX(pts_agst) FROM table_21991074_1 |
CREATE TABLE table_21991074_1 (average VARCHAR, club VARCHAR) | What is Chesterfield Spires average? | SELECT average FROM table_21991074_1 WHERE club = "Chesterfield Spires" |
CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR) | What is the total number of January (°C) temperatures when the July (°C) temperatures were 22/13? | SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "22/13" |
CREATE TABLE table_21980_1 (january__ VARCHAR, july__°c_ VARCHAR) | What is the total number of January (°C) temperatures when the July (°C) temperatures were 23/15? | SELECT COUNT(january__) AS °c_ FROM table_21980_1 WHERE july__°c_ = "23/15" |
CREATE TABLE table_21980_1 (location VARCHAR, january__°f_ VARCHAR) | In what location were the January (°F) temperatures 30/17? | SELECT location FROM table_21980_1 WHERE january__°f_ = "30/17" |
CREATE TABLE table_21980_1 (july__°c_ VARCHAR, july__°f_ VARCHAR) | What were the July (°C) temperatures when the July (°F) temperatures were 71/55? | SELECT july__°c_ FROM table_21980_1 WHERE july__°f_ = "71/55" |
CREATE TABLE table_21980_1 (january__°f_ VARCHAR, location VARCHAR) | What were the January (°F) temperatures in the Corner Brook location? | SELECT january__°f_ FROM table_21980_1 WHERE location = "Corner Brook" |
CREATE TABLE table_21991074_3 (pts_agst INTEGER) | Name the most points agst | SELECT MAX(pts_agst) FROM table_21991074_3 |
CREATE TABLE table_21991074_3 (lost INTEGER) | Name the least lost | SELECT MIN(lost) FROM table_21991074_3 |
CREATE TABLE table_21979779_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) | who are the writers of the episode that had 3.07 millions of North American spectators? | SELECT written_by FROM table_21979779_1 WHERE us_viewers__million_ = "3.07" |
CREATE TABLE table_21979779_1 (no INTEGER, production_code VARCHAR) | what is the biggest series episode number whose production code is 2t7211? | SELECT MAX(no) FROM table_21979779_1 WHERE production_code = "2T7211" |
CREATE TABLE table_21979779_1 (no INTEGER, production_code VARCHAR) | what is the smallest series episode number whose production code is 2t7211? | SELECT MIN(no) FROM table_21979779_1 WHERE production_code = "2T7211" |
CREATE TABLE table_21979779_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) | when was the premiere of the episode where the amount of North American spectators was 1.76 millions? | SELECT original_air_date FROM table_21979779_1 WHERE us_viewers__million_ = "1.76" |
CREATE TABLE table_21994729_3 (series__number INTEGER, prod_code VARCHAR) | how many maximum series number have 2apx05 prod. code. | SELECT MAX(series__number) FROM table_21994729_3 WHERE prod_code = "2APX05" |
CREATE TABLE table_21994729_3 (title VARCHAR, directed_by VARCHAR) | What are all the title directed by reginald hudlin | SELECT COUNT(title) FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin" |
CREATE TABLE table_21994729_3 (written_by VARCHAR, directed_by VARCHAR) | reginald hudlin directed how many written by. | SELECT written_by FROM table_21994729_3 WHERE directed_by = "Reginald Hudlin" |
CREATE TABLE table_21994729_2 (written_by VARCHAR, prod_code VARCHAR) | Who wore the episode with the production code of 1apx11? | SELECT written_by FROM table_21994729_2 WHERE prod_code = "1APX11" |
CREATE TABLE table_21995420_9 (total VARCHAR, rank VARCHAR) | If the rank is 11, what is the total amount? | SELECT total FROM table_21995420_9 WHERE rank = 11 |
CREATE TABLE table_21995420_9 (stunts VARCHAR, school VARCHAR) | If the school is Central Colleges of the Philippines CCP Bobcats, what is the stunts number? | SELECT stunts FROM table_21995420_9 WHERE school = "Central Colleges of the Philippines CCP Bobcats" |
CREATE TABLE table_22011138_7 (pos VARCHAR) | If the POS is 3, what is the 08 points? | SELECT 08 AS _pts FROM table_22011138_7 WHERE pos = 3 |
CREATE TABLE table_22011138_7 (team VARCHAR) | If the team is Rubio ñú, what is the 08 points? | SELECT 08 AS _pts FROM table_22011138_7 WHERE team = "Rubio Ñú" |
CREATE TABLE table_22011138_7 (total_pts INTEGER, avg VARCHAR) | If the average is 1.2803, what is the total points maximum? | SELECT MAX(total_pts) FROM table_22011138_7 WHERE avg = "1.2803" |
CREATE TABLE table_22011138_7 (total_pld VARCHAR, pos VARCHAR) | If the POS is 4, what is the total PLD? | SELECT total_pld FROM table_22011138_7 WHERE pos = 4 |
CREATE TABLE table_22014431_3 (team_name VARCHAR, total VARCHAR) | What is the team name when 243 is the total? | SELECT team_name FROM table_22014431_3 WHERE total = "243" |
CREATE TABLE table_22014431_3 (team_name VARCHAR, tumbling VARCHAR) | Which team names have 44.5 for tumbling? | SELECT team_name FROM table_22014431_3 WHERE tumbling = "44.5" |
CREATE TABLE table_22014431_3 (total VARCHAR, tosses_pyramids VARCHAR) | What is the total if 44 is tosses/pyramids? | SELECT total FROM table_22014431_3 WHERE tosses_pyramids = "44" |
CREATE TABLE table_22014431_3 (deductions VARCHAR, tosses_pyramids VARCHAR) | How many deductions have 56.5 as tosses/pyramids? | SELECT deductions FROM table_22014431_3 WHERE tosses_pyramids = "56.5" |
CREATE TABLE table_22014431_3 (rank VARCHAR, tumbling VARCHAR) | What is the rank when 36.5 is tumbling? | SELECT COUNT(rank) FROM table_22014431_3 WHERE tumbling = "36.5" |
CREATE TABLE table_22014431_3 (rank INTEGER, tosses_pyramids VARCHAR) | What is the rank when 64.5 is tosses/pyramids? | SELECT MAX(rank) FROM table_22014431_3 WHERE tosses_pyramids = "64.5" |
CREATE TABLE table_2201724_2 (outcome VARCHAR, championship VARCHAR) | How many different outcomes of the French Championships were there? | SELECT COUNT(outcome) FROM table_2201724_2 WHERE championship = "French championships" |
CREATE TABLE table_2201724_2 (score_in_the_final VARCHAR, year VARCHAR) | How many different final scores were there in 1963? | SELECT COUNT(score_in_the_final) FROM table_2201724_2 WHERE year = 1963 |
CREATE TABLE table_22020724_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) | Who directed the film titled 'Steam of Life'? | SELECT director FROM table_22020724_1 WHERE film_title_used_in_nomination = "Steam of Life" |
CREATE TABLE table_22020724_1 (year__ceremony_ VARCHAR, title_in_the_original_language VARCHAR) | What year was the ceremony where the film 'Tummien Perhosten Koti' was submitted? | SELECT year__ceremony_ FROM table_22020724_1 WHERE title_in_the_original_language = "Tummien perhosten koti" |
CREATE TABLE table_22020724_1 (result VARCHAR, title_in_the_original_language VARCHAR) | What are the results for the film titled 'Joki'? | SELECT COUNT(result) FROM table_22020724_1 WHERE title_in_the_original_language = "Joki" |
CREATE TABLE table_2203760_4 (domestic_box_office VARCHAR, foreign_box_office VARCHAR) | What was the domestic box office for the film that had a foreign box office of $26,600,000? | SELECT domestic_box_office FROM table_2203760_4 WHERE foreign_box_office = "$26,600,000" |
CREATE TABLE table_2203760_4 (domestic_box_office VARCHAR, film VARCHAR) | What was the domestic box office for "House on Haunted Hill"? | SELECT domestic_box_office FROM table_2203760_4 WHERE film = "House on Haunted Hill" |
CREATE TABLE table_2203760_4 (budget VARCHAR, film VARCHAR) | What was the budget for "Thirteen Ghosts"? | SELECT budget FROM table_2203760_4 WHERE film = "Thirteen Ghosts" |
CREATE TABLE table_22043925_1 (school VARCHAR, location VARCHAR) | What is every school for the Adelaide location? | SELECT school FROM table_22043925_1 WHERE location = "Adelaide" |
CREATE TABLE table_22043925_1 (founded VARCHAR, enrolment VARCHAR) | How many values for founded when enrollment is 850? | SELECT COUNT(founded) FROM table_22043925_1 WHERE enrolment = 850 |
CREATE TABLE table_22043925_1 (denomination VARCHAR, school VARCHAR) | What is every denomination for the school Seymour college? | SELECT denomination FROM table_22043925_1 WHERE school = "Seymour College" |
CREATE TABLE table_22050544_3 (date VARCHAR, event__number VARCHAR) | Event number 38m was held on which date? | SELECT date FROM table_22050544_3 WHERE event__number = "38M" |
CREATE TABLE table_22050544_3 (winner VARCHAR, event VARCHAR) | Who won the $109 no limit hold'em w/rebuys [turbo]? | SELECT winner FROM table_22050544_3 WHERE event = "$109 No Limit Hold'em w/rebuys [Turbo]" |
CREATE TABLE table_22050544_3 (event VARCHAR, entries VARCHAR) | Which event had 25,883 entries? | SELECT event FROM table_22050544_3 WHERE entries = "25,883" |
CREATE TABLE table_22050544_3 (elapsed_time VARCHAR, event VARCHAR) | How many categories for elapsed time exist for the $16.50 fixed-limit badugi game? | SELECT COUNT(elapsed_time) FROM table_22050544_3 WHERE event = "$16.50 Fixed-Limit Badugi" |
CREATE TABLE table_22032599_1 (year__ceremony_ VARCHAR, director VARCHAR) | What year did jaroslav vojtek category:articles with hcards Direct? | SELECT year__ceremony_ FROM table_22032599_1 WHERE director = "Jaroslav Vojtek Category:Articles with hCards" |
CREATE TABLE table_22032599_1 (result VARCHAR, film_title_used_in_nomination VARCHAR) | What was the result for Gypsy? | SELECT result FROM table_22032599_1 WHERE film_title_used_in_nomination = "Gypsy" |
CREATE TABLE table_22032599_1 (film_title_used_in_nomination VARCHAR, director VARCHAR) | HOw many films did martin repka category:articles with hcards direct? | SELECT COUNT(film_title_used_in_nomination) FROM table_22032599_1 WHERE director = "Martin Repka Category:Articles with hCards" |
CREATE TABLE table_22032599_1 (result VARCHAR, film_title_used_in_nomination VARCHAR) | What was the result for City of the Sun? | SELECT result FROM table_22032599_1 WHERE film_title_used_in_nomination = "City of the Sun" |
CREATE TABLE table_22034853_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) | What was the language for the movie "Late Bloomers"? | SELECT language_s_ FROM table_22034853_1 WHERE film_title_used_in_nomination = "Late Bloomers" |
CREATE TABLE table_22034853_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR) | How many original titles were listed as "If the Sun Never Returns"? | SELECT COUNT(original_title) FROM table_22034853_1 WHERE film_title_used_in_nomination = "If the Sun Never Returns" |
CREATE TABLE table_22034853_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR) | What was the language of "Mein Name Ist Bach"? | SELECT language_s_ FROM table_22034853_1 WHERE film_title_used_in_nomination = "Mein Name Ist Bach" |
CREATE TABLE table_22034853_1 (year__ceremony_ VARCHAR, original_title VARCHAR) | What was the year for the film "Vitus"? | SELECT year__ceremony_ FROM table_22034853_1 WHERE original_title = "Vitus" |
CREATE TABLE table_22034853_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) | How many films are titled "Dans la Ville Blanche"? | SELECT COUNT(film_title_used_in_nomination) FROM table_22034853_1 WHERE original_title = "Dans la ville blanche" |
CREATE TABLE table_22053239_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) | How many of the writers had 5.35 viewers? | SELECT COUNT(written_by) FROM table_22053239_1 WHERE us_viewers__millions_ = "5.35" |
CREATE TABLE table_22050544_4 (elapsed_time VARCHAR, prize VARCHAR) | What was the elapsed time for the championship that had $9,377.42 in prize money? | SELECT elapsed_time FROM table_22050544_4 WHERE prize = "$9,377.42" |
CREATE TABLE table_22050544_4 (prize VARCHAR, event__number VARCHAR) | What was the prize pool for the event number 27H? | SELECT prize AS Pool FROM table_22050544_4 WHERE event__number = "27H" |
CREATE TABLE table_22050544_4 (event VARCHAR, event__number VARCHAR) | What is the event name with the number 8M? | SELECT event FROM table_22050544_4 WHERE event__number = "8M" |
CREATE TABLE table_22071705_6 (country VARCHAR) | Name the total number 1980 mil for soviet union | SELECT COUNT(1980 AS __mil_) FROM table_22071705_6 WHERE country = "Soviet Union" |
CREATE TABLE table_22073745_1 (languages VARCHAR, film_title_used_in_nomination VARCHAR) | How many languages have elles as the film title used in nomination? | SELECT COUNT(languages) FROM table_22073745_1 WHERE film_title_used_in_nomination = "Elles" |
CREATE TABLE table_22073745_1 (languages VARCHAR, film_title_used_in_nomination VARCHAR) | How many languages is refractaire as the film title used in nomination? | SELECT COUNT(languages) FROM table_22073745_1 WHERE film_title_used_in_nomination = "Refractaire" |
CREATE TABLE table_22073745_1 (languages VARCHAR, original_title VARCHAR) | How many languages have le roman de renart as the original title? | SELECT COUNT(languages) FROM table_22073745_1 WHERE original_title = "Le Roman de Renart" |
CREATE TABLE table_22073745_1 (director VARCHAR, original_title VARCHAR) | Who is the director of the original title perl oder pica? | SELECT director FROM table_22073745_1 WHERE original_title = "Perl oder Pica" |
CREATE TABLE table_22073745_1 (result VARCHAR, year__ceremony_ VARCHAR) | What is the result of the 2005 (78th) year ceremony? | SELECT result FROM table_22073745_1 WHERE year__ceremony_ = "2005 (78th)" |
CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR) | What is the title that has 14.59 u.s. viewers (millions)? | SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "14.59" |
CREATE TABLE table_22078691_2 (title VARCHAR, us_viewers__millions_ VARCHAR) | What is the title that had 13.59 u.s. viewers (millions)? | SELECT title FROM table_22078691_2 WHERE us_viewers__millions_ = "13.59" |
CREATE TABLE table_22081847_1 (money_list_rank VARCHAR, earnings__$_ VARCHAR) | If the earning amount is $309,886, what is the money list ranking? | SELECT money_list_rank FROM table_22081847_1 WHERE earnings__$_ = "309,886" |
CREATE TABLE table_22081847_1 (wins INTEGER) | What was the maximum number of wins? | SELECT MAX(wins) FROM table_22081847_1 |
CREATE TABLE table_22081847_1 (scoring_average VARCHAR, year VARCHAR) | If the year is 2010, what was the average score? | SELECT scoring_average FROM table_22081847_1 WHERE year = 2010 |
CREATE TABLE table_22083044_2 (event VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) | How many times did Tim Macrow and Joey Foster both got the fastest lap and pole position respectively? | SELECT COUNT(event) FROM table_22083044_2 WHERE fastest_lap = "Tim Macrow" AND pole_position = "Joey Foster" |
CREATE TABLE table_22083044_2 (winning_team VARCHAR, circuit VARCHAR, fastest_lap VARCHAR) | What was the winning team where Tim Macrow won the fastest lap on Queensland Raceway circuit? | SELECT winning_team FROM table_22083044_2 WHERE circuit = "Queensland Raceway" AND fastest_lap = "Tim Macrow" |
CREATE TABLE table_22078972_2 (no_in_series INTEGER, written_by VARCHAR) | What's the series number of the episode whose writer is David North? | SELECT MAX(no_in_series) FROM table_22078972_2 WHERE written_by = "David North" |
CREATE TABLE table_22078972_2 (no_in_series INTEGER, us_viewers__millions_ VARCHAR) | What's the series number of the episode seen by 17.04 million people in the US? | SELECT MAX(no_in_series) FROM table_22078972_2 WHERE us_viewers__millions_ = "17.04" |
CREATE TABLE table_22078972_2 (title VARCHAR, us_viewers__millions_ VARCHAR) | What's the title of the episode first seen by 18.15 million people in the US? | SELECT title FROM table_22078972_2 WHERE us_viewers__millions_ = "18.15" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.