instruction stringlengths 67 299 | input stringlengths 88 550 | output stringlengths 32 484 |
|---|---|---|
Write a SQL query that answers the following question: Name the channels when designation is pc700 | The relevant table was constructed using the following SQL : CREATE TABLE table_142573_1 (channels VARCHAR, designation VARCHAR) | SELECT channels FROM table_142573_1 WHERE designation = "PC700" |
Write a SQL query that answers the following question: Name the maximum clock rate mhz | The relevant table was constructed using the following SQL : CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER) | SELECT MAX(clock_rate__mhz_) FROM table_142573_1 |
Write a SQL query that answers the following question: Name the bus width bits when bandwidth mb/s is 3200 | The relevant table was constructed using the following SQL : CREATE TABLE table_142573_1 (bus_width__bits_ VARCHAR, bandwidth__mb_s_ VARCHAR) | SELECT bus_width__bits_ FROM table_142573_1 WHERE bandwidth__mb_s_ = 3200 |
Write a SQL query that answers the following question: Name the least clock rate mhz | The relevant table was constructed using the following SQL : CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER) | SELECT MIN(clock_rate__mhz_) FROM table_142573_1 |
Write a SQL query that answers the following question: Name the least clock rate mhz when designation is rimm 4200 | The relevant table was constructed using the following SQL : CREATE TABLE table_142573_1 (clock_rate__mhz_ INTEGER, designation VARCHAR) | SELECT MIN(clock_rate__mhz_) FROM table_142573_1 WHERE designation = "RIMM 4200" |
Write a SQL query that answers the following question: Name the number of clock rate mhz when bandwidth mb/s is 2400 | The relevant table was constructed using the following SQL : CREATE TABLE table_142573_1 (clock_rate__mhz_ VARCHAR, bandwidth__mb_s_ VARCHAR) | SELECT COUNT(clock_rate__mhz_) FROM table_142573_1 WHERE bandwidth__mb_s_ = 2400 |
Write a SQL query that answers the following question: Which elementary schools list Cort Monroe as the principal from 2013 to 2014? | The relevant table was constructed using the following SQL : CREATE TABLE table_14254419_3 (elementary_schools VARCHAR, principal__2013_2014_ VARCHAR) | SELECT elementary_schools FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe" |
Write a SQL query that answers the following question: Who are all the assistant principals that served from 2013-2014 under the principal Cort Monroe? | The relevant table was constructed using the following SQL : CREATE TABLE table_14254419_3 (Assistant VARCHAR, principal__2013_2014_ VARCHAR) | SELECT Assistant AS principal__2013_2014_ FROM table_14254419_3 WHERE principal__2013_2014_ = "Cort Monroe" |
Write a SQL query that answers the following question: Who played in the series that resulted in matches with the following scores: 0–3 0–8 0–1 0–2 0–3 1–4 0–9 0–5? | The relevant table was constructed using the following SQL : CREATE TABLE table_14263158_3 (opponent VARCHAR, result VARCHAR) | SELECT opponent FROM table_14263158_3 WHERE result = "0–3 0–8 0–1 0–2 0–3 1–4 0–9 0–5" |
Write a SQL query that answers the following question: Where was there a change of 6.5%? | The relevant table was constructed using the following SQL : CREATE TABLE table_1425958_1 (name VARCHAR, _percentage_change VARCHAR) | SELECT name FROM table_1425958_1 WHERE _percentage_change = "6.5" |
Write a SQL query that answers the following question: When the change is 8.8%, what is the density (pop/km²)? | The relevant table was constructed using the following SQL : CREATE TABLE table_1425958_1 (density__pop_km²_ VARCHAR, _percentage_change VARCHAR) | SELECT density__pop_km²_ FROM table_1425958_1 WHERE _percentage_change = "8.8" |
Write a SQL query that answers the following question: How many locations had a density (pop/km²) of 91.8 in the 2011 census? | The relevant table was constructed using the following SQL : CREATE TABLE table_1425958_1 (density__pop_km²_ VARCHAR) | SELECT COUNT(2011 AS _census) FROM table_1425958_1 WHERE density__pop_km²_ = "91.8" |
Write a SQL query that answers the following question: When the % change is 8.4, what is the population rank? | The relevant table was constructed using the following SQL : CREATE TABLE table_1425958_1 (population_rank INTEGER, _percentage_change VARCHAR) | SELECT MIN(population_rank) FROM table_1425958_1 WHERE _percentage_change = "8.4" |
Write a SQL query that answers the following question: When the population rank is 34, what the is % change? | The relevant table was constructed using the following SQL : CREATE TABLE table_1425958_1 (_percentage_change VARCHAR, population_rank VARCHAR) | SELECT _percentage_change FROM table_1425958_1 WHERE population_rank = 34 |
Write a SQL query that answers the following question: How many teams scored exactly 38 points | The relevant table was constructed using the following SQL : CREATE TABLE table_14288212_1 (team VARCHAR, points_for VARCHAR) | SELECT COUNT(team) FROM table_14288212_1 WHERE points_for = 38 |
Write a SQL query that answers the following question: In what year did Italy begin playing? | The relevant table was constructed using the following SQL : CREATE TABLE table_14288212_1 (first_played INTEGER, team VARCHAR) | SELECT MIN(first_played) FROM table_14288212_1 WHERE team = "Italy" |
Write a SQL query that answers the following question: For teams that played 5 games, what was the smallest number of wins? | The relevant table was constructed using the following SQL : CREATE TABLE table_14288212_1 (win INTEGER, played VARCHAR) | SELECT MIN(win) FROM table_14288212_1 WHERE played = 5 |
Write a SQL query that answers the following question: How many games did the team that began in 2011 and scored 36 points play? | The relevant table was constructed using the following SQL : CREATE TABLE table_14288212_1 (played VARCHAR, first_played VARCHAR, points_for VARCHAR) | SELECT COUNT(played) FROM table_14288212_1 WHERE first_played = 2011 AND points_for = 36 |
Write a SQL query that answers the following question: What are all the run times with 8.2 million viewers? | The relevant table was constructed using the following SQL : CREATE TABLE table_1429629_1 (run_time VARCHAR, viewers__in_millions_ VARCHAR) | SELECT run_time FROM table_1429629_1 WHERE viewers__in_millions_ = "8.2" |
Write a SQL query that answers the following question: What are all the episodes with an episode run time of 24:01? | The relevant table was constructed using the following SQL : CREATE TABLE table_1429629_1 (episode VARCHAR, run_time VARCHAR) | SELECT episode FROM table_1429629_1 WHERE run_time = "24:01" |
Write a SQL query that answers the following question: How many episodes had a broadcast date and run time of 24:43? | The relevant table was constructed using the following SQL : CREATE TABLE table_1429629_1 (broadcast_date VARCHAR, run_time VARCHAR) | SELECT COUNT(broadcast_date) FROM table_1429629_1 WHERE run_time = "24:43" |
Write a SQL query that answers the following question: How many members gained university status in 1900? | The relevant table was constructed using the following SQL : CREATE TABLE table_142950_1 (research_funding__ VARCHAR, gained_university_status VARCHAR) | SELECT COUNT(research_funding__) AS £, 000 AS _ FROM table_142950_1 WHERE gained_university_status = 1900 |
Write a SQL query that answers the following question: What is the largest number of students? | The relevant table was constructed using the following SQL : CREATE TABLE table_142950_1 (total_number_of_students INTEGER) | SELECT MAX(total_number_of_students) FROM table_142950_1 |
Write a SQL query that answers the following question: How many members have professor edward acton as vice-chancellor? | The relevant table was constructed using the following SQL : CREATE TABLE table_142950_1 (total_number_of_students VARCHAR, vice_chancellor VARCHAR) | SELECT COUNT(total_number_of_students) FROM table_142950_1 WHERE vice_chancellor = "Professor Edward Acton" |
Write a SQL query that answers the following question: What is the year leicester was established? | The relevant table was constructed using the following SQL : CREATE TABLE table_142950_1 (established INTEGER, location VARCHAR) | SELECT MAX(established) FROM table_142950_1 WHERE location = "Leicester" |
Write a SQL query that answers the following question: which country has miss universe Hungary as former pageant? | The relevant table was constructed using the following SQL : CREATE TABLE table_14308895_2 (country_territory VARCHAR, former_pageant VARCHAR) | SELECT country_territory FROM table_14308895_2 WHERE former_pageant = "Miss Universe Hungary" |
Write a SQL query that answers the following question: which is the former pageant in the country where the new pageant is miss bahamas? | The relevant table was constructed using the following SQL : CREATE TABLE table_14308895_2 (former_pageant VARCHAR, new_pageant VARCHAR) | SELECT former_pageant FROM table_14308895_2 WHERE new_pageant = "Miss Bahamas" |
Write a SQL query that answers the following question: when did new zealand last compete? | The relevant table was constructed using the following SQL : CREATE TABLE table_14308895_2 (last_competed INTEGER, country_territory VARCHAR) | SELECT MAX(last_competed) FROM table_14308895_2 WHERE country_territory = "New Zealand" |
Write a SQL query that answers the following question: How many new pageants does Aruba have? | The relevant table was constructed using the following SQL : CREATE TABLE table_14308895_2 (new_pageant VARCHAR, country_territory VARCHAR) | SELECT COUNT(new_pageant) FROM table_14308895_2 WHERE country_territory = "Aruba" |
Write a SQL query that answers the following question: which is the new pageant from spain? | The relevant table was constructed using the following SQL : CREATE TABLE table_14308895_2 (new_pageant VARCHAR, country_territory VARCHAR) | SELECT new_pageant FROM table_14308895_2 WHERE country_territory = "Spain" |
Write a SQL query that answers the following question: Who was the away team when Carlton was the home team? | The relevant table was constructed using the following SQL : CREATE TABLE table_14312471_1 (away_team VARCHAR, home_team VARCHAR) | SELECT away_team FROM table_14312471_1 WHERE home_team = "Carlton" |
Write a SQL query that answers the following question: what is the number of teams where conmebol 1996 did not qualify? | The relevant table was constructed using the following SQL : CREATE TABLE table_14310205_1 (team VARCHAR, conmebol_1996 VARCHAR) | SELECT COUNT(team) FROM table_14310205_1 WHERE conmebol_1996 = "did not qualify" |
Write a SQL query that answers the following question: what is the racing club where copa libertadores 1997? | The relevant table was constructed using the following SQL : CREATE TABLE table_14310205_1 (copa_libertadores_1997 VARCHAR, team VARCHAR) | SELECT copa_libertadores_1997 FROM table_14310205_1 WHERE team = "Racing Club" |
Write a SQL query that answers the following question: what is th copa libertadores 1997 is qf? | The relevant table was constructed using the following SQL : CREATE TABLE table_14310205_1 (copa_libertadores_1997 VARCHAR, supercopa_1996 VARCHAR) | SELECT copa_libertadores_1997 FROM table_14310205_1 WHERE supercopa_1996 = "QF" |
Write a SQL query that answers the following question: What's the maximum crowd when scg is the ground? | The relevant table was constructed using the following SQL : CREATE TABLE table_14312471_4 (crowd INTEGER, ground VARCHAR) | SELECT MAX(crowd) FROM table_14312471_4 WHERE ground = "SCG" |
Write a SQL query that answers the following question: What are the ground where the crowd totals 19929? | The relevant table was constructed using the following SQL : CREATE TABLE table_14312471_4 (ground VARCHAR, crowd VARCHAR) | SELECT ground FROM table_14312471_4 WHERE crowd = 19929 |
Write a SQL query that answers the following question: Name the home team for manuka oval | The relevant table was constructed using the following SQL : CREATE TABLE table_14312471_3 (home_team VARCHAR, ground VARCHAR) | SELECT home_team FROM table_14312471_3 WHERE ground = "Manuka Oval" |
Write a SQL query that answers the following question: Name the away team score for richmond | The relevant table was constructed using the following SQL : CREATE TABLE table_14312471_3 (away_team VARCHAR) | SELECT away_team AS score FROM table_14312471_3 WHERE away_team = "Richmond" |
Write a SQL query that answers the following question: Who made the report when the home team is north Melbourne? | The relevant table was constructed using the following SQL : CREATE TABLE table_14312471_7 (report VARCHAR, home_team VARCHAR) | SELECT report FROM table_14312471_7 WHERE home_team = "North Melbourne" |
Write a SQL query that answers the following question: Who played Richmond at home? | The relevant table was constructed using the following SQL : CREATE TABLE table_14312471_7 (home_team VARCHAR, away_team VARCHAR) | SELECT home_team FROM table_14312471_7 WHERE away_team = "Richmond" |
Write a SQL query that answers the following question: Who has the home ground Aami stadium? | The relevant table was constructed using the following SQL : CREATE TABLE table_14312471_7 (home_team VARCHAR, ground VARCHAR) | SELECT home_team FROM table_14312471_7 WHERE ground = "AAMI Stadium" |
Write a SQL query that answers the following question: Who were all candidate when incumbent was D. Wyatt Aiken? | The relevant table was constructed using the following SQL : CREATE TABLE table_1431467_4 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1431467_4 WHERE incumbent = "D. Wyatt Aiken" |
Write a SQL query that answers the following question: How many incumbents for the district of South Carolina 5? | The relevant table was constructed using the following SQL : CREATE TABLE table_1431467_4 (incumbent VARCHAR, district VARCHAR) | SELECT COUNT(incumbent) FROM table_1431467_4 WHERE district = "South Carolina 5" |
Write a SQL query that answers the following question: Who was everyone first elected when incumbent was John J. Hemphill? | The relevant table was constructed using the following SQL : CREATE TABLE table_1431467_4 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1431467_4 WHERE incumbent = "John J. Hemphill" |
Write a SQL query that answers the following question: When the girls singles is lindaweni fanetri what is the mixed doubled? | The relevant table was constructed using the following SQL : CREATE TABLE table_14319023_2 (mixed_doubles VARCHAR, girls_singles VARCHAR) | SELECT mixed_doubles FROM table_14319023_2 WHERE girls_singles = "Lindaweni Fanetri" |
Write a SQL query that answers the following question: When the girls doubles is ayu pratiwi anggi widia what is the boys doubles? | The relevant table was constructed using the following SQL : CREATE TABLE table_14319023_2 (boys_doubles VARCHAR, girls_doubles VARCHAR) | SELECT boys_doubles FROM table_14319023_2 WHERE girls_doubles = "Ayu Pratiwi Anggi Widia" |
Write a SQL query that answers the following question: When mixed doubles is didit juang indrianto yayu rahayu what is the most current year? | The relevant table was constructed using the following SQL : CREATE TABLE table_14319023_2 (year INTEGER, mixed_doubles VARCHAR) | SELECT MAX(year) FROM table_14319023_2 WHERE mixed_doubles = "Didit Juang Indrianto Yayu Rahayu" |
Write a SQL query that answers the following question: When mixed doubles is danny bawa chrisnanta debby susanto what is the boys singles? | The relevant table was constructed using the following SQL : CREATE TABLE table_14319023_2 (boys_singles VARCHAR, mixed_doubles VARCHAR) | SELECT boys_singles FROM table_14319023_2 WHERE mixed_doubles = "Danny Bawa Chrisnanta Debby Susanto" |
Write a SQL query that answers the following question: When girls doubles is anneke feinya agustin wenny setiawati what is the mixed doubles? | The relevant table was constructed using the following SQL : CREATE TABLE table_14319023_2 (mixed_doubles VARCHAR, girls_doubles VARCHAR) | SELECT mixed_doubles FROM table_14319023_2 WHERE girls_doubles = "Anneke Feinya Agustin Wenny Setiawati" |
Write a SQL query that answers the following question: Name the total number of publishers for flushed away | The relevant table was constructed using the following SQL : CREATE TABLE table_14325653_2 (publisher_s_ VARCHAR, video_game VARCHAR) | SELECT COUNT(publisher_s_) FROM table_14325653_2 WHERE video_game = "Flushed Away" |
Write a SQL query that answers the following question: Name the publisher for resident evil 4 | The relevant table was constructed using the following SQL : CREATE TABLE table_14325653_2 (publisher_s_ VARCHAR, video_game VARCHAR) | SELECT publisher_s_ FROM table_14325653_2 WHERE video_game = "Resident Evil 4" |
Write a SQL query that answers the following question: What is the highest total number? | The relevant table was constructed using the following SQL : CREATE TABLE table_14330096_4 (total_number INTEGER) | SELECT MAX(total_number) FROM table_14330096_4 |
Write a SQL query that answers the following question: How many of the episodes have Roger Goldby as the director? | The relevant table was constructed using the following SQL : CREATE TABLE table_14330096_4 (total_number VARCHAR, director VARCHAR) | SELECT total_number FROM table_14330096_4 WHERE director = "Roger Goldby" |
Write a SQL query that answers the following question: Which episodes have Patrick Lau as the director and Lisa Holdsworth as the writer? | The relevant table was constructed using the following SQL : CREATE TABLE table_14330096_4 (title VARCHAR, director VARCHAR, writer VARCHAR) | SELECT title FROM table_14330096_4 WHERE director = "Patrick Lau" AND writer = "Lisa Holdsworth" |
Write a SQL query that answers the following question: What is the Closure date of Hunterston B | The relevant table was constructed using the following SQL : CREATE TABLE table_143352_1 (accounting_closure_date INTEGER, agr_power_station VARCHAR) | SELECT MIN(accounting_closure_date) FROM table_143352_1 WHERE agr_power_station = "Hunterston B" |
Write a SQL query that answers the following question: How many power stations are connected to grid at Heysham 2 | The relevant table was constructed using the following SQL : CREATE TABLE table_143352_1 (connected_to_grid VARCHAR, agr_power_station VARCHAR) | SELECT COUNT(connected_to_grid) FROM table_143352_1 WHERE agr_power_station = "Heysham 2" |
Write a SQL query that answers the following question: What year did construction start at Heysham 1 | The relevant table was constructed using the following SQL : CREATE TABLE table_143352_1 (construction_started VARCHAR, agr_power_station VARCHAR) | SELECT construction_started FROM table_143352_1 WHERE agr_power_station = "Heysham 1" |
Write a SQL query that answers the following question: When did construction start on the Power station with a net MWE of 1190 | The relevant table was constructed using the following SQL : CREATE TABLE table_143352_1 (construction_started INTEGER, net_mwe VARCHAR) | SELECT MIN(construction_started) FROM table_143352_1 WHERE net_mwe = 1190 |
Write a SQL query that answers the following question: Name the most extra points for john heston | The relevant table was constructed using the following SQL : CREATE TABLE table_14341967_2 (extra_points INTEGER, player VARCHAR) | SELECT MAX(extra_points) FROM table_14341967_2 WHERE player = "John Heston" |
Write a SQL query that answers the following question: Who scored the most points? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342367_11 (points INTEGER) | SELECT MAX(points) FROM table_14342367_11 |
Write a SQL query that answers the following question: What position did Joe Maddock play? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342367_11 (position VARCHAR, player VARCHAR) | SELECT position FROM table_14342367_11 WHERE player = "Joe Maddock" |
Write a SQL query that answers the following question: How many extra points did Paul Jones score? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342367_11 (extra_points VARCHAR, player VARCHAR) | SELECT COUNT(extra_points) FROM table_14342367_11 WHERE player = "Paul Jones" |
Write a SQL query that answers the following question: How many points did Albert Herrnstein make? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342367_7 (points VARCHAR, player VARCHAR) | SELECT points FROM table_14342367_7 WHERE player = "Albert Herrnstein" |
Write a SQL query that answers the following question: What positions did Paul Jones play? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342367_7 (position VARCHAR, player VARCHAR) | SELECT position FROM table_14342367_7 WHERE player = "Paul Jones" |
Write a SQL query that answers the following question: What is the least amount of field goals made by a player? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342367_7 (field_goals INTEGER) | SELECT MIN(field_goals) FROM table_14342367_7 |
Write a SQL query that answers the following question: How many extra points did Paul Dickey received | The relevant table was constructed using the following SQL : CREATE TABLE table_14342367_15 (extra_points_1_point INTEGER, player VARCHAR) | SELECT MAX(extra_points_1_point) FROM table_14342367_15 WHERE player = "Paul Dickey" |
Write a SQL query that answers the following question: How many 5 points field goals is minimum | The relevant table was constructed using the following SQL : CREATE TABLE table_14342367_15 (field_goals__5_points_ INTEGER) | SELECT MIN(field_goals__5_points_) FROM table_14342367_15 |
Write a SQL query that answers the following question: How many player with total points of 75 | The relevant table was constructed using the following SQL : CREATE TABLE table_14342367_15 (player VARCHAR, total_points VARCHAR) | SELECT COUNT(player) FROM table_14342367_15 WHERE total_points = 75 |
Write a SQL query that answers the following question: Name the most field goals | The relevant table was constructed using the following SQL : CREATE TABLE table_14342480_5 (field_goals INTEGER) | SELECT MAX(field_goals) FROM table_14342480_5 |
Write a SQL query that answers the following question: Name the number of points for right halfback and starter being yes | The relevant table was constructed using the following SQL : CREATE TABLE table_14342480_5 (points VARCHAR, position VARCHAR, starter VARCHAR) | SELECT COUNT(points) FROM table_14342480_5 WHERE position = "Right halfback" AND starter = "yes" |
Write a SQL query that answers the following question: Na,e the number of field goals for right tackle | The relevant table was constructed using the following SQL : CREATE TABLE table_14342480_5 (field_goals VARCHAR, position VARCHAR) | SELECT COUNT(field_goals) FROM table_14342480_5 WHERE position = "Right tackle" |
Write a SQL query that answers the following question: Name the most extra points for right halfback | The relevant table was constructed using the following SQL : CREATE TABLE table_14342480_5 (extra_points INTEGER, position VARCHAR) | SELECT MAX(extra_points) FROM table_14342480_5 WHERE position = "Right halfback" |
Write a SQL query that answers the following question: What positions does Tom Hammond play? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342592_3 (position VARCHAR, player VARCHAR) | SELECT position FROM table_14342592_3 WHERE player = "Tom Hammond" |
Write a SQL query that answers the following question: What positions does Hal Weeks play? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342592_3 (position VARCHAR, player VARCHAR) | SELECT position FROM table_14342592_3 WHERE player = "Hal Weeks" |
Write a SQL query that answers the following question: How many points does Clark have? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342592_3 (points VARCHAR, player VARCHAR) | SELECT points FROM table_14342592_3 WHERE player = "Clark" |
Write a SQL query that answers the following question: How many points did the player who was right guard score? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342592_7 (points VARCHAR, position VARCHAR) | SELECT COUNT(points) FROM table_14342592_7 WHERE position = "Right guard" |
Write a SQL query that answers the following question: Was there a starter when 3 touchdowns were scored? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342592_7 (starter VARCHAR, touchdowns VARCHAR) | SELECT starter FROM table_14342592_7 WHERE touchdowns = 3 |
Write a SQL query that answers the following question: How many touchdowns were there when Heston was in play? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342592_7 (touchdowns INTEGER, player VARCHAR) | SELECT MAX(touchdowns) FROM table_14342592_7 WHERE player = "Heston" |
Write a SQL query that answers the following question: How many maximum points were there when the left tackle was played and there were 5 extra points? | The relevant table was constructed using the following SQL : CREATE TABLE table_14342592_7 (points INTEGER, position VARCHAR, extra_points VARCHAR) | SELECT MAX(points) FROM table_14342592_7 WHERE position = "Left tackle" AND extra_points = 5 |
Write a SQL query that answers the following question: Who are the UK co-presenters that have Joe Swash as a co-presenter and Russell Kane as a comedian? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, comedian VARCHAR) | SELECT COUNT(uk_co_presenter) FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND comedian = "Russell Kane" |
Write a SQL query that answers the following question: What series have Caroline Flack as a main presenter? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_15 (series VARCHAR, main_presenter VARCHAR) | SELECT series FROM table_14345690_15 WHERE main_presenter = "Caroline Flack" |
Write a SQL query that answers the following question: Who is the co-presenter of the series Seven (2007)? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_15 (co_presenter VARCHAR, series VARCHAR) | SELECT co_presenter FROM table_14345690_15 WHERE series = "Seven (2007)" |
Write a SQL query that answers the following question: Who is the main presenter of the series Twelve (2012)? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_15 (main_presenter VARCHAR, series VARCHAR) | SELECT main_presenter FROM table_14345690_15 WHERE series = "Twelve (2012)" |
Write a SQL query that answers the following question: Who is the UK co-presenters that have Joe Swash as a co-presenter of the series Eleven (2011)? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_15 (uk_co_presenter VARCHAR, co_presenter VARCHAR, series VARCHAR) | SELECT uk_co_presenter FROM table_14345690_15 WHERE co_presenter = "Joe Swash" AND series = "Eleven (2011)" |
Write a SQL query that answers the following question: What position did Nell McAndrew finish? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR) | SELECT finished FROM table_14345690_2 WHERE celebrity = "Nell McAndrew" |
Write a SQL query that answers the following question: Who was the champion boxer? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_2 (celebrity VARCHAR, famous_for VARCHAR) | SELECT celebrity FROM table_14345690_2 WHERE famous_for = "Champion boxer" |
Write a SQL query that answers the following question: When did Darren Day enter? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_2 (entered VARCHAR, celebrity VARCHAR) | SELECT entered FROM table_14345690_2 WHERE celebrity = "Darren Day" |
Write a SQL query that answers the following question: What position did Tara Palmer-Tomkinson finish? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_2 (finished VARCHAR, celebrity VARCHAR) | SELECT finished FROM table_14345690_2 WHERE celebrity = "Tara Palmer-Tomkinson" |
Write a SQL query that answers the following question: When did the 4th finisher enter? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_2 (entered VARCHAR, finished VARCHAR) | SELECT entered FROM table_14345690_2 WHERE finished = "4th" |
Write a SQL query that answers the following question: How many people finished 9th? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_3 (exited VARCHAR, finished VARCHAR) | SELECT COUNT(exited) FROM table_14345690_3 WHERE finished = "9th" |
Write a SQL query that answers the following question: What was the least amount of camp mates? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_1 (camp_mates INTEGER) | SELECT MIN(camp_mates) FROM table_14345690_1 |
Write a SQL query that answers the following question: Who directed series #4 that was teleplayed by David Simon? | The relevant table was constructed using the following SQL : CREATE TABLE table_14346353_1 (directed_by VARCHAR, teleplay_by VARCHAR, series__number VARCHAR) | SELECT COUNT(directed_by) FROM table_14346353_1 WHERE teleplay_by = "David Simon" AND series__number = 4 |
Write a SQL query that answers the following question: What is the title of series #1? | The relevant table was constructed using the following SQL : CREATE TABLE table_14346353_1 (title VARCHAR, series__number VARCHAR) | SELECT title FROM table_14346353_1 WHERE series__number = 1 |
Write a SQL query that answers the following question: What is the finished place where exited is day 11? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_5 (finished VARCHAR, exited VARCHAR) | SELECT finished FROM table_14345690_5 WHERE exited = "Day 11" |
Write a SQL query that answers the following question: Who is the famous for that finished 2nd? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR) | SELECT famous_for FROM table_14345690_5 WHERE finished = "2nd" |
Write a SQL query that answers the following question: What is the famous for where the finished is 5th? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_5 (famous_for VARCHAR, finished VARCHAR) | SELECT famous_for FROM table_14345690_5 WHERE finished = "5th" |
Write a SQL query that answers the following question: What is the exited day where the celebrity is vic reeves? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_5 (exited VARCHAR, celebrity VARCHAR) | SELECT exited FROM table_14345690_5 WHERE celebrity = "Vic Reeves" |
Write a SQL query that answers the following question: what is the celebrity where the finished is 5th? | The relevant table was constructed using the following SQL : CREATE TABLE table_14345690_5 (celebrity VARCHAR, finished VARCHAR) | SELECT celebrity FROM table_14345690_5 WHERE finished = "5th" |
Write a SQL query that answers the following question: When was incumbent John Thomas Wilson first elected? | The relevant table was constructed using the following SQL : CREATE TABLE table_1434788_5 (first_elected VARCHAR, incumbent VARCHAR) | SELECT first_elected FROM table_1434788_5 WHERE incumbent = "John Thomas Wilson" |
Write a SQL query that answers the following question: Who were the candidates in the election where John Beatty was the incumbent? | The relevant table was constructed using the following SQL : CREATE TABLE table_1434788_5 (candidates VARCHAR, incumbent VARCHAR) | SELECT candidates FROM table_1434788_5 WHERE incumbent = "John Beatty" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.